Function at 0x424cd0
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Receive data
Receive data on socket
Resolve dns
Resolve function by parsing pe exports
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x446d27
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x45636c]
xor eax, esp
mov dword [esp + 0x298], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45636c]
xor eax, esp
push eax
lea eax, [esp + 0x2b4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c4]
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ebp
cmp dword [ebp + 0xc], edi
jbe 0x424d29
call fcn.0042b7e7
mov ebx, dword [ebp]
mov ebp, dword [ebp + 0xc]
mov ecx, dword [esp + 0x1c]
cmp ebp, dword [ecx + 0x10]
jbe 0x424d41
call fcn.0042b7e7
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
push edi
push ebx
push ebp
push eax
lea eax, [esp + 0x4c]
push eax
mov ebx, ecx
call fcn.00427730
push 0x35
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [esi + 0xec], 0x10
movzx eax, ax
mov ecx, 2
mov word [esp + 0x46], ax
mov word [esp + 0x44], cx
jb 0x424d7e
mov eax, dword [esi + 0xd8]
jmp 0x424d84
lea eax, [esi + 0xd8]
mov edi, dword [sym.imp.WS2_32.dll_inet_addr]
push eax
call edi
mov ebp, dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, dword [sym.imp.WS2_32.dll_gethostbyaddr]
cmp eax, 0xffffffff
mov dword [esp + 0x48], eax
setne al
mov byte [esp + 0x54], al
test al, al
je 0x424db8
push 2
push 4
lea edx, [esp + 0x50]
push edx
call ebx
jmp 0x424dd2
cmp dword [esi + 0xec], 0x10
jb 0x424dc9
mov eax, dword [esi + 0xd8]
jmp 0x424dcf
lea eax, [esi + 0xd8]
push eax
call ebp
test eax, eax
jne 0x424eb3
cmp dword [esi + 0xd0], 0x10
mov ax, word [esi + 0xf0]
mov ecx, 2
mov word [esp + 0x22], ax
mov word [esp + 0x20], cx
jb 0x424e01
mov eax, dword [esi + 0xbc]
jmp 0x424e07
lea eax, [esi + 0xbc]
push eax
call edi
mov edx, dword [esp + 0x20]
cmp eax, 0xffffffff
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
setne cl
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
mov ax, word [esi + 0xf0]
mov dword [esp + 0x50], edx
mov byte [esp + 0x54], cl
mov word [esp + 0x46], ax
test cl, cl
je 0x424e4d
push 2
push 4
lea ecx, [esp + 0x50]
push ecx
call ebx
jmp 0x424e67
cmp dword [esi + 0xd0], 0x10
jb 0x424e5e
mov eax, dword [esi + 0xbc]
jmp 0x424e64
lea eax, [esi + 0xbc]
push eax
call ebp
test eax, eax
jne 0x424e82
push 0x33
push str.550_Requested_action_not_taken:_mailbox_unavailable
lea ecx, [esi + 0x12c]
call fcn.00405f80
jmp 0x425235
mov edx, dword [eax + 0xc]
movsx eax, word [eax + 0xa]
mov ecx, dword [edx]
test eax, eax
jle 0x424e9f
push eax
push ecx
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0042ab9b
add esp, 0x10
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x44]
call fcn.00426fe0
mov al, 1
jmp 0x425237
mov ecx, dword [eax + 0xc]
movsx eax, word [eax + 0xa]
mov ecx, dword [ecx]
test eax, eax
jle 0x424ed0
push eax
push ecx
push eax
lea edx, [esp + 0x54]
push edx
call fcn.0042ab9b
add esp, 0x10
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x424efc
push 0x33
push str.451_Requested_action_aborted:_socket_function_error
lea ecx, [esi + 0x12c]
call fcn.00405f80
jmp 0x425235
push 0x10
lea ecx, [esp + 0x48]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x424f26
push 0x34
push str.451_Requested_action_aborted:_dns_server_unavailable
lea ecx, [esi + 0x12c]
call fcn.00405f80
jmp 0x425235
push 0x1f4
lea edx, [esp + 0xbc]
push 0
push edx
mov byte [esp + 0xb8], 1
mov byte [esp + 0xb9], 1
mov byte [esp + 0xba], 1
mov byte [esp + 0xbb], 0
mov byte [esp + 0xbc], 0
mov byte [esp + 0xbd], 1
mov byte [esp + 0xbe], 0
mov byte [esp + 0xbf], 0
mov byte [esp + 0xc0], 0
mov byte [esp + 0xc1], 0
mov byte [esp + 0xc2], 0
mov byte [esp + 0xc3], 0
call fcn.0042f230
mov ebp, dword [esp + 0x20]
add esp, 0xc
push 1
push 0x44e914
add ebp, 0xb8
push ebp
xor eax, eax
mov edi, 0xc
xor esi, esi
call fcn.004271a0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42514d
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xcc], esi
jbe 0x42519c
mov ecx, ebx
sub ecx, esi
push ecx
mov ecx, esi
lea esi, [esp + 0x78]
mov edx, ebp
call fcn.00410da0
xor esi, esi
mov dword [esp + 0x2bc], esi
mov eax, dword [esp + 0x88]
mov byte [esp + edi + 0xac], al
inc edi
cmp esi, eax
jae 0x425036
jbe 0x425014
call fcn.0042b7e7
mov eax, dword [esp + 0x88]
cmp dword [esp + 0x8c], 0x10
mov ebp, dword [esp + 0x78]
jae 0x425026
lea ebp, [esp + 0x78]
mov dl, byte [esi + ebp]
mov byte [esp + edi + 0xac], dl
inc esi
inc edi
cmp esi, eax
jb 0x425014
mov ebp, dword [esp + 0x14]
push 1
push 0x44e914
lea esi, [ebx + 1]
add ebp, 0xb8
push ebp
mov eax, esi
call fcn.004271a0
mov ebx, eax
cmp ebx, 0xffffffff
je 0x425090
mov dword [esp + 0x2bc], 0xffffffff
cmp dword [esp + 0x8c], 0x10
jb 0x42507b
mov eax, dword [esp + 0x78]
push eax
call fcn.0042a99a
add esp, 4
mov ecx, dword [esp + 0x14]
cmp esi, dword [ecx + 0xcc]
jb 0x424fd8
jmp 0x42519c
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xcc]
sub eax, esi
mov ecx, esi
push eax
lea esi, [esp + 0x94]
mov edx, ebp
call fcn.00410da0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x2c8], 1
call fcn.00405c80
mov ebx, 0x10
cmp dword [esp + 0xa8], ebx
jb 0x4250e4
mov eax, dword [esp + 0x94]
push eax
call fcn.0042a99a
add esp, 4
mov eax, dword [esp + 0x88]
mov byte [esp + edi + 0xac], al
inc edi
xor esi, esi
test eax, eax
jbe 0x42512a
cmp esi, eax
jbe 0x425109
call fcn.0042b7e7
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x78]
cmp dword [esp + 0x8c], ebx
jae 0x42511a
lea ecx, [esp + 0x78]
mov cl, byte [ecx + esi]
mov byte [esp + edi + 0xac], cl
inc esi
inc edi
cmp esi, eax
jb 0x425109
mov dword [esp + 0x2bc], 0xffffffff
cmp dword [esp + 0x8c], ebx
jb 0x42519c
mov edx, dword [esp + 0x78]
push edx
call fcn.0042a99a
add esp, 4
jmp 0x42519c
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0xcc]
xor esi, esi
mov byte [esp + 0xb8], al
mov edi, 0xd
test eax, eax
jbe 0x42519c
lea esp, [esp]
cmp esi, dword [ebp + 0x14]
jbe 0x42517a
call fcn.0042b7e7
cmp dword [ebp + 0x18], 0x10
jb 0x425185
mov eax, dword [ebp + 4]
jmp 0x425188
lea eax, [ebp + 4]
mov al, byte [eax + esi]
mov byte [esp + esi + 0xb9], al
inc esi
inc edi
cmp esi, dword [ebx + 0xcc]
jb 0x425170
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0xcc]
lea esi, [eax - 1]
cmp esi, eax
jbe 0x4251b2
call fcn.0042b7e7
cmp dword [ebx + 0xd0], 0x10
jb 0x4251c3
mov eax, dword [ebx + 0xbc]
jmp 0x4251c9
lea eax, [ebx + 0xbc]
cmp byte [eax + esi], 0x2e
mov byte [esp + edi + 0xac], 0
je 0x4251d8
inc edi
mov esi, dword [esp + 0x18]
mov byte [esp + edi + 0xac], 0
inc edi
mov byte [esp + edi + 0xac], 0xf
inc edi
mov byte [esp + edi + 0xac], 0
inc edi
push 0
mov byte [esp + edi + 0xb0], 1
inc edi
push edi
lea ecx, [esp + 0xb4]
push ecx
push esi
mov ebp, 0xf
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x425261
push 0x40
push str.451_Requested_action_aborted:_server_seems_to_have_disconnected.
lea ecx, [ebx + 0x12c]
call fcn.00405f80
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
mov ecx, dword [esp + 0x2b4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x298]
xor ecx, esp
call fcn.0042a9a5
add esp, 0x2ac
ret 4
push 0
push 0x200
lea edx, [esp + 0xb4]
push edx
push esi
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x42522e
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
cmp edi, 0xc
jle 0x425235
movzx ax, byte [esp + 0xb0]
movzx ecx, byte [esp + 0xb1]
movzx edx, byte [esp + 0xb2]
shl ax, 8
or ax, cx
movzx ecx, byte [esp + 0xb3]
shl dx, 8
or dx, cx
movzx ecx, byte [esp + 0xb5]
movzx esi, dx
movzx edx, byte [esp + 0xb4]
shl dx, 8
or dx, cx
movzx ecx, byte [esp + 0xb6]
movzx edx, dx
mov dword [esp + 0x38], edx
movzx edx, byte [esp + 0xb7]
shl cx, 8
or cx, dx
test byte [esp + 0xaf], 0xf
movzx ecx, cx
movzx eax, ax
mov dword [esp + 0x3c], ecx
jne 0x425235
xor edi, edi
mov dword [esp + 0x18], 0xc
mov dword [esp + 0xa8], ebp
mov dword [esp + 0xa4], edi
mov byte [esp + 0x94], 0
mov dword [esp + 0x2bc], 2
cmp ax, di
je 0x425358
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.004256e0
add dword [esp + 0x18], 4
lea edx, [esp + 0x20]
push edx
call fcn.00426bd0
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], edi
mov byte [esp + 0x5c], 0
movzx eax, si
cmp eax, edi
mov byte [esp + 0x2bc], 4
jle 0x4253ce
mov ebp, eax
push 0
push 0x44bf2a
lea ecx, [esp + 0x60]
call fcn.00405f80
cmp dword [esp + 0x18], 0xc
jl 0x4253b0
mov eax, dword [esp + 0x14]
push eax
lea ebx, [esp + 0x5c]
lea edi, [esp + 0xb0]
lea esi, [esp + 0x1c]
call fcn.00425610
cmp dword [esp + 0x6c], 0
je 0x4253c5
lea ecx, [esp + 0x58]
push ecx
lea ebx, [esp + 0x24]
call fcn.00426d70
sub ebp, 1
jne 0x425380
mov ebx, dword [esp + 0x14]
movzx eax, word [esp + 0x38]
test eax, eax
jle 0x42542e
mov ebp, eax
lea esp, [esp]
push 0
push 0x44bf2a
lea ecx, [esp + 0x60]
call fcn.00405f80
cmp dword [esp + 0x18], 0xc
jl 0x425410
mov edx, dword [esp + 0x14]
push edx
lea ebx, [esp + 0x5c]
lea edi, [esp + 0xb0]
lea esi, [esp + 0x1c]
call fcn.00425610
cmp dword [esp + 0x6c], 0
je 0x425425
lea eax, [esp + 0x58]
push eax
lea ebx, [esp + 0x24]
call fcn.00426d70
sub ebp, 1
jne 0x4253e0
mov ebx, dword [esp + 0x14]
movzx eax, word [esp + 0x3c]
test eax, eax
jle 0x425487
mov ebp, eax
push 0
push 0x44bf2a
lea ecx, [esp + 0x60]
call fcn.00405f80
cmp dword [esp + 0x18], 0xc
jl 0x425469
mov ecx, dword [esp + 0x14]
push ecx
lea ebx, [esp + 0x5c]
lea edi, [esp + 0xb0]
lea esi, [esp + 0x1c]
call fcn.00425610
cmp dword [esp + 0x6c], 0
je 0x42547e
lea edx, [esp + 0x58]
push edx
lea ebx, [esp + 0x24]
call fcn.00426d70
sub ebp, 1
jne 0x425439
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
mov cx, word [ebx + 0xf0]
mov eax, 2
mov word [esp + 0x44], ax
mov word [esp + 0x46], cx
cmp esi, dword [esp + 0x30]
jbe 0x4254ac
call fcn.0042b7e7
mov ebp, dword [esp + 0x20]
xor ebx, ebx
mov edi, dword [esp + 0x30]
cmp dword [esp + 0x2c], edi
jbe 0x4254c1
call fcn.0042b7e7
cmp ebp, ebx
je 0x4254cb
cmp ebp, dword [esp + 0x20]
je 0x4254d0
call fcn.0042b7e7
cmp esi, edi
jae 0x42555f
cmp ebp, ebx
jne 0x4254f8
call fcn.0042b7e7
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x4254ed
call fcn.0042b7e7
cmp dword [esi + 0x18], 0x10
jb 0x4254fd
mov eax, dword [esi + 4]
jmp 0x425500
mov eax, dword [ebp]
jmp 0x4254e3
lea eax, [esi + 4]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
jne 0x425511
mov dword [esp + 0x48], ebx
jmp 0x42553d
mov edx, dword [eax + 0xc]
movsx eax, word [eax + 0xa]
cmp eax, ebx
mov ecx, dword [edx]
jle 0x42552e
push eax
push ecx
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0042ab9b
add esp, 0x10
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x44]
call fcn.00426fe0
xor ebx, ebx
cmp ebp, ebx
jne 0x42555a
call fcn.0042b7e7
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x425552
call fcn.0042b7e7
add esi, 0x1c
jmp 0x4254b2
mov eax, dword [ebp]
jmp 0x425548
mov ebp, 0x10
cmp dword [esp + 0x70], ebp
jb 0x425577
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0042a99a
add esp, 4
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], 0
cmp esi, ebx
je 0x4255d4
mov edi, dword [esp + 0x30]
cmp esi, edi
je 0x4255c7
add esi, 0x18
jmp 0x4255a0
cmp dword [esi], ebp
jb 0x4255b0
mov edx, dword [esi - 0x14]
push edx
call fcn.0042a99a
add esp, 4
mov dword [esi], 0xf
mov dword [esi - 4], ebx
mov byte [esi - 0x14], 0
add esi, 0x1c
lea eax, [esi - 0x18]
cmp eax, edi
jne 0x4255a0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0042a99a
add esp, 4
mov edx, dword [esp + 0x20]
push edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.0042a99a
add esp, 4
cmp dword [esp + 0xa8], ebp
jb 0x425606
mov eax, dword [esp + 0x94]
push eax
call fcn.0042a99a
add esp, 4
mov al, 1
jmp 0x425237