Function at 0x411730
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425305
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b0
mov dword [ebp - 4], 2
mov ecx, 0x462204
call fcn.0041f3c0
movzx eax, al
test eax, eax
je 0x411799
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00418dc0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00418dc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.00418dc0
mov al, byte [ebp - 0xd]
jmp 0x411d30
lea ecx, [ebp + 0x40]
call fcn.0041f360
movzx ecx, al
test ecx, ecx
je 0x4117b5
push 0x462128
lea ecx, [ebp + 0x40]
call fcn.004193c0
mov dword [ebp - 0x18], 0
jmp 0x4117c7
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov ecx, 0x462204
call fcn.00422b80
cmp dword [ebp - 0x18], eax
jae 0x411d02
lea ecx, [ebp - 0xc4]
call fcn.00418840
mov byte [ebp - 4], 3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc8], esp
push 0x462128
call fcn.00418120
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, 0x462204
call fcn.00419700
push eax
lea edx, [ebp - 0x114]
push edx
mov byte [ebp - 4], 3
call fcn.004080f0
add esp, 0x20
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0xc4]
call fcn.004192d0
lea ecx, [ebp - 0x114]
call fcn.00418dc0
xor edx, edx
mov word [ebp - 0x8c], dx
push str._get.php_id
lea ecx, [ebp - 0xac]
call fcn.00419430
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xac]
call fcn.00419970
lea ecx, [ebp + 0x40]
push ecx
push 0x427784
lea edx, [ebp - 0x12c]
push edx
call fcn.004154f0
add esp, 0xc
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0xac]
call fcn.00419970
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x12c]
call fcn.00418dc0
call fcn.0040f140
push eax
lea edx, [ebp - 0x1bc]
push edx
call fcn.00422e10
add esp, 8
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x44]
push ecx
push 0x42778c
lea edx, [ebp - 0x144]
push edx
call fcn.004154b0
add esp, 0xc
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0xac]
call fcn.00419970
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x144]
call fcn.00418dc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1bc]
call fcn.00418dc0
mov dx, word [0x461fdc]
mov word [ebp - 0x94], dx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov dword [ebp - 0x90], 0
lea ecx, [ebp - 0x88]
call fcn.0041f360
movzx eax, al
test eax, eax
jne 0x411983
lea ecx, [ebp - 0x88]
call fcn.0041ed50
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xd0], esp
lea edx, [ebp + 0x40]
push edx
call fcn.00418120
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0040e710
add esp, 0x1c
mov byte [ebp - 0xe], al
movzx ecx, byte [ebp - 0xe]
cmp ecx, 1
jne 0x411cee
movsx edx, word [ebp - 0x8c]
cmp edx, 0xc8
jne 0x411cee
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
cmp dword [ebp - 0x90], 0
je 0x411a29
lea ecx, [ebp - 0x88]
call fcn.00422b10
cmp eax, dword [ebp - 0x90]
je 0x411a29
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.00418fb0
jmp 0x4117be
mov dword [ebp - 0x28], 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 - 0x28]
jne 0x411ad3
mov edx, 1
test edx, edx
je 0x411ad3
movzx eax, byte [ebp + 0x38]
push eax
call fcn.00411720
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x411ad3
mov edx, 1
test edx, edx
je 0x411ad3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xd8], esp
lea eax, [ebp + 0x40]
push eax
call fcn.00418120
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x15c]
push edx
call fcn.004080f0
add esp, 0x20
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x88]
call fcn.004192d0
lea ecx, [ebp - 0x15c]
call fcn.00418dc0
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x28]
jne 0x411b45
mov eax, 1
test eax, eax
je 0x411b45
mov ecx, 1
test ecx, ecx
je 0x411b45
movzx edx, byte [ebp + 0x3c]
push edx
call fcn.00411720
add esp, 4
movzx eax, al
test eax, eax
je 0x411b45
lea ecx, [ebp - 0x88]
call fcn.00422b10
push eax
lea ecx, [ebp - 0x88]
call fcn.0041ec00
push eax
lea ecx, [ebp - 0x174]
push ecx
call fcn.0040d890
add esp, 0xc
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
push edx
lea ecx, [ebp - 0x88]
call fcn.004192d0
lea ecx, [ebp - 0x174]
call fcn.00418dc0
lea ecx, [ebp - 0x1d]
call fcn.004178f0
push eax
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp + 0x20]
call fcn.0041f400
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0xfc]
push edx
lea ecx, [ebp + 0x20]
call fcn.0041eb20
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00414c50
mov byte [ebp - 4], 8
movzx ecx, byte [0x461d90]
test ecx, ecx
je 0x411bf8
lea edx, [ebp - 0xf8]
push edx
push 0x427798
push 0x4620ec
lea eax, [ebp - 0x1a4]
push eax
call fcn.00415730
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x60]
push edx
lea eax, [ebp - 0x18c]
push eax
call fcn.00415650
add esp, 0xc
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
push ecx
lea ecx, [ebp - 0xf8]
call fcn.00419450
lea ecx, [ebp - 0x18c]
call fcn.00418e00
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1a4]
call fcn.00418e00
push 0x42779c
lea ecx, [ebp - 0xf8]
call fcn.0041ec40
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x411c6c
mov byte [ebp - 0xf], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xf8]
call fcn.00418e00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.00418fb0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00418dc0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00418dc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.00418dc0
mov al, byte [ebp - 0xf]
jmp 0x411d30
mov edx, dword [ebp - 0x24]
push edx
push 1
lea ecx, [ebp - 0x88]
call fcn.00422b10
push eax
lea ecx, [ebp - 0x88]
call fcn.0041ec00
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
mov eax, dword [ebp - 0x24]
push eax
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], 3
lea ecx, [ebp - 0xf8]
call fcn.00418e00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.00418fb0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00418dc0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00418dc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.00418dc0
mov al, byte [ebp - 0x10]
jmp 0x411d30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.00418fb0
jmp 0x4117be
mov byte [ebp - 0x11], 0
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00418dc0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
call fcn.00418dc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.00418dc0
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret