Function at 0x4b36d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x64
mov eax, dword [0x6204e0]
xor eax, esp
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x7c]
push ebx
push ebp
mov ebp, dword [esp + 0x74]
xor eax, eax
push esi
mov esi, dword [esp + 0x84]
cmp dword [esi + 0x338], 6
mov ebx, dword [esi]
sete al
push edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], ecx
lea edi, [esi + 8]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x84]
mov eax, dword [esi + eax*4 + 0x420]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 4]
cmp eax, 1
jl 0x4b373d
cmp eax, 0x11
jl 0x4b374e
cmp dword [ecx], 0
jne 0x4b374e
mov eax, 1
mov ecx, esi
call fcn.004b3660
mov eax, dword [esi + 4]
dec eax
cmp eax, 0xd
ja case.0x4b3762.2
movzx ecx, byte [eax + 0x4b3cc0]
jmp dword [ecx*4 + 0x4b3ca4]
cmp dword [esi + 0x544], 0
mov ebx, dword [esp + 0x80]
mov dword [esi + 0x5d0], 1
je 0x4b37a7
cmp dword [esp + 0x1c], 0
mov eax, 0x5b5c68
jne 0x4b3794
mov eax, 0x59fa81
mov edx, dword [esi]
push ebx
push ebp
push eax
push str.SOCKS4_s:_connecting_to_HTTP_proxy__s_port__d_n
push edx
call fcn.00489260
add esp, 0x14
mov eax, dword [esp + 0x10]
push ebx
push ebp
push str.SOCKS4_communication_to__s:_d_n
push eax
call fcn.00489260
mov ecx, ebx
sar ecx, 8
add esp, 0x10
cmp dword [esp + 0x1c], 0
mov byte [edi], 4
mov byte [edi + 1], 1
mov byte [edi + 2], cl
mov byte [edi + 3], bl
jne 0x4b38b4
lea edx, [esp + 0x14]
push edx
push 0
push ebx
push ebp
push esi
call fcn.004afc60
add esp, 0x14
cmp eax, 0xffffffff
jne 0x4b3807
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0058ecc6
add esp, 0x64
ret
mov ecx, esi
cmp eax, 1
jne 0x4b3840
mov eax, 0xa
call fcn.004b3660
mov eax, dword [esp + 0x10]
push ebp
push str.SOCKS4_non_blocking_resolve_of__s_n
push eax
call fcn.00489260
add esp, 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0058ecc6
add esp, 0x64
ret
mov eax, 0xb
call fcn.004b3660
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je case.0x4b3762.11
mov ebx, dword [ecx]
test ebx, ebx
je 0x4b39b9
push 0x40
lea ecx, [esp + 0x34]
push ecx
push ebx
call fcn.004af1d0
add esp, 0xc
cmp dword [ebx + 4], 2
jne 0x4b3986
mov eax, dword [ebx + 0x18]
movzx edx, byte [eax + 4]
mov byte [edi + 4], dl
mov cl, byte [eax + 5]
mov byte [edi + 5], cl
movzx edx, byte [eax + 6]
lea ecx, [esp + 0x30]
push ecx
mov byte [edi + 6], dl
mov edx, dword [esp + 0x14]
mov al, byte [eax + 7]
push str.SOCKS4_connect_to_IPv4__s__locally_resolved__n
push edx
mov byte [edi + 7], al
call fcn.00489260
jmp 0x4b399c
mov eax, 9
mov ecx, esi
call fcn.004b3660
mov edx, dword [esp + 0x18]
lea ebx, [edi + 8]
mov byte [ebx], 0
test edx, edx
je 0x4b39f0
mov eax, edx
lea ecx, [eax + 1]
mov dword [esp + 0x18], ecx
jmp 0x4b38e0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b38e0
sub eax, dword [esp + 0x18]
cmp eax, 0x250
jb 0x4b39e4
mov edx, dword [esp + 0x10]
push str.Too_long_SOCKS_proxy_name__cant_use__n
push edx
call fcn.00489340
add esp, 8
jmp 0x4b3c89
mov ecx, dword [esi + 0x364]
push ecx
push ebp
push esi
call fcn.004af480
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x4b3956
push ebp
push str.Hostname__s_was_found_n
push ebx
mov dword [esi + 0x66c], eax
mov dword [esi + 0x678], 1
call fcn.00489260
add esp, 0xc
mov eax, 0xb
mov ecx, esi
call fcn.004b3660
jmp 0x4b384e
mov eax, dword [ebx + 8]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004afbc0
mov ecx, dword [esp + 0x1c]
add esp, 8
test ecx, ecx
jne 0x4b385a
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0058ecc6
add esp, 0x64
ret
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x30]
push eax
push str.SOCKS4_connection_to__s_not_supported_n
push ecx
xor ebx, ebx
call fcn.00489340
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add esp, 0xc
push edx
push eax
call fcn.004aff00
add esp, 8
test ebx, ebx
jne 0x4b38c0
mov ebx, dword [esp + 0x10]
push ebp
push str.Failed_to_resolve___s__for_SOCKS4_connect.
push ebx
call fcn.00489340
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0058ecc6
add esp, 0x64
ret
inc eax
push eax
push edx
push ebx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b39f5
sub eax, edx
cmp dword [esp + 0x1c], 0
lea ebx, [eax + 9]
je 0x4b3a4e
mov eax, ebp
mov byte [edi + 4], cl
mov byte [edi + 5], cl
mov byte [edi + 6], cl
mov byte [edi + 7], 1
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b3a20
sub eax, edx
inc eax
cmp eax, 0xff
mov dword [esp + 0x18], eax
jg 0x4b3aa7
mov ecx, ebx
sub ecx, ebp
mov eax, ebp
lea edx, [ecx + edi]
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4b3a40
add ebx, dword [esp + 0x18]
mov eax, 0xe
mov ecx, esi
mov dword [esi + 0x264], edi
mov dword [esi + 0x260], ebx
call fcn.004b3660
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 0x260]
mov edx, dword [esi + 0x264]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
push esi
call fcn.00489960
add esp, 0x14
test eax, eax
je 0x4b3abe
cmp eax, 0x51
je 0x4b3abe
push str.Failed_to_send_SOCKS4_connect_request.
push ebx
call fcn.00489340
add esp, 8
jmp 0x4b3c89
mov edx, dword [esp + 0x10]
push str.SOCKS4:_too_long_host_name
push edx
call fcn.00489340
add esp, 8
jmp 0x4b3c89
mov eax, dword [esi + 0x260]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
je 0x4b3aef
add dword [esi + 0x264], ecx
sub eax, ecx
pop edi
mov dword [esi + 0x260], eax
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0058ecc6
add esp, 0x64
ret
mov eax, 4
mov ecx, esi
mov dword [esi + 0x260], 8
mov dword [esi + 0x264], edi
call fcn.004b3660
mov edx, dword [esi + 0x260]
mov eax, dword [esi + 0x264]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
call fcn.00489110
add esp, 0x10
test eax, eax
je 0x4b3b4e
cmp eax, 0x51
je 0x4b3b4e
push eax
call fcn.004b4b70
push eax
push str.SOCKS4:_Failed_receiving_connect_request_ack:__s
push ebx
call fcn.00489340
add esp, 0x10
jmp 0x4b3c89
mov eax, dword [esi + 0x260]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jne 0x4b3acc
mov eax, 0x11
mov ecx, esi
call fcn.004b3660
cmp byte [edi], 0
je 0x4b3b84
push str.SOCKS4_reply_has_wrong_version__version_should_be_0.
push ebx
call fcn.00489340
add esp, 8
jmp 0x4b3c89
movzx eax, byte [edi + 1]
lea ecx, [eax - 0x5a]
cmp ecx, 3
ja case.default.0x4b3b94
jmp dword [ecx*4 + 0x4b3cd0]
cmp dword [esp + 0x1c], 0
mov eax, 0x5b5c68
jne 0x4b3bac
mov eax, 0x59fa81
push eax
push str.SOCKS4_s_request_granted._n
push ebx
call fcn.00489260
mov edx, dword [esp + 0x34]
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword [edx], 1
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0058ecc6
add esp, 0x64
ret
movzx ecx, byte [edi + 3]
movzx edx, byte [edi + 7]
push eax
movzx eax, byte [edi + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 5]
push eax
movzx eax, byte [edi + 6]
push edx
movzx edx, byte [edi + 4]
push eax
push ecx
push edx
push str.Cant_complete_SOCKS4_connection_to__d._d._d._d:_d.___d___request_rejected_or_failed.
jmp 0x4b3c80
movzx ecx, byte [edi + 3]
movzx edx, byte [edi + 7]
push eax
movzx eax, byte [edi + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 5]
push eax
movzx eax, byte [edi + 6]
push edx
movzx edx, byte [edi + 4]
push eax
push ecx
push edx
push str.Cant_complete_SOCKS4_connection_to__d._d._d._d:_d.___d___request_rejected_because_SOCKS_server_cannot_connect_to_identd_on_the_client.
jmp 0x4b3c80
movzx ecx, byte [edi + 3]
movzx edx, byte [edi + 7]
push eax
movzx eax, byte [edi + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 5]
push eax
movzx eax, byte [edi + 6]
push edx
movzx edx, byte [edi + 4]
push eax
push ecx
push edx
push str.Cant_complete_SOCKS4_connection_to__d._d._d._d:_d.___d___request_rejected_because_the_client_program_and_identd_report_different_user_ids.
jmp 0x4b3c80
movzx ecx, byte [edi + 3]
movzx edx, byte [edi + 7]
push eax
movzx eax, byte [edi + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 5]
push eax
movzx eax, byte [edi + 6]
push edx
movzx edx, byte [edi + 4]
push eax
push ecx
push edx
push str.Cant_complete_SOCKS4_connection_to__d._d._d._d:_d.___d___Unknown.
push ebx
call fcn.00489340
add esp, 0x20
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 7
call fcn.0058ecc6
add esp, 0x64
ret