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

Disassembly:
sub esp, 0x228
mov eax, dword [0x516b80]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [esp + 0x230]
push ebp
xor ebp, ebp
push esi
mov dword [eax], ebp
push edi
mov edi, dword [esp + 0x238]
mov esi, edx
mov byte [ecx], 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ebp
cmp dword [esi + 0x308], ebp
jne 0x42aeb1
pop edi
pop esi
lea eax, [ebp + 3]
pop ebp
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.00497164
add esp, 0x228
ret
push ebx
push 0x330
push 1
call dword [0x50c154]
mov ebx, eax
add esp, 8
cmp ebx, ebp
jne 0x42aee8
mov dword [edi], ebp
mov eax, 0x1b
mov ecx, dword [esp + 0x234]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00497164
add esp, 0x228
ret
mov dword [edi], ebx
or eax, 0xffffffff
mov dword [ebx + str._no_protocol_], 0x4dc24c
mov dword [ebx], esi
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0xa4], eax
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x21c]
mov dword [ebx + 0x8c], eax
mov eax, dword [esi + 0x2cc]
cmp eax, ebp
je 0x42af27
cmp byte [eax], 0
je 0x42af27
mov al, 1
jmp 0x42af29
xor al, al
lea ecx, [ebx + 0x10e]
mov dword [esp + 0x20], ecx
mov byte [ecx], al
test al, al
je 0x42af45
cmp dword [ebx + 0x8c], ebp
jne 0x42af45
mov al, 1
jmp 0x42af47
xor al, al
mov byte [ebx + 0x10f], al
mov byte [ebx + 0x10c], 1
mov byte [ebx + 0x154], 0
mov byte [ebx + 0x155], 0
mov dword [ebx + 0x168], ebp
mov dword [ebx + 0x16c], ebp
call fcn.004343a0
mov dword [ebx + 0x9c], edx
mov dword [ebx + 0x98], eax
cmp dword [esi + 0x300], ebp
setne cl
mov byte [ebx + 0x110], cl
cmp dword [esi + 0x2d0], ebp
setne dl
mov byte [ebx + 0x111], dl
mov al, byte [esi + 0x246]
mov byte [ebx + 0x118], al
mov cl, byte [esi + 0x260]
mov byte [ebx + 0x11c], cl
mov dl, byte [esi + 0x261]
mov byte [ebx + 0x11d], dl
mov eax, dword [esi + 8]
cmp eax, ebp
je 0x42affb
push eax
call fcn.00426a30
add esp, 4
test al, al
je 0x42affb
cmp dword [ebx + 0x164], ebp
jne 0x42affb
push 1
push 0x4000
call dword [0x50c154]
add esp, 8
mov dword [ebx + 0x164], eax
cmp eax, ebp
je 0x42aeca
push fcn.0043f580
call fcn.00435280
push fcn.0043f580
mov dword [ebx + 0x158], eax
call fcn.00435280
push fcn.0043f580
mov dword [ebx + 0x15c], eax
call fcn.00435280
add esp, 0xc
mov dword [ebx + 0x160], eax
cmp dword [ebx + 0x158], ebp
je 0x42aeca
cmp dword [ebx + 0x15c], ebp
je 0x42aeca
cmp eax, ebp
je 0x42aeca
mov eax, dword [esi + 0x308]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42b057
sub eax, edx
mov edi, eax
cmp edi, 0x100
jae 0x42b06f
mov edi, 0x100
mov eax, dword [esi + 0x8508]
push eax
call fcn.00429570
add edi, 2
push edi
call dword [0x50c144]
add esp, 8
mov dword [esi + 0x8508], eax
cmp eax, ebp
je 0x42aeca
push edi
mov dword [esi + 0x850c], eax
call dword [0x50c144]
add esp, 4
mov dword [ebx + 0x54], eax
cmp eax, ebp
je 0x42aeca
mov dword [ebx + 0x5c], eax
mov byte [eax], 0
mov eax, ebx
mov ecx, esi
call fcn.00429d10
cmp eax, ebp
jne 0x42aecf
cmp byte [ebx + 0x111], 0
je 0x42b0e0
mov edi, ebx
call fcn.0042a4f0
cmp eax, ebp
jne 0x42aecf
mov eax, dword [esi + 0x2cc]
cmp eax, ebp
je 0x42b10d
push eax
call dword [0x50c150]
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x42b11c
push str.memory_shortage
push esi
call fcn.00425ca0
add esp, 8
jmp 0x42aeca
push ebx
call fcn.0042a0a0
mov edi, eax
add esp, 4
cmp edi, ebp
je 0x42b12d
cmp byte [edi], 0
jne 0x42b12d
push edi
call dword [0x50c148]
add esp, 4
xor edi, edi
test byte [ebx + 0x30], 1
je 0x42b16e
mov ecx, dword [esi + 0x308]
push ecx
lea edx, [ebx + 0x40]
push edx
push str._s:___s
call fcn.00428450
add esp, 0xc
cmp eax, ebp
jne 0x42b15d
push edi
call fcn.00429570
add esp, 4
jmp 0x42aeca
mov dword [esi + 0x308], eax
mov byte [esi + 0x30c], 1
and dword [ebx + 0x30], 0xfffffffe
push esi
mov eax, ebx
call fcn.0042a000
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x42b18f
push edi
call fcn.00429570
add esp, 4
mov eax, ebp
jmp 0x42aecf
test edi, edi
je 0x42b1a5
push edi
push esi
call fcn.0042a2f0
add esp, 8
test eax, eax
jne 0x42aecf
mov eax, dword [ebx + 0x30]
test eax, 0x100
je 0x42b219
mov eax, dword [ebx + 0x124]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x1b]
push ecx
push ebx
call edx
add esp, 8
test eax, eax
jne 0x42aecf
mov edi, esi
mov dword [ebx], esi
mov byte [ebx + 0x115], 1
call fcn.0042add0
call fcn.00429f60
mov esi, eax
push 0
test esi, esi
je 0x42b1ff
mov eax, dword [ebx + 0x124]
mov ecx, dword [eax + 0xc]
push esi
push ebx
call ecx
add esp, 0xc
mov eax, esi
jmp 0x42aecf
push 0xffffffffffffffff
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
call fcn.0042fda0
add esp, 0x20
jmp 0x42aecf
test eax, 0x400
je 0x42b230
cmp byte [ebx + 0x10f], 0
je 0x42b230
mov byte [ebx + 0x118], 1
mov byte [esp + 0x134], 0
mov byte [esp + 0x34], 0
test dword [ebx + 0x30], 0x3014
je 0x42b364
mov edx, dword [ebx + 0x5c]
push 0x40
push edx
call fcn.0049c470
mov ecx, dword [ebx + 0x5c]
add esp, 8
test eax, eax
je 0x42b364
inc eax
mov dword [ebx + 0x5c], eax
cmp dword [esi + 0x258], 2
je 0x42b364
mov byte [ebx + 0x110], 1
cmp byte [ecx], 0x3a
lea eax, [esp + 0x34]
push eax
je 0x42b29d
lea edx, [esp + 0x138]
push edx
push str._255_:__:_255___
push ecx
call fcn.0049b84a
add esp, 0x10
jmp 0x42b2ab
push str.:_255___
push ecx
call fcn.0049b84a
add esp, 0xc
cmp byte [esp + 0x134], 0
je 0x42b307
push 0
push 0
lea ecx, [esp + 0x13c]
push ecx
push esi
call fcn.0043e890
add esp, 0x10
test eax, eax
je 0x42aeca
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x42b2d7
sub ecx, edi
cmp ecx, 0x100
jae 0x42b2fd
lea edi, [esp + 0x134]
mov ecx, eax
sub edi, eax
mov dl, byte [ecx]
mov byte [edi + ecx], dl
inc ecx
test dl, dl
jne 0x42b2f3
push eax
call dword [0x50c148]
add esp, 4
cmp byte [esp + 0x34], 0
je 0x42b364
push 0
push 0
lea edx, [esp + 0x3c]
push edx
push esi
call fcn.0043e890
add esp, 0x10
test eax, eax
je 0x42aeca
mov ecx, eax
lea edi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x42b330
sub ecx, edi
cmp ecx, 0x100
jae 0x42b35a
lea edi, [esp + 0x34]
mov ecx, eax
sub edi, eax
lea esp, [esp]
mov dl, byte [ecx]
mov byte [edi + ecx], dl
inc ecx
test dl, dl
jne 0x42b350
push eax
call dword [0x50c148]
add esp, 4
mov ecx, dword [ebx + 0x5c]
lea eax, [esp + 0x13]
push eax
push str.__39_0_9a_fA_F:.__c
push ecx
call fcn.0049b84a
add esp, 0xc
cmp eax, 1
jne 0x42b3ac
cmp byte [esp + 0x13], 0x5d
jne 0x42b3ac
inc dword [ebx + 0x5c]
mov byte [ebx + 0x112], al
mov eax, dword [ebx + 0x5c]
push 0x5d
push eax
call fcn.0049c470
mov edi, eax
mov byte [edi], 0
inc edi
add esp, 8
cmp byte [edi], 0x3a
je 0x42b3bc
xor edi, edi
jmp 0x42b3bc
mov edx, dword [ebx + 0x5c]
push 0x3a
push edx
call fcn.0049d310
add esp, 8
mov edi, eax
cmp dword [esi + 0xfc], 0
je 0x42b440
cmp byte [esi + 0x8468], 0
je 0x42b440
mov ax, word [esi + 0xfc]
mov word [ebx + 0x78], ax
test edi, edi
je 0x42b3e0
mov byte [edi], 0
cmp byte [ebx + 0x10f], 0
je 0x42b48b
mov ecx, dword [esi + 0x850c]
movzx edx, word [ebx + 0x78]
mov eax, dword [ebx + 0x5c]
push ecx
push edx
push eax
lea ecx, [ebx + 0x40]
push ecx
push str._s:___s:_d_s
call fcn.00428450
mov edi, eax
add esp, 0x14
test edi, edi
je 0x42aeca
cmp byte [esi + 0x30c], 0
je 0x42b431
mov edx, dword [esi + 0x308]
push edx
call dword [0x50c148]
add esp, 4
mov dword [esi + 0x308], edi
mov byte [esi + 0x30c], 1
jmp 0x42b48b
test edi, edi
je 0x42b48b
push 0xa
lea eax, [esp + 0x34]
push eax
lea ebp, [edi + 1]
push ebp
call fcn.0049d109
mov ecx, dword [esp + 0x3c]
add esp, 0xc
cmp ecx, ebp
je 0x42b48b
cmp byte [ecx], 0
jne 0x42b48b
cmp eax, 0xffff
jbe 0x42b484
push eax
push str.Port_number_too_large:__lu
push esi
call fcn.00425ca0
add esp, 0xc
mov eax, 3
jmp 0x42aecf
mov byte [edi], 0
mov word [ebx + 0x78], ax
mov eax, dword [esi + 0x300]
test eax, eax
je 0x42b4b0
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x138]
push edx
push str._255_:_:_255__n_
push eax
call fcn.0049b84a
add esp, 0x10
mov byte [ebx + 0x11e], 0
cmp dword [esi + 0x258], 0
je 0x42b506
mov eax, dword [esi + 0x2c4]
push eax
mov eax, dword [ebx + 0x5c]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x13c]
push edx
push eax
call fcn.0043f590
add esp, 0x10
test eax, eax
je 0x42b4f8
mov ecx, dword [ebx + 0x5c]
push ecx
push str.Couldnt_find_host__s_in_the__netrc_file__using_defaults_n
push esi
call fcn.00425c10
add esp, 0xc
jmp 0x42b506
mov byte [ebx + 0x11e], 1
mov byte [ebx + 0x110], 1
test byte [ebx + 0x30], 0x10
je 0x42b52a
cmp byte [ebx + 0x110], 0
jne 0x42b52a
push str.anonymous
call dword [0x50c150]
mov dword [ebx + 0x7c], eax
push str.ftp_example.com
jmp 0x42b540
lea edx, [esp + 0x134]
push edx
call dword [0x50c150]
mov dword [ebx + 0x7c], eax
lea eax, [esp + 0x38]
push eax
call dword [0x50c150]
add esp, 8
cmp dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], eax
je 0x42aeca
test eax, eax
je 0x42aeca
mov eax, dword [esi + 0x2f8]
mov ecx, dword [esi + 0x2e8]
mov edx, dword [esi + 0x2ec]
mov dword [esi + 0x200], eax
lea ebp, [ebx + 0xd8]
mov dword [esi + 0x1f8], ecx
mov ecx, dword [esi + 0x2f4]
mov dword [esi + 0x1fc], edx
mov edx, dword [esi + 0x2f0]
lea eax, [esi + 0x1e8]
push ebp
push eax
mov dword [esi + 0x204], ecx
mov dword [esi + 0x208], edx
call fcn.004264c0
add esp, 8
test al, al
je 0x42aeca
cmp byte [esi + 0x25f], 0
je 0x42b5d1
cmp byte [esi + 0x8440], 0
je 0x42b784
lea ecx, [esp + 0x24]
push ecx
push esi
mov eax, ebx
call fcn.0042a980
add esp, 8
test al, al
je 0x42b784
mov edi, ebx
mov ebx, dword [ebx + 0x64]
test ebx, ebx
je 0x42b5fc
push ebx
call dword [0x50c148]
add esp, 4
push ebp
call fcn.00426570
mov ebx, dword [esp + 0x28]
mov edx, dword [edi]
mov dword [ebx], edx
mov al, byte [edi + 0x110]
add esp, 4
mov byte [ebx + 0x110], al
test al, al
je 0x42b652
mov eax, dword [ebx + 0x7c]
push eax
call fcn.00429570
mov ecx, dword [ebx + 0x80]
push ecx
call fcn.00429570
mov edx, dword [edi + 0x7c]
mov dword [ebx + 0x7c], edx
mov eax, dword [edi + 0x80]
mov dword [ebx + 0x80], eax
add esp, 8
xor eax, eax
mov dword [edi + 0x7c], eax
mov dword [edi + 0x80], eax
mov al, byte [edi + 0x111]
mov byte [ebx + 0x111], al
test al, al
je 0x42b6a3
mov ecx, dword [ebx + 0x84]
push ecx
call fcn.00429570
mov edx, dword [ebx + 0x88]
push edx
call fcn.00429570
mov eax, dword [edi + 0x84]
mov dword [ebx + 0x84], eax
mov ecx, dword [edi + 0x88]
add esp, 8
xor eax, eax
mov dword [ebx + 0x88], ecx
mov dword [edi + 0x84], eax
mov dword [edi + 0x88], eax
cmp byte [ebx + 0x10e], 0
lea eax, [ebx + 0x10e]
mov dword [esp + 0x20], eax
je 0x42b6da
mov edx, dword [ebx + 0x54]
push edx
call dword [0x50c148]
mov eax, dword [edi + 0x54]
mov dword [ebx + 0x54], eax
mov ecx, dword [edi + 0x58]
mov dword [ebx + 0x58], ecx
mov edx, dword [edi + 0x5c]
mov dword [ebx + 0x5c], edx
mov eax, dword [edi + 0x60]
mov dword [ebx + 0x60], eax
jmp 0x42b6e4
mov ecx, dword [edi + 0x54]
push ecx
call dword [0x50c148]
mov byte [ebx + 0x10d], 1
mov edx, dword [edi + 0x7c]
add esp, 4
push edx
call fcn.00429570
mov eax, dword [edi + 0x80]
push eax
call fcn.00429570
mov ecx, dword [edi + 0x84]
push ecx
call fcn.00429570
mov edx, dword [edi + 0x88]
push edx
call fcn.00429570
mov eax, dword [edi + 0x158]
push 0
push eax
call fcn.004353a0
mov ecx, dword [edi + 0x15c]
push 0
push ecx
call fcn.004353a0
mov edx, dword [edi + 0x160]
push 0
push edx
call fcn.004353a0
mov eax, dword [edi + 0x164]
push eax
call fcn.00429570
push edi
call dword [0x50c148]
mov ecx, dword [esp + 0x58]
add esp, 0x30
mov dword [ecx], ebx
cmp dword [ebx + 0x6c], 0
je 0x42b76c
mov eax, dword [ebx + 0x70]
jmp 0x42b76f
mov eax, dword [ebx + 0x60]
mov edx, dword [ebx + 0x2c]
push eax
push edx
push str.Re_using_existing_connection____ld__with_host__s_n
push esi
call fcn.00425c10
add esp, 0x10
jmp 0x42b78b
mov edi, esi
call fcn.0042add0
call fcn.00429f60
mov edi, eax
test edi, edi
jne 0x42b8cf
cmp byte [ebx + 0x10d], 0
mov eax, dword [esi + 0x138]
mov dword [ebx + 0x178], eax
mov ecx, dword [esi + 0xf4]
mov dword [ebx + 0x17c], ecx
mov edx, dword [esi + 0x118]
mov dword [ebx + 0x170], edx
mov eax, dword [esi + 0x158]
mov dword [ebx + 0x174], eax
je 0x42b7fb
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], edi
cmp byte [ecx], 0
je 0x42b8c5
mov edx, dword [ebx + 0x5c]
mov dword [ebx + 0x60], edx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov dword [edx], eax
mov eax, edi
jmp 0x42aecf
mov eax, dword [ebx + 0x5c]
mov dword [ebx + 0x60], eax
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x42b870
cmp byte [eax], 0
je 0x42b870
mov ecx, eax
lea edx, [esp + 0x14]
push edx
mov dword [ebx + 0x70], ecx
mov eax, dword [ebx + 0x74]
push eax
push ecx
push ebx
call fcn.00429320
add esp, 0x10
cmp eax, 1
jne 0x42b841
mov edx, dword [esp + 0x1c]
mov byte [edx], al
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov dword [edx], eax
mov eax, edi
jmp 0x42aecf
cmp dword [esp + 0x14], 0
jne 0x42b8c5
mov eax, dword [ebx + 0x70]
push eax
push str.Couldnt_resolve_proxy__s
push esi
call fcn.00425ca0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
mov edi, 5
mov dword [edx], eax
add esp, 0xc
mov eax, edi
jmp 0x42aecf
movzx eax, word [ebx + 0x78]
mov edx, dword [ebx + 0x5c]
lea ecx, [esp + 0x14]
push ecx
push eax
push edx
push ebx
mov dword [ebx + 0x74], eax
call fcn.00429320
add esp, 0x10
cmp eax, 1
jne 0x42b8a7
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov byte [eax], 1
mov eax, dword [esp + 0x14]
mov dword [edx], eax
mov eax, edi
jmp 0x42aecf
cmp dword [esp + 0x14], 0
jne 0x42b8c5
mov ecx, dword [ebx + 0x60]
push ecx
push str.Couldnt_resolve_host__s
push esi
call fcn.00425ca0
mov edi, 6
add esp, 0xc
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov dword [edx], eax
mov eax, edi
jmp 0x42aecf