Function at 0x41a590
Capabilities:
Write file on windows

Disassembly:
push ebp
jmp 0x41a76e
cmp eax, dword [ebp - 0x22c]
je 0x41a625
lea ecx, [ebp - 0x230]
push 0x401968
push ecx
je 0x41a63a
jne 0x41a63a
cmp eax, dword [0x43a708]
mov byte [ebp - 4], 4
mov dword [0x112b0ec4], eax
push 0x9bda78
push 0xb10ed0
adc eax, 0xe85074e8
inc ecx
add word [eax], ax
push eax
call 0x430b3c
mov ecx, dword [ebp - 0x220]
xor ebx, ebx
cmp esi, eax
je 0x41a619
jne 0x41a619
mov dword [0x111d4bfc], eax
cmp edi, dword [0x419960]
inc ecx
or byte [ebx + 0x44], 0x56
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
je 0x41a67f
jne 0x41a67f
push 0x10070578
add eax, 0xffff5400
mov dword [0x1153b274], eax
aas
jae 0x41a55b
call fcn.00430ede
mov edx, dword [ebp - 0x220]
push edx
call fcn.00430d2b
mov eax, dword [ebp - 0x220]
mov esi, dword [ebp - 0x22c]
sub esi, dword [ebp - 0x230]
jmp 0x41a4f5
mov eax, dword [0x46d610]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
jmp 0x41a520
push eax
sub esp, 0x224
jmp 0x41a590
push ecx
sete bl
call fcn.00430934
add esp, 0x1c
mov eax, dword [ebp - 0x230]
cmp eax, edi
jmp 0x41a6c3
call fcn.0040f130
add esp, 8
push 0x401958
push 0x401940
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x41a625
push 0x41a830
ret
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
xor ebx, ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], edi
je 0x41a8e2
jne 0x41a8e2
push 0x87ab50
jmp dword [edx*4 + 0x4aac5c]
je 0x41a874
push eax
push 0x41a851
ret
call fcn.0040ea90
jmp 0x41a7a9
mov ebp, esp
push 0xffffffffffffffff
push 0x43c1fb
mov eax, dword fs:[0]
je 0x41a5fe
jne 0x41a5fe
mov eax, 0xf36628
mov word [0x10032a04], cs
mov eax, 0x1146e478
mov dword [esi + 0x10], 0x111ac1f0
mov dword [0x56bce0], edx
outsd dx, dword [esi]
cmp eax, dword [ebx - 0x38c4f33c]
add esp, 0xc
cmp eax, edi
je 0x41a625
mov eax, dword [ebp - 0x230]
je 0x41a4b5
jne 0x41a4b5
and ecx, 0xff00ffff
mov edi, 0x193868be
inc eax
add byte [ebp - 0x21f6b], cl
call dword [esi + 0x52]
mov dword [ebp - 0x220], edi
call fcn.00431016
add esp, 0xc
test eax, eax
jne 0x41a625
mov eax, dword [ebp - 0x220]
cmp eax, edi
je 0x41a625
mov ecx, dword [ebp - 0x22c]
push eax
mov eax, dword [ebp - 0x230]
sub ecx, eax
push ecx
push 1
push eax
jmp 0x41a54a
mov ebx, dword [ebp - 0x220]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
je 0x41a955
jne 0x41a955
mov dword [0x1004a1b4], eax
mov eax, dword [esi + 0x18ac]
mov ecx, dword [0x1152ace0]
mov eax, 0xf903ac
mov dword [ebp - 0x2c], 0x100fe973
ror byte [si - 0x5e], cl
adc byte [eax - 0x3a], 0x45
cld
add dword [edi], ecx
test byte [ebx + 0xffffffe], cl
test dword [ebp - 0x5c000002], eax
adc al, 0xdf
sbb eax, 0xd840b811
or dl, byte [eax]
push eax
mov byte [ebp - 4], 1
je 0x41a74d
jne 0x41a74d
mov dword [0x111ddf14], eax
mov eax, 0x100ad840
push 0x1146d3a8
mov dword [0x100ce658], eax
push 0x4ec13c
jns 0x41a86e
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x230]
push ecx
push edx
push ebp
adc byte [ebp - 0x22f73], cl
call dword [ecx + 0x52]
jmp 0x41a8b7
call fcn.0042f411
mov esp, ebp
push 0x41a585
ret