Function at 0x41a0f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b163
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x44b518]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x260], esi
mov dword [ebp - 0x258], eax
call fcn.00401d00
mov eax, dword [ebp - 0x258]
xor ebx, ebx
lea ecx, [esi + 0xb8]
mov dword [esi], 0x43f8d8
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
mov word [ecx], dx
lea edx, [eax + 2]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x254], edx
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x41a166
sub eax, dword [ebp - 0x254]
sar eax, 1
push eax
mov eax, dword [ebp - 0x258]
push eax
call fcn.00401ff0
mov eax, 7
xor ecx, ecx
mov dword [esi + 0xe8], eax
mov dword [esi + 0xe4], ebx
mov word [esi + 0xd4], cx
xor edx, edx
mov dword [esi + 0x104], eax
mov dword [esi + 0x100], ebx
mov word [esi + 0xf0], dx
mov dword [esi + 0x120], eax
mov dword [esi + 0x11c], ebx
mov word [esi + 0x10c], cx
lea ecx, [esi + 0x128]
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], ebx
mov eax, edi
mov word [ecx], dx
lea edx, [eax + 2]
mov byte [ebp - 4], 4
mov dword [ebp - 0x254], edx
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x41a1e6
sub eax, dword [ebp - 0x254]
sar eax, 1
push eax
push edi
call fcn.00401ff0
xor eax, eax
mov dword [esi + 0x158], 7
mov dword [esi + 0x154], ebx
mov word [esi + 0x144], ax
mov dword [esi + 0x160], 1
mov dword [esi + 0x168], ebx
mov dword [esi + 0x170], ebx
mov cl, byte [ebp + 0x10]
push fcn.00401c10
push 0x401bc0
push 6
push 0x1c
lea edx, [esi + 0x1d0]
push edx
mov byte [ebp - 4], 7
mov dword [esi + 0x174], 0x10000
mov word [esi + 0x178], bx
mov byte [esi + 0x17a], cl
mov byte [esi + 0x17b], bl
call fcn.0042707a
push str.RgqQx6iLZjeq1k6Vw
push 0xbb
push 0x692b
mov byte [ebp - 4], 8
call fcn.00420350
push eax
push str.kernel32
call fcn.00420f80
add esp, 0x14
mov dword [ebp - 0x254], eax
xor eax, eax
push 0x44cb44
mov word [esi + 0x278], ax
call dword [0x43d1d4]
push str.RT_RCDATA
push edi
push ebx
mov dword [esi + 0x164], eax
mov dword [esi + 0x188], ebx
mov dword [esi + 0x18c], ebx
mov dword [esi + 0x180], ebx
mov dword [esi + 0x184], ebx
mov dword [esi + 0x68], 3
call dword [ebp - 0x254]
mov edi, eax
cmp edi, ebx
je 0x41a3c5
push edi
push ebx
call dword [0x43d068]
mov dword [ebp - 0x254], eax
cmp eax, ebx
je 0x41a3c5
push edi
push ebx
call dword [0x43d06c]
mov edi, eax
mov dword [ebp - 0x25c], edi
cmp edi, ebx
je 0x41a3c5
push edi
call dword [0x43d07c]
mov dword [ebp - 0x258], eax
cmp eax, ebx
je 0x41a3be
cmp dword [0x44a068], 8
mov eax, dword [0x44a054]
jae 0x41a33f
mov eax, 0x44a054
lea ecx, [ebp - 0x218]
push ecx
push ebx
push 0x43d708
push eax
call dword [0x44ce1c]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41a360
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [esi + 0x24]
call fcn.00401ff0
lea eax, [ebp - 0x218]
push 0x43d700
push eax
call fcn.004264fa
mov ecx, dword [ebp - 0x254]
mov edx, dword [ebp - 0x258]
mov edi, eax
push edi
push ecx
push 1
push edx
call fcn.004263c2
push edi
call fcn.00425c86
mov edi, dword [ebp - 0x25c]
add esp, 0x1c
mov dword [esi + 0x68], 4
push edi
call dword [0x43d0ac]
mov ecx, esi
call fcn.00419860
push 0x43e8b8
lea eax, [ebp - 0x250]
push 0x44a054
push eax
call fcn.0040f5a0
lea ecx, [esi + 0x1ec]
push ecx
push eax
lea edx, [ebp - 0x234]
push edx
mov byte [ebp - 4], 9
call fcn.00419f50
add esp, 0x18
lea edi, [esi + 0x10c]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.0040f4c0
cmp dword [ebp - 0x220], 8
jb 0x41a427
mov eax, dword [ebp - 0x234]
push eax
call fcn.0042523c
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x23c], 8
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], cx
mov byte [ebp - 4], 8
jb 0x41a45c
mov edx, dword [ebp - 0x250]
push edx
call fcn.0042523c
add esp, 4
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [esi + 0xd4]
call fcn.00401ef0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004260de
mov esp, ebp
pop ebp
ret 0xc