Function at 0x43d900
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5489f8
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x518
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004049c0
test eax, eax
jle 0x43e219
lea ecx, [ebp + 0xc]
call fcn.004049c0
test eax, eax
jle 0x43e219
push 0
push 0
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x28]
call fcn.004a4d46
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x34]
call fcn.0040db30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.0040db30
mov byte [ebp - 4], 4
mov dword [ebp - 0x44], 0x3e8
push 0
push 0x3e8
push 2
lea ecx, [ebp - 0x28]
call fcn.0043e260
push 0
push 2
push 3
lea ecx, [ebp - 0x28]
call fcn.0043e260
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 8]
call fcn.004049e0
push eax
call fcn.004a5300
push 0
push 0
movzx eax, word [ebp - 0x40]
push eax
lea ecx, [ebp - 0x34]
call fcn.004049e0
push eax
lea ecx, [ebp - 0x28]
call fcn.004a5745
mov dword [ebp - 0x524], eax
mov ecx, dword [ebp - 0x524]
mov dword [ebp - 0x2c], ecx
push 0xa0000000
push 0
push 0
push 1
push 0
lea ecx, [ebp - 0x38]
call fcn.004049e0
push eax
push 1
mov ecx, dword [ebp - 0x2c]
call fcn.004a57fc
mov dword [ebp - 0x524], eax
mov eax, dword [ebp - 0x524]
mov dword [ebp - 0x30], eax
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x30]
call fcn.004a52d1
mov dword [ebp - 0x524], eax
cmp dword [ebp - 0x524], 0
jne 0x43db76
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0x4c]
call eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
lea ecx, [ebp - 0x28]
call fcn.004a5390
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x51c], eax
mov ecx, dword [ebp - 0x51c]
mov dword [ebp - 0x520], ecx
cmp dword [ebp - 0x520], 0
je 0x43daca
push 1
mov edx, dword [ebp - 0x520]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x520]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x524], eax
mov eax, dword [ebp - 0x524]
mov dword [ebp - 0x528], eax
jmp 0x43dad4
mov dword [ebp - 0x528], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x514], eax
mov ecx, dword [ebp - 0x514]
mov dword [ebp - 0x518], ecx
cmp dword [ebp - 0x518], 0
je 0x43db1b
push 1
mov edx, dword [ebp - 0x518]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x518]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x524], eax
mov eax, dword [ebp - 0x524]
mov dword [ebp - 0x528], eax
jmp 0x43db25
mov dword [ebp - 0x528], 0
mov byte [ebp - 0x50d], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00404940
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00404940
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004a5426
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00404940
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00404940
mov al, byte [ebp - 0x50d]
jmp 0x43e241
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.004a4882
cmp dword [ebp - 0x4c], 0xc8
jne 0x43df47
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea ecx, [ebp + 0xc]
call fcn.004049e0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xffffffff
jne 0x43dcd2
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0x4c]
call eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
lea ecx, [ebp - 0x28]
call fcn.004a5390
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x508], eax
mov ecx, dword [ebp - 0x508]
mov dword [ebp - 0x50c], ecx
cmp dword [ebp - 0x50c], 0
je 0x43dc26
push 1
mov edx, dword [ebp - 0x50c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x50c]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x524], eax
mov eax, dword [ebp - 0x524]
mov dword [ebp - 0x528], eax
jmp 0x43dc30
mov dword [ebp - 0x528], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x500], eax
mov ecx, dword [ebp - 0x500]
mov dword [ebp - 0x504], ecx
cmp dword [ebp - 0x504], 0
je 0x43dc77
push 1
mov edx, dword [ebp - 0x504]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x504]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x524], eax
mov eax, dword [ebp - 0x524]
mov dword [ebp - 0x528], eax
jmp 0x43dc81
mov dword [ebp - 0x528], 0
mov byte [ebp - 0x4f9], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00404940
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00404940
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004a5426
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00404940
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00404940
mov al, byte [ebp - 0x4f9]
jmp 0x43e241
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x458], 0x400
mov dword [ebp - 0x45c], 0
push 0
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x450]
push ecx
push 5
mov ecx, dword [ebp - 0x30]
call fcn.004a4864
mov dword [ebp - 0x524], eax
mov edx, dword [ebp - 0x524]
mov dword [ebp - 0x45c], edx
lea eax, [ebp - 0x450]
push eax
call fcn.004ba9ae
add esp, 4
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x460], 0x2800
push 0x2800
call fcn.00493cbe
add esp, 4
mov dword [ebp - 0x524], eax
mov eax, dword [ebp - 0x524]
mov dword [ebp - 0x4f8], eax
mov ecx, dword [ebp - 0x4f8]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x468], 0
mov eax, dword [ebp - 0x468]
mov dword [ebp - 0x464], eax
push 0x2800
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0x34]
call eax
mov dword [ebp - 0x524], eax
mov ecx, dword [ebp - 0x524]
mov dword [ebp - 0x46c], ecx
cmp dword [ebp - 0x46c], 0
jbe 0x43de04
push 0
lea eax, [ebp - 0x464]
push eax
mov ecx, dword [ebp - 0x46c]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x468]
add eax, dword [ebp - 0x464]
mov dword [ebp - 0x468], eax
push 0x2800
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0x34]
call eax
mov dword [ebp - 0x524], eax
mov ecx, dword [ebp - 0x524]
mov dword [ebp - 0x46c], ecx
jmp 0x43dda1
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4f4], eax
mov ecx, dword [ebp - 0x4f4]
push ecx
call fcn.00493cc9
add esp, 4
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0x4c]
call eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
lea ecx, [ebp - 0x28]
call fcn.004a5390
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x4ec], eax
mov ecx, dword [ebp - 0x4ec]
mov dword [ebp - 0x4f0], ecx
cmp dword [ebp - 0x4f0], 0
je 0x43de96
push 1
mov edx, dword [ebp - 0x4f0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4f0]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x524], eax
mov eax, dword [ebp - 0x524]
mov dword [ebp - 0x528], eax
jmp 0x43dea0
mov dword [ebp - 0x528], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4e4], eax
mov ecx, dword [ebp - 0x4e4]
mov dword [ebp - 0x4e8], ecx
cmp dword [ebp - 0x4e8], 0
je 0x43dee7
push 1
mov edx, dword [ebp - 0x4e8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4e8]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x524], eax
mov eax, dword [ebp - 0x524]
mov dword [ebp - 0x528], eax
jmp 0x43def1
mov dword [ebp - 0x528], 0
mov byte [ebp - 0x4dd], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00404940
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00404940
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004a5426
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00404940
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00404940
mov al, byte [ebp - 0x4dd]
jmp 0x43e241
cmp dword [ebp - 0x48], 0
je 0x43df6c
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4dc], eax
mov ecx, dword [ebp - 0x4dc]
push ecx
call fcn.00493cc9
add esp, 4
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x30], 0
je 0x43dfd7
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0x4c]
call eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x4d4], eax
mov ecx, dword [ebp - 0x4d4]
mov dword [ebp - 0x4d8], ecx
cmp dword [ebp - 0x4d8], 0
je 0x43dfc6
push 1
mov edx, dword [ebp - 0x4d8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4d8]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x524], eax
mov eax, dword [ebp - 0x524]
mov dword [ebp - 0x528], eax
jmp 0x43dfd0
mov dword [ebp - 0x528], 0
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x2c], 0
je 0x43e042
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4cc], eax
mov ecx, dword [ebp - 0x4cc]
mov dword [ebp - 0x4d0], ecx
cmp dword [ebp - 0x4d0], 0
je 0x43e031
push 1
mov edx, dword [ebp - 0x4d0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4d0]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x524], eax
mov eax, dword [ebp - 0x524]
mov dword [ebp - 0x528], eax
jmp 0x43e03b
mov dword [ebp - 0x528], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x28]
call fcn.004a5390
mov byte [ebp - 0x4c5], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00404940
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00404940
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004a5426
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00404940
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00404940
mov al, byte [ebp - 0x4c5]
jmp 0x43e241
mov byte [ebp - 0x4ad], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00404940
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00404940
mov al, byte [ebp - 0x4ad]
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
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret