Function at 0x43f7a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e3c40
mov eax, dword fs:[0]
push eax
sub esp, 0x598
mov eax, dword [0x65d4e4]
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.0040b040
mov dword [ebp - 4], 0
push 0x6243e4
lea eax, [ebp - 0x12c]
push eax
call fcn.00409b60
add esp, 8
lea ecx, [ebp - 0x330]
push ecx
lea ecx, [ebp - 0x12c]
call fcn.004094f0
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.0040be10
push eax
push 0x6243f0
push 6
push 0x624410
push 0x15
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x330]
call fcn.0040bf30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x12c]
call fcn.00409dd0
push 1
push 2
lea ecx, [ebp - 0xac]
call fcn.0040b040
mov dword [ebp - 4], 2
push 0x624428
lea ecx, [ebp - 0x2c]
call fcn.0040be30
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004fc4d0
test eax, eax
je 0x44007d
push 0
lea ecx, [ebp - 0x2c]
call fcn.00407400
movsx ecx, byte [eax]
cmp ecx, 0x5c
je 0x43f957
push 1
lea ecx, [ebp - 0x2c]
call fcn.00407400
movsx edx, byte [eax]
cmp edx, 0x3a
je 0x43f957
lea eax, [ebp - 0x34c]
push eax
call fcn.00404970
mov ecx, eax
call fcn.004091d0
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.0041f020
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.0040bf10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x368]
call fcn.0040bf30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34c]
call fcn.0040bf30
lea ecx, [ebp - 0x154]
call fcn.0040bee0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x384]
push ecx
call fcn.00404970
mov ecx, eax
call fcn.004091d0
mov dword [ebp - 0x518], eax
mov edx, dword [ebp - 0x518]
mov dword [ebp - 0x51c], edx
mov byte [ebp - 4], 7
push 0x624434
mov eax, dword [ebp - 0x51c]
push eax
lea ecx, [ebp - 0x3a0]
push ecx
call fcn.00404a60
add esp, 0xc
mov dword [ebp - 0x520], eax
mov edx, dword [ebp - 0x520]
mov dword [ebp - 0x524], edx
mov byte [ebp - 4], 8
push 0x624430
mov eax, dword [ebp - 0x524]
push eax
lea ecx, [ebp - 0x3bc]
push ecx
call fcn.00404a60
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.0041f020
add esp, 0xc
mov dword [ebp - 0x530], eax
mov eax, dword [ebp - 0x530]
mov dword [ebp - 0x534], eax
mov byte [ebp - 4], 0xa
push 0x62442c
mov ecx, dword [ebp - 0x534]
push ecx
lea edx, [ebp - 0x3f4]
push edx
call fcn.00404a60
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.0040bf10
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x3f4]
call fcn.0040bf30
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x3d8]
call fcn.0040bf30
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x3bc]
call fcn.0040bf30
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3a0]
call fcn.0040bf30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x384]
call fcn.0040bf30
push 0
lea ecx, [ebp - 0x138]
call fcn.0041c490
push 0x20
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x154]
call fcn.0040be10
push eax
lea edx, [ebp - 0x130]
push edx
lea ecx, [ebp - 0x138]
call fcn.00502820
test eax, eax
jne 0x43ff26
cmp dword [ebp - 0x130], 0
jne 0x43fd6d
mov dword [ebp - 0x194], 0x624448
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 0x43fb1a
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.0040bee0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x170]
push ecx
push 0x624450
call fcn.00404970
mov ecx, eax
call fcn.0040ce30
push 0x62447c
lea edx, [ebp - 0x170]
push edx
lea eax, [ebp - 0x410]
push eax
call fcn.00404a60
add esp, 0xc
mov dword [ebp - 0x550], eax
mov ecx, dword [ebp - 0x550]
mov dword [ebp - 0x554], ecx
mov byte [ebp - 4], 0xd
push 0x624478
mov edx, dword [ebp - 0x554]
push edx
lea eax, [ebp - 0x42c]
push eax
call fcn.00404a60
add esp, 0xc
mov dword [ebp - 0x558], eax
mov ecx, dword [ebp - 0x558]
mov dword [ebp - 0x55c], ecx
mov byte [ebp - 4], 0xe
push 0x624468
mov edx, dword [ebp - 0x55c]
push edx
lea eax, [ebp - 0x18c]
push eax
call fcn.00404a60
add esp, 0xc
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x42c]
call fcn.0040bf30
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x410]
call fcn.0040bf30
push 0x624480
lea ecx, [ebp - 0x18c]
call fcn.0040be10
push eax
call fcn.005b1ae9
add esp, 8
mov dword [ebp - 0x190], eax
cmp dword [ebp - 0x190], 0
je 0x43fd4a
lea ecx, [ebp - 0x448]
push ecx
call fcn.00500fe0
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.0040be10
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x624484
push 0x80
lea eax, [ebp - 0x214]
push eax
call fcn.005b1bc7
add esp, 0x14
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x448]
call fcn.0040bf30
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 0x43fccf
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.005b1d61
add esp, 0x10
lea ecx, [ebp - 0x2c]
call fcn.0040be10
push eax
push 0x62449c
mov eax, dword [ebp - 0x190]
push eax
call fcn.005b1de3
add esp, 0xc
mov ecx, dword [ebp - 0x190]
push ecx
call fcn.005b1fa4
add esp, 4
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x18c]
call fcn.0040bf30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x170]
call fcn.0040bf30
jmp 0x43fedf
mov edx, dword [ebp - 0x130]
push edx
push 0x6244ac
lea eax, [ebp - 0xac]
push eax
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.004024e0
push 1
push 2
lea ecx, [ebp - 0x294]
call fcn.0040b040
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x130]
push ecx
push 0x6244b4
lea edx, [ebp - 0x2c]
push edx
push 0x6244bc
lea eax, [ebp - 0x294]
push eax
call fcn.00409b60
add esp, 8
push eax
call fcn.00409240
add esp, 8
push eax
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.004024e0
lea ecx, [ebp - 0x464]
push ecx
lea ecx, [ebp - 0x294]
call fcn.004094f0
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.0040be10
push eax
push 0x6244c8
push 0x37
push 0x6244e8
push 0x15
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x464]
call fcn.0040bf30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x294]
call fcn.00409dd0
lea eax, [ebp - 0x480]
push eax
lea ecx, [ebp - 0xac]
call fcn.004094f0
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.004094f0
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.0041ec70
push eax
mov ecx, dword [ebp - 0x58c]
call fcn.0040be10
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.0040bf30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x480]
call fcn.0040bf30
mov dword [ebp - 0x4a0], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x154]
call fcn.0040bf30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0040bf30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00409dd0
mov eax, dword [ebp - 0x4a0]
jmp 0x4400ab
push 0x624500
lea ecx, [ebp - 0xac]
push ecx
call fcn.00409b60
add esp, 8
push 1
push 2
lea ecx, [ebp - 0x314]
call fcn.0040b040
mov byte [ebp - 4], 0x17
call sub.WS2_32.dll_WSAGetLastError
push eax
push str.CreateNewProcessAndWait
lea edx, [ebp - 0x314]
push edx
call fcn.00409b60
add esp, 8
mov ecx, eax
call fcn.0041ca40
lea eax, [ebp - 0x4bc]
push eax
lea ecx, [ebp - 0x314]
call fcn.004094f0
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.0040be10
push eax
push str.CP2PDestroyFile::HandleInpute
push 0x3f
push 0x624550
push 0x15
call fcn.00409860
mov ecx, eax
call fcn.004fb930
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x4bc]
call fcn.0040bf30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x314]
call fcn.00409dd0
lea edx, [ebp - 0x4d8]
push edx
lea ecx, [ebp - 0xac]
call fcn.004094f0
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.004094f0
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.0041ec70
push eax
mov ecx, dword [ebp - 0x5a4]
call fcn.0040be10
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.0040bf30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4d8]
call fcn.0040bf30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x154]
call fcn.0040bf30
mov dword [ebp - 0x4f8], 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.0040bf30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00409dd0
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.005b1988
mov esp, ebp
pop ebp
ret 8