Function at 0x40e9e0
Capabilities:
Connect socket
Receive data
Receive data on socket
Resolve function by parsing pe exports
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x439de4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x878
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov edi, 1
mov eax, dword [ebx + 0x240]
push 0
cmp eax, edi
push edi
mov dword [esp + 0x28], ebx
push 2
je 0x40edae
call sub.WSOCK32.dll_socket
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
jne 0x40ea44
push 0x30
push 0
push str.Updata_Socket
mov ecx, ebx
call fcn.0042de0f
or eax, ebp
jmp 0x40f12a
mov cx, word [esp + 0x89c]
mov edx, dword [esp + 0x898]
xor eax, eax
mov esi, 5
mov dword [esp + 0x2c], eax
mov word [esp + 0x2c], 2
mov dword [esp + 0x30], eax
mov word [esp + 0x2e], cx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push 0x10
push eax
push ebp
dec esi
call sub.WSOCK32.dll_connect
cmp eax, 0xffffffff
jne 0x40eb2d
test esi, esi
je 0x40eaa2
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40ea7a
mov ecx, dword [0x44abb4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x890], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x14]
push 0x44a210
push edx
call fcn.00429d50
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push 0x44a9b8
push ecx
call fcn.0042fc8c
mov eax, dword [eax]
push 0x30
push 0
push eax
mov ecx, ebx
mov byte [esp + 0x89c], 1
call fcn.0042de0f
lea ecx, [esp + 0x20]
mov byte [esp + 0x890], 0
call fcn.0042f983
push ebp
call sub.WSOCK32.dll_closesocket
lea ecx, [esp + 0x10]
mov dword [esp + 0x890], 0xffffffff
call fcn.0042f983
or eax, 0xffffffff
jmp 0x40f12a
lea ebp, [ebx + 0x18c]
push 0x800
push 0
mov ecx, ebp
call fcn.00407e10
lea ecx, [ebx + 0x150]
push 0x44a9ac
mov dword [ebx + 0x1e8], edi
xor esi, esi
mov dword [esp + 0x14], ecx
call fcn.0042f44c
mov ebx, dword [esp + 0x8a0]
mov edx, dword [ebx]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x88]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x88]
push 0x400
push eax
mov ecx, ebx
call dword [edx + 0x34]
test eax, eax
je 0x40ec7a
mov edi, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x8c]
push eax
push ecx
push edi
call sub.WSOCK32.dll_send
cmp eax, 0xffffffff
je 0x40ebed
push esi
mov ecx, ebp
call fcn.00407e50
push 1
push 0
push 0
lea edx, [esp + 0x5c]
push 0
push edx
inc esi
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x40ebe0
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40eb64
mov edx, dword [0x44abb4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x890], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x14]
push 0x44a210
push eax
call fcn.00429d50
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x24]
push ecx
push 0x44a994
push edx
call fcn.0042fc8c
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
push 0x30
push 0
push eax
mov byte [esp + 0x89c], 3
call fcn.0042de0f
lea ecx, [esp + 0x24]
mov byte [esp + 0x890], 2
call fcn.0042f983
push edi
call sub.WSOCK32.dll_closesocket
lea ecx, [esp + 0x10]
mov dword [esp + 0x890], 0xffffffff
call fcn.0042f983
or eax, 0xffffffff
jmp 0x40f12a
mov edi, dword [esp + 0x10]
push 0x44a984
mov ecx, edi
call fcn.0042f44c
push 0x800
push 0
mov ecx, ebp
call fcn.00407e10
push 0xbb8
mov bl, 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [esp + 0x18]
push 0
lea eax, [esp + 0x20]
push 4
push eax
push esi
call sub.WSOCK32.dll_recv
cmp eax, 0xffffffff
je 0x40ed15
test bl, bl
je 0x40eccf
push str._flash...
mov ecx, edi
call fcn.0042f44c
xor bl, bl
mov eax, dword [esp + 0x1c]
cmp eax, 0xffff
je 0x40ed9c
push eax
mov ecx, ebp
call fcn.00407e50
push 1
push 0
push 0
lea ecx, [esp + 0x5c]
push 0
push ecx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x40eca5
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x40eca5
mov ecx, dword [0x44abb4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x890], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 0x14]
push 0x44a210
push edx
call fcn.00429d50
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
push 0x44a950
push ecx
call fcn.0042fc8c
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
push 0x30
push 0
push eax
mov byte [esp + 0x89c], 5
call fcn.0042de0f
lea ecx, [esp + 0x24]
mov byte [esp + 0x890], 4
call fcn.0042f983
lea ecx, [esp + 0x10]
mov dword [esp + 0x890], 0xffffffff
call fcn.0042f983
or eax, 0xffffffff
jmp 0x40f12a
push esi
call sub.WSOCK32.dll_closesocket
push 0x44cdc8
mov ecx, edi
jmp 0x40f123
call sub.WSOCK32.dll_socket
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x40edd1
push 0x30
push 0
push 0x44a93c
mov ecx, ebx
call fcn.0042de0f
or eax, ebp
jmp 0x40f12a
mov ax, word [esp + 0x89c]
mov ecx, dword [esp + 0x898]
xor edx, edx
mov esi, 5
mov dword [esp + 0x40], edx
mov word [esp + 0x40], 2
mov dword [esp + 0x44], edx
mov word [esp + 0x42], ax
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x40]
push 0x10
push edx
push ebp
dec esi
call sub.WSOCK32.dll_connect
cmp eax, 0xffffffff
jne 0x40eeb9
test esi, esi
je 0x40ee2f
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40ee07
mov eax, dword [0x44abb4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x890], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x14]
push 0x44a210
push ecx
call fcn.00429d50
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push 0x44a924
push eax
call fcn.0042fc8c
mov eax, dword [eax]
push 0x30
push 0
push eax
mov ecx, ebx
mov byte [esp + 0x89c], 7
call fcn.0042de0f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x890], 6
call fcn.0042f983
push ebp
call sub.WSOCK32.dll_closesocket
lea ecx, [esp + 0x10]
mov dword [esp + 0x890], 0xffffffff
call fcn.0042f983
or eax, 0xffffffff
jmp 0x40f12a
mov ecx, dword [ebx + 0x5c]
lea edi, [ebx + 0x18c]
shr ecx, 0xa
push ecx
push 0
mov ecx, edi
call fcn.00407e10
lea ecx, [ebx + 0x150]
push 0x44a918
mov dword [ebx + 0x1e8], 1
xor esi, esi
mov dword [esp + 0x14], ecx
call fcn.0042f44c
mov ecx, dword [esp + 0x8a0]
lea eax, [esp + 0x488]
push 0x400
push eax
mov edx, dword [ecx]
call dword [edx + 0x34]
test eax, eax
je 0x40eff1
push 0
lea ecx, [esp + 0x48c]
push eax
push ecx
push ebp
call sub.WSOCK32.dll_send
cmp eax, 0xffffffff
je 0x40ef66
push esi
mov ecx, edi
call fcn.00407e50
push 1
push 0
push 0
lea edx, [esp + 0x78]
push 0
push edx
inc esi
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x40ef5c
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40eeef
mov edx, dword [0x44abb4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x890], 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x14]
push 0x44a210
push eax
call fcn.00429d50
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push 0x44a994
push edx
call fcn.0042fc8c
mov eax, dword [eax]
push 0x30
push 0
push eax
mov ecx, ebx
mov byte [esp + 0x89c], 9
call fcn.0042de0f
lea ecx, [esp + 0x1c]
mov byte [esp + 0x890], 8
call fcn.0042f983
push ebp
call sub.WSOCK32.dll_closesocket
lea ecx, [esp + 0x10]
mov dword [esp + 0x890], 0xffffffff
call fcn.0042f983
or eax, 0xffffffff
jmp 0x40f12a
mov esi, dword [esp + 0x10]
push 0x44a984
mov ecx, esi
call fcn.0042f44c
mov eax, dword [ebx + 0x5c]
mov ecx, edi
shr eax, 0xa
push eax
push 0
call fcn.00407e10
push 0x12c
mov byte [esp + 0x1b], 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea ecx, [esp + 0x2c]
push 4
push ecx
push ebp
call sub.WSOCK32.dll_recv
cmp eax, 0xffffffff
je 0x40f094
mov al, byte [esp + 0x17]
test al, al
je 0x40f04e
push str._flash...
mov ecx, esi
call fcn.0042f44c
mov byte [esp + 0x17], 0
mov eax, dword [esp + 0x28]
cmp eax, 0xffff
je 0x40f116
push eax
mov ecx, edi
call fcn.00407e50
push 1
push 0
push 0
lea edx, [esp + 0x78]
push 0
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x40f021
lea eax, [esp + 0x6c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x6c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x40f021
mov edx, dword [0x44abb4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x890], 0xa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x1c]
push 0x44a210
push eax
call fcn.00429d50
add esp, 0xc
lea ecx, [esp + 0x18]
lea edx, [esp + 0x3c]
push ecx
push 0x44a950
push edx
call fcn.0042fc8c
mov eax, dword [eax]
push 0x30
push 0
push eax
mov ecx, ebx
mov byte [esp + 0x89c], 0xb
call fcn.0042de0f
lea ecx, [esp + 0x3c]
mov byte [esp + 0x890], 0xa
call fcn.0042f983
lea ecx, [esp + 0x18]
mov dword [esp + 0x890], 0xffffffff
call fcn.0042f983
or eax, 0xffffffff
jmp 0x40f12a
push ebp
call sub.WSOCK32.dll_closesocket
push 0x44cdc8
mov ecx, esi
call fcn.0042f44c
xor eax, eax
mov ecx, dword [esp + 0x888]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x884
ret 0xc