Function at 0x408e30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4192f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
mov dword [ebp - 4], 2
mov ecx, 0x41e39c
call fcn.00414390
movzx eax, al
test eax, eax
je 0x408e99
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.0040fa10
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.0040fa10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x44]
call fcn.0040fa10
mov al, byte [ebp - 0xd]
jmp 0x40939d
lea ecx, [ebp + 0x44]
call fcn.00414330
movzx ecx, al
cmp ecx, 1
jne 0x408eb6
push 0x41e384
lea ecx, [ebp + 0x44]
call fcn.0040ff60
mov dword [ebp - 0x18], 0
jmp 0x408ec8
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov ecx, 0x41e39c
call fcn.004175c0
cmp dword [ebp - 0x18], eax
jae 0x40936f
lea ecx, [ebp - 0xb4]
call fcn.0040f700
mov byte [ebp - 4], 3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb8], esp
push 0x41e384
call fcn.0040f0c0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, 0x41e39c
call fcn.00410220
push eax
lea edx, [ebp - 0xe4]
push edx
mov byte [ebp - 4], 3
call fcn.00407a00
add esp, 0x20
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0xb4]
call fcn.0040fe70
lea ecx, [ebp - 0xe4]
call fcn.0040fa10
push ecx
mov ecx, 0xeaa6935
xor ecx, esp
mov ecx, 0x64c106ee
pop ecx
push ebp
mov ebp, 0x285d017c
sub ebp, ecx
mov ebp, 0x61da7f78
pop ebp
xor edx, edx
mov word [ebp - 0x7c], dx
push 0x41a568
lea ecx, [ebp - 0x9c]
call fcn.0040ffd0
push edx
mov edx, 0x2770ede
and edx, esp
sub edx, esp
or edx, esi
nop
pop edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00410450
push ebx
and ebx, eax
sbb ebx, ecx
mov ebx, 0x224b3ccf
or ebx, edi
nop
pop ebx
lea ecx, [ebp + 0x44]
push ecx
push 0x41a580
lea edx, [ebp - 0xfc]
push edx
call fcn.0040ca20
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.00410450
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xfc]
call fcn.0040fa10
push ecx
sbb ecx, edx
add ecx, eax
mov ecx, 0x1052db2
xor ecx, ecx
nop
pop ecx
mov edx, dword [ebp + 0x38]
push edx
lea eax, [ebp - 0x12c]
push eax
call fcn.004177a0
add esp, 8
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x40]
push edx
push 0x41a588
lea eax, [ebp - 0x114]
push eax
call fcn.0040c9e0
add esp, 0xc
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x48]
push edx
lea ecx, [ebp - 0x9c]
call fcn.00410450
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x114]
call fcn.0040fa10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x12c]
call fcn.0040fa10
push ebp
xor ebp, ecx
mov ebp, 0x2e290979
add ebp, esp
xor ebp, edx
nop
pop ebp
push edi
mov edi, 0x3f254125
add edi, edx
and edi, ecx
sbb edi, esp
nop
pop edi
mov ax, word [0x41e2d0]
mov word [ebp - 0x84], ax
push ecx
mov ecx, 0x50f841c4
or ecx, ecx
sub ecx, edi
sub ecx, edx
nop
pop ecx
mov dword [ebp - 0x80], 0
push edi
or edi, ebp
mov edi, 0x1dc44a59
xor edi, edi
xor edi, eax
nop
pop edi
lea ecx, [ebp - 0x78]
call fcn.00414330
movzx ecx, al
test ecx, ecx
jne 0x4090e5
lea ecx, [ebp - 0x78]
call fcn.00414050
push ecx
and ecx, ebx
mov ecx, 0x50c6675e
or ecx, esi
sbb ecx, edi
nop
pop ecx
push edi
or edi, ecx
add edi, ebx
mov edi, 0x276d2e36
or edi, edi
nop
pop edi
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc0], esp
lea edx, [ebp + 0x44]
push edx
call fcn.0040f0c0
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xb4]
push eax
call fcn.00408040
add esp, 0x1c
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
cmp ecx, 1
jne 0x40935b
movsx edx, word [ebp - 0x7c]
cmp edx, 0xc8
jne 0x40935b
push esi
mov esi, 0x2ca0b56
add esi, esi
add esi, edi
xor esi, ebp
nop
pop esi
cmp dword [ebp - 0x80], 0
je 0x40917f
lea ecx, [ebp - 0x78]
call fcn.00417520
cmp eax, dword [ebp - 0x80]
je 0x40917f
push esi
mov esi, 0x1cbb48eb
mov esi, 0x38987a16
xor esi, esi
pop esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb4]
call fcn.0040fc40
jmp 0x408ebf
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x24]
jne 0x409223
mov edx, 1
test edx, edx
je 0x409223
movzx eax, byte [ebp + 0x3c]
push eax
call fcn.00408e20
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x409223
mov edx, 1
test edx, edx
je 0x409223
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc8], esp
lea eax, [ebp + 0x44]
push eax
call fcn.0040f0c0
mov dword [ebp - 0xcc], eax
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x144]
push edx
call fcn.00407a00
add esp, 0x20
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x78]
call fcn.0040fe70
lea ecx, [ebp - 0x144]
call fcn.0040fa10
push eax
mov eax, 0x5f270c76
mov eax, 0x62a00361
sub eax, esi
pop eax
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x24]
jne 0x40928c
mov eax, 1
test eax, eax
je 0x40928c
mov ecx, 1
test ecx, ecx
je 0x40928c
movzx edx, byte [ebp + 0x40]
push edx
call fcn.00408e20
add esp, 4
movzx eax, al
test eax, eax
je 0x40928c
lea ecx, [ebp - 0x78]
call fcn.00417520
push eax
lea ecx, [ebp - 0x78]
call fcn.00413ef0
push eax
lea ecx, [ebp - 0x15c]
push ecx
call fcn.004073c0
add esp, 0xc
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
push edx
lea ecx, [ebp - 0x78]
call fcn.0040fe70
lea ecx, [ebp - 0x15c]
call fcn.0040fa10
push 0x41a5a4
lea ecx, [ebp + 0x20]
call fcn.00413ef0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4092ee
mov byte [ebp - 0xf], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb4]
call fcn.0040fc40
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.0040fa10
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.0040fa10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x44]
call fcn.0040fa10
mov al, byte [ebp - 0xf]
jmp 0x40939d
mov eax, dword [ebp - 0x20]
push eax
push 1
lea ecx, [ebp - 0x78]
call fcn.00417520
push eax
lea ecx, [ebp - 0x78]
call fcn.00413ef0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov byte [ebp - 0x10], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb4]
call fcn.0040fc40
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.0040fa10
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.0040fa10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x44]
call fcn.0040fa10
mov al, byte [ebp - 0x10]
jmp 0x40939d
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb4]
call fcn.0040fc40
jmp 0x408ebf
mov byte [ebp - 0x11], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.0040fa10
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.0040fa10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x44]
call fcn.0040fa10
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret