Function at 0x43e740
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e2c20
mov eax, dword fs:[0]
push eax
sub esp, 0x598
mov eax, dword [0x65b4e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4fc], ecx
push 1
push 2
lea ecx, [ebp - 0x12c]
call fcn.0040b160
mov dword [ebp - 4], 0
push 0x623284
lea eax, [ebp - 0x12c]
push eax
call fcn.00409c80
add esp, 8
lea ecx, [ebp - 0x330]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.00409610
mov dword [ebp - 0x500], eax
mov edx, dword [ebp - 0x500]
mov dword [ebp - 0x504], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x504]
call fcn.0040bf30
push eax
push 0x623290
push 6
push 0x6232b0
push 0x15
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x330]
call fcn.0040c050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00409ef0
push 1
push 2
lea ecx, [ebp - 0xac]
call fcn.0040b160
mov dword [ebp - 4], 2
push 0x6232c8
lea ecx, [ebp - 0x2c]
call fcn.0040bf50
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004fb4b0
test eax, eax
je 0x43f01d
push 0
lea ecx, [ebp - 0x2c]
call fcn.00407670
movsx ecx, byte [eax]
cmp ecx, 0x5c
je 0x43e8f7
push 1
lea ecx, [ebp - 0x2c]
call fcn.00407670
movsx edx, byte [eax]
cmp edx, 0x3a
je 0x43e8f7
lea eax, [ebp - 0x34c]
push eax
call fcn.00404950
mov ecx, eax
call fcn.004092f0
mov dword [ebp - 0x508], eax
mov ecx, dword [ebp - 0x508]
mov dword [ebp - 0x50c], ecx
mov byte [ebp - 4], 4
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x50c]
push eax
lea ecx, [ebp - 0x368]
push ecx
call fcn.0041e4f0
add esp, 0xc
mov dword [ebp - 0x510], eax
mov edx, dword [ebp - 0x510]
mov dword [ebp - 0x514], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x514]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040c030
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x368]
call fcn.0040c050
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34c]
call fcn.0040c050
lea ecx, [ebp - 0x154]
call fcn.0040c000
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x384]
push ecx
call fcn.00404950
mov ecx, eax
call fcn.004092f0
mov dword [ebp - 0x518], eax
mov edx, dword [ebp - 0x518]
mov dword [ebp - 0x51c], edx
mov byte [ebp - 4], 7
push 0x6232d4
mov eax, dword [ebp - 0x51c]
push eax
lea ecx, [ebp - 0x3a0]
push ecx
call fcn.00404a40
add esp, 0xc
mov dword [ebp - 0x520], eax
mov edx, dword [ebp - 0x520]
mov dword [ebp - 0x524], edx
mov byte [ebp - 4], 8
push 0x6232d0
mov eax, dword [ebp - 0x524]
push eax
lea ecx, [ebp - 0x3bc]
push ecx
call fcn.00404a40
add esp, 0xc
mov dword [ebp - 0x528], eax
mov edx, dword [ebp - 0x528]
mov dword [ebp - 0x52c], edx
mov byte [ebp - 4], 9
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x52c]
push ecx
lea edx, [ebp - 0x3d8]
push edx
call fcn.0041e4f0
add esp, 0xc
mov dword [ebp - 0x530], eax
mov eax, dword [ebp - 0x530]
mov dword [ebp - 0x534], eax
mov byte [ebp - 4], 0xa
push 0x6232cc
mov ecx, dword [ebp - 0x534]
push ecx
lea edx, [ebp - 0x3f4]
push edx
call fcn.00404a40
add esp, 0xc
mov dword [ebp - 0x538], eax
mov eax, dword [ebp - 0x538]
mov dword [ebp - 0x53c], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x53c]
push ecx
lea ecx, [ebp - 0x154]
call fcn.0040c030
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x3f4]
call fcn.0040c050
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3d8]
call fcn.0040c050
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3bc]
call fcn.0040c050
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3a0]
call fcn.0040c050
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x384]
call fcn.0040c050
push 0
lea ecx, [ebp - 0x138]
call fcn.0041baa0
push 0x20
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x154]
call fcn.0040bf30
push eax
lea edx, [ebp - 0x130]
push edx
lea ecx, [ebp - 0x138]
call fcn.00501800
test eax, eax
jne 0x43eec6
cmp dword [ebp - 0x130], 0
jne 0x43ed0d
mov dword [ebp - 0x194], 0x6232e8
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0x540], eax
mov ecx, dword [ebp - 0x540]
add ecx, 1
mov dword [ebp - 0x544], ecx
mov edx, dword [ebp - 0x540]
mov al, byte [edx]
mov byte [ebp - 0x545], al
add dword [ebp - 0x540], 1
cmp byte [ebp - 0x545], 0
jne 0x43eaba
mov ecx, dword [ebp - 0x540]
sub ecx, dword [ebp - 0x544]
mov dword [ebp - 0x54c], ecx
mov edx, dword [ebp - 0x54c]
push edx
mov eax, dword [ebp - 0x194]
push eax
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx]
call eax
lea ecx, [ebp - 0x170]
call fcn.0040c000
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x170]
push ecx
push 0x6232f0
call fcn.00404950
mov ecx, eax
call fcn.0040cf60
push 0x62331c
lea edx, [ebp - 0x170]
push edx
lea eax, [ebp - 0x410]
push eax
call fcn.00404a40
add esp, 0xc
mov dword [ebp - 0x550], eax
mov ecx, dword [ebp - 0x550]
mov dword [ebp - 0x554], ecx
mov byte [ebp - 4], 0xd
push 0x623318
mov edx, dword [ebp - 0x554]
push edx
lea eax, [ebp - 0x42c]
push eax
call fcn.00404a40
add esp, 0xc
mov dword [ebp - 0x558], eax
mov ecx, dword [ebp - 0x558]
mov dword [ebp - 0x55c], ecx
mov byte [ebp - 4], 0xe
push 0x623308
mov edx, dword [ebp - 0x55c]
push edx
lea eax, [ebp - 0x18c]
push eax
call fcn.00404a40
add esp, 0xc
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x42c]
call fcn.0040c050
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x410]
call fcn.0040c050
push 0x623320
lea ecx, [ebp - 0x18c]
call fcn.0040bf30
push eax
call fcn.005b0ac9
add esp, 8
mov dword [ebp - 0x190], eax
cmp dword [ebp - 0x190], 0
je 0x43ecea
lea ecx, [ebp - 0x448]
push ecx
call fcn.004fffc0
add esp, 4
mov dword [ebp - 0x560], eax
mov edx, dword [ebp - 0x560]
mov dword [ebp - 0x564], edx
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x564]
call fcn.0040bf30
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x623324
push 0x80
lea eax, [ebp - 0x214]
push eax
call fcn.005b0ba7
add esp, 0x14
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x448]
call fcn.0040c050
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x568], ecx
mov edx, dword [ebp - 0x568]
add edx, 1
mov dword [ebp - 0x56c], edx
mov eax, dword [ebp - 0x568]
mov cl, byte [eax]
mov byte [ebp - 0x56d], cl
add dword [ebp - 0x568], 1
cmp byte [ebp - 0x56d], 0
jne 0x43ec6f
mov edx, dword [ebp - 0x568]
sub edx, dword [ebp - 0x56c]
mov dword [ebp - 0x574], edx
mov eax, dword [ebp - 0x190]
push eax
push 1
mov ecx, dword [ebp - 0x574]
push ecx
lea edx, [ebp - 0x214]
push edx
call fcn.005b0d41
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.0040bf30
push eax
push 0x62333c
mov eax, dword [ebp - 0x190]
push eax
call fcn.005b0dc3
add esp, 0xc
mov ecx, dword [ebp - 0x190]
push ecx
call fcn.005b0f84
add esp, 4
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x18c]
call fcn.0040c050
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x170]
call fcn.0040c050
jmp 0x43ee7f
mov edx, dword [ebp - 0x130]
push edx
push 0x62334c
lea eax, [ebp - 0xac]
push eax
call fcn.00409c80
add esp, 8
mov ecx, eax
call fcn.004024e0
push 1
push 2
lea ecx, [ebp - 0x294]
call fcn.0040b160
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x130]
push ecx
push 0x623354
lea edx, [ebp - 0x2c]
push edx
push 0x62335c
lea eax, [ebp - 0x294]
push eax
call fcn.00409c80
add esp, 8
push eax
call fcn.00409360
add esp, 8
push eax
call fcn.00409c80
add esp, 8
mov ecx, eax
call fcn.004024e0
lea ecx, [ebp - 0x464]
push ecx
lea ecx, [ebp - 0x294]
call fcn.00409610
mov dword [ebp - 0x578], eax
mov edx, dword [ebp - 0x578]
mov dword [ebp - 0x57c], edx
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x57c]
call fcn.0040bf30
push eax
push 0x623368
push 0x37
push 0x623388
push 0x15
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x464]
call fcn.0040c050
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x294]
call fcn.00409ef0
lea eax, [ebp - 0x480]
push eax
lea ecx, [ebp - 0xac]
call fcn.00409610
mov dword [ebp - 0x580], eax
mov ecx, dword [ebp - 0x580]
mov dword [ebp - 0x584], ecx
mov byte [ebp - 4], 0x15
lea edx, [ebp - 0x49c]
push edx
lea ecx, [ebp - 0xac]
call fcn.00409610
mov dword [ebp - 0x588], eax
mov eax, dword [ebp - 0x588]
mov dword [ebp - 0x58c], eax
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x584]
call fcn.004068e0
push eax
mov ecx, dword [ebp - 0x58c]
call fcn.0040bf30
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
mov eax, dword [edx]
call eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x49c]
call fcn.0040c050
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x480]
call fcn.0040c050
mov dword [ebp - 0x4a0], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x154]
call fcn.0040c050
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0040c050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00409ef0
mov eax, dword [ebp - 0x4a0]
jmp 0x43f04b
push 0x6233a0
lea ecx, [ebp - 0xac]
push ecx
call fcn.00409c80
add esp, 8
push 1
push 2
lea ecx, [ebp - 0x314]
call fcn.0040b160
mov byte [ebp - 4], 0x17
call sub.WS2_32.dll_WSAGetLastError
push eax
push str.CreateNewProcessAndWait
lea edx, [ebp - 0x314]
push edx
call fcn.00409c80
add esp, 8
mov ecx, eax
call fcn.0041c060
lea eax, [ebp - 0x4bc]
push eax
lea ecx, [ebp - 0x314]
call fcn.00409610
mov dword [ebp - 0x590], eax
mov ecx, dword [ebp - 0x590]
mov dword [ebp - 0x594], ecx
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x594]
call fcn.0040bf30
push eax
push str.CP2PDestroyFile::HandleInpute
push 0x3f
push 0x6233f0
push 0x15
call fcn.00409980
mov ecx, eax
call fcn.004fa910
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x4bc]
call fcn.0040c050
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x314]
call fcn.00409ef0
lea edx, [ebp - 0x4d8]
push edx
lea ecx, [ebp - 0xac]
call fcn.00409610
mov dword [ebp - 0x598], eax
mov eax, dword [ebp - 0x598]
mov dword [ebp - 0x59c], eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x4f4]
push ecx
lea ecx, [ebp - 0xac]
call fcn.00409610
mov dword [ebp - 0x5a0], eax
mov edx, dword [ebp - 0x5a0]
mov dword [ebp - 0x5a4], edx
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x59c]
call fcn.004068e0
push eax
mov ecx, dword [ebp - 0x5a4]
call fcn.0040bf30
push eax
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx]
call eax
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x4f4]
call fcn.0040c050
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4d8]
call fcn.0040c050
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x154]
call fcn.0040c050
mov dword [ebp - 0x4f8], 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0040c050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00409ef0
mov eax, dword [ebp - 0x4f8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b0968
mov esp, ebp
pop ebp
ret 8