Function at 0x472130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, eax
mov ebx, dword [esi]
lea eax, [esi + 0x3d0]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0x68]
xor ecx, ecx
cmp eax, ecx
push edi
mov dword [esp + 0x18], ecx
lea edi, [ebx + 0x550]
jne 0x472255
cmp edx, 0xe5
jne 0x472255
push 0x28
push edi
call fcn.004859b0
mov edi, eax
add esp, 8
test edi, edi
je 0x47223b
lea eax, [esp + 0x13]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1a]
push edx
lea eax, [esp + 0x1d]
push eax
lea ecx, [esp + 0x20]
push ecx
inc edi
push str._c_c_c_u_c
push edi
call fcn.00486af6
add esp, 0x1c
cmp eax, 5
jne 0x47223b
mov cl, byte [esp + 0x10]
mov eax, 1
cmp byte [esp + eax + 0x10], cl
jne 0x47223b
inc eax
cmp eax, 4
jl 0x4721c2
test edi, edi
je 0x47223b
mov eax, dword [esi + 0x1d4]
test eax, eax
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], edx
jne 0x47221b
mov eax, dword [esi + 0x114]
cmp eax, 5
je 0x47221b
cmp eax, 7
je 0x47221b
cmp eax, 4
je 0x47221b
cmp eax, 6
je 0x47221b
lea eax, [esi + 0x40]
push eax
push 0x4edb14
lea ecx, [esp + 0x48]
push 0x30
push ecx
call fcn.00464260
add esp, 0x10
jmp 0x47238f
mov edx, dword [esi + 0x80]
push edx
push 0x4edb14
lea eax, [esp + 0x48]
push 0x30
push eax
call fcn.00464260
add esp, 0x10
jmp 0x47238f
push str.Weirdly_formatted_EPSV_reply
push ebx
call fcn.004623b0
add esp, 8
mov eax, 0xd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x4725f9
cmp edx, 0xe3
jne 0x4725f9
cmp byte [edi], 0
je 0x4722b0
nop
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x3c]
push eax
push str._d__d__d__d__d__d
push edi
call fcn.00486af6
add esp, 0x20
cmp eax, 6
je 0x4722ab
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x472270
jmp 0x4722b0
cmp byte [edi], 0
jne 0x4722ca
push str.Couldnt_interpret_the_227_response
push ebx
call fcn.004623b0
add esp, 8
mov eax, 0xe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x30c]
test eax, eax
je 0x472356
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
lea edi, [esi + 0x40]
push edi
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
push str.Skips__d._d._d._d_for_data_connection__uses__s_instead_n
push ebx
call fcn.004622f0
mov eax, dword [esi + 0x1d4]
add esp, 0x1c
test eax, eax
jne 0x472339
mov eax, dword [esi + 0x114]
cmp eax, 5
je 0x472339
cmp eax, 7
je 0x472339
cmp eax, 4
je 0x472339
cmp eax, 6
je 0x472339
push edi
push 0x4edb14
lea edx, [esp + 0x48]
push 0x30
push edx
call fcn.00464260
add esp, 0x10
jmp 0x47237e
mov eax, dword [esi + 0x80]
push eax
push 0x4edb14
lea ecx, [esp + 0x48]
push 0x30
push ecx
call fcn.00464260
add esp, 0x10
jmp 0x47237e
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
push str._d._d._d._d
lea eax, [esp + 0x54]
push 0x30
push eax
call fcn.00464260
add esp, 0x1c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
shl eax, 8
add eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x370]
test eax, eax
je 0x47240b
cmp byte [eax], 0
je 0x47240b
mov edx, dword [esi + 0x98]
mov eax, dword [esi + 0x90]
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
push esi
call fcn.004584e0
add esp, 0x10
cmp eax, 1
jne 0x4723cd
lea ecx, [esp + 0x18]
push ecx
push esi
call fcn.00457ea0
add esp, 8
mov eax, dword [esp + 0x18]
xor ecx, ecx
test eax, eax
mov cx, word [esi + 0x98]
mov dword [esp + 0x10], ecx
jne 0x472467
mov eax, dword [esi + 0x90]
movzx edx, cx
push edx
push eax
push str.Cant_resolve_proxy_host__s:_hu
push ebx
call fcn.004623b0
add esp, 0x10
mov eax, 0xf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx edi, word [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edi
lea edx, [esp + 0x48]
push edx
push esi
call fcn.004584e0
add esp, 0x10
cmp eax, 1
jne 0x472437
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00457ea0
add esp, 8
mov eax, dword [esp + 0x18]
test eax, eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
jne 0x472467
push edi
lea edx, [esp + 0x44]
push edx
push str.Cant_resolve_new_host__s:_hu
push ebx
call fcn.004623b0
add esp, 0x10
mov eax, 0xf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x3c]
push edx
lea ecx, [esi + 0x134]
push ecx
push eax
push esi
call fcn.00463630
mov edx, dword [esp + 0x2c]
push edx
push ebx
mov edi, eax
call fcn.004586f0
add esp, 0x1c
test edi, edi
je 0x4724bb
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x68]
test ecx, ecx
jne 0x4725f0
cmp dword [ebp + 8], 0xe5
jne 0x4725f0
call fcn.00470d70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x1c8], ecx
mov eax, dword [ebx + 0x2d4]
test eax, eax
je 0x4724e7
movzx edx, word [esp + 0x10]
mov ecx, dword [esp + 0x38]
push edx
lea eax, [esp + 0x44]
push eax
push esi
call fcn.00471540
add esp, 0xc
mov eax, dword [esi + 0x114]
cmp eax, 7
ja case.0x4724f2.2
jmp dword [eax*4 + 0x472650]
movzx ecx, word [esp + 0x14]
mov eax, dword [esi + 0x110]
push esi
push 1
push ecx
mov ecx, dword [esi + 0x10c]
lea edx, [esp + 0x4c]
push edx
push eax
push ecx
call fcn.00479280
jmp 0x47253c
push 0
jmp 0x472522
push 1
movzx edx, word [esp + 0x18]
mov ecx, dword [esi + 0x10c]
push esi
push 1
push edx
lea eax, [esp + 0x50]
push eax
push ecx
call fcn.00478df0
mov edi, eax
add esp, 0x18
test edi, edi
je case.0x4724f2.0
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x68]
test eax, eax
jne 0x4725f0
cmp dword [ebp + 8], 0xe5
jne 0x4725f0
call fcn.00470d70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.unknown_proxytype_option_given
push ebx
call fcn.004623b0
add esp, 8
mov edi, 7
jmp 0x472545
mov eax, dword [esi + 0x1d4]
test eax, eax
je 0x4725dc
mov eax, dword [esi + 0x1ac]
test eax, eax
je 0x4725dc
mov eax, dword [ebx + 0x8674]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
xor eax, eax
mov ecx, 0x18
lea edi, [esp + 0x70]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x78]
push 1
push esi
mov dword [ebx + 0x8674], ecx
call fcn.0047a740
mov ecx, dword [esp + 0x2c]
mov edi, eax
add esp, 0x10
test edi, edi
mov dword [ebx + 0x8674], ecx
jne 0x4725f0
mov dword [esi + 0x1c8], 1
mov dword [esi + 0x444], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, ecx
jne 0x472632
push str.disabling_EPSV_usage_n
push ebx
mov dword [esi + 0x1e0], ecx
call fcn.004622f0
mov esi, dword [esp + 0x2c]
push 0
push str.PASV
push esi
call fcn.0047d5f0
add esp, 0x14
test eax, eax
jne 0x472646
inc dword [esi + 0x68]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edx
push str.Bad_PASV_EPSV_response:__03d
push ebx
call fcn.004623b0
add esp, 0xc
mov eax, 0xd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret