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

Disassembly:
sub esp, 0x228
mov eax, dword [0x52d4d0]
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 0x42b491
pop edi
pop esi
lea eax, [ebp + 3]
pop ebp
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.004a58c9
add esp, 0x228
ret
push ebx
push 0x330
push 1
call dword [0x522154]
mov ebx, eax
add esp, 8
cmp ebx, ebp
jne 0x42b4c8
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.004a58c9
add esp, 0x228
ret
mov dword [edi], ebx
or eax, 0xffffffff
mov dword [ebx + str._no_protocol_], 0x4ed36c
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 0x42b507
cmp byte [eax], 0
je 0x42b507
mov al, 1
jmp 0x42b509
xor al, al
lea ecx, [ebx + 0x10e]
mov dword [esp + 0x20], ecx
mov byte [ecx], al
test al, al
je 0x42b525
cmp dword [ebx + 0x8c], ebp
jne 0x42b525
mov al, 1
jmp 0x42b527
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.00434980
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 0x42b5db
push eax
call fcn.00427000
add esp, 4
test al, al
je 0x42b5db
cmp dword [ebx + 0x164], ebp
jne 0x42b5db
push 1
push 0x4000
call dword [0x522154]
add esp, 8
mov dword [ebx + 0x164], eax
cmp eax, ebp
je 0x42b4aa
push fcn.0042a530
call fcn.00435860
push fcn.0042a530
mov dword [ebx + 0x158], eax
call fcn.00435860
push fcn.0042a530
mov dword [ebx + 0x15c], eax
call fcn.00435860
add esp, 0xc
mov dword [ebx + 0x160], eax
cmp dword [ebx + 0x158], ebp
je 0x42b4aa
cmp dword [ebx + 0x15c], ebp
je 0x42b4aa
cmp eax, ebp
je 0x42b4aa
mov eax, dword [esi + 0x308]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42b637
sub eax, edx
mov edi, eax
cmp edi, 0x100
jae 0x42b64f
mov edi, 0x100
mov eax, dword [esi + 0x8508]
push eax
call fcn.00429b40
add edi, 2
push edi
call dword [0x522144]
add esp, 8
mov dword [esi + 0x8508], eax
cmp eax, ebp
je 0x42b4aa
push edi
mov dword [esi + 0x850c], eax
call dword [0x522144]
add esp, 4
mov dword [ebx + 0x54], eax
cmp eax, ebp
je 0x42b4aa
mov dword [ebx + 0x5c], eax
mov byte [eax], 0
mov eax, ebx
mov ecx, esi
call fcn.0042a2e0
cmp eax, ebp
jne 0x42b4af
cmp byte [ebx + 0x111], 0
je 0x42b6c0
mov edi, ebx
call fcn.0042aad0
cmp eax, ebp
jne 0x42b4af
mov eax, dword [esi + 0x2cc]
cmp eax, ebp
je 0x42b6ed
push eax
call dword [0x522150]
mov edi, eax
add esp, 4
cmp edi, ebp
jne 0x42b6fc
push str.memory_shortage
push esi
call fcn.00426270
add esp, 8
jmp 0x42b4aa
push ebx
call fcn.0042a680
mov edi, eax
add esp, 4
cmp edi, ebp
je 0x42b70d
cmp byte [edi], 0
jne 0x42b70d
push edi
call dword [0x522148]
add esp, 4
xor edi, edi
test byte [ebx + 0x30], 1
je 0x42b74e
mov ecx, dword [esi + 0x308]
push ecx
lea edx, [ebx + 0x40]
push edx
push str._s:___s
call fcn.00428a20
add esp, 0xc
cmp eax, ebp
jne 0x42b73d
push edi
call fcn.00429b40
add esp, 4
jmp 0x42b4aa
mov dword [esi + 0x308], eax
mov byte [esi + 0x30c], 1
and dword [ebx + 0x30], 0xfffffffe
push esi
mov eax, ebx
call fcn.0042a5e0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x42b76f
push edi
call fcn.00429b40
add esp, 4
mov eax, ebp
jmp 0x42b4af
test edi, edi
je 0x42b785
push edi
push esi
call fcn.0042a8d0
add esp, 8
test eax, eax
jne 0x42b4af
mov eax, dword [ebx + 0x30]
test eax, 0x100
je 0x42b7f9
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 0x42b4af
mov edi, esi
mov dword [ebx], esi
mov byte [ebx + 0x115], 1
call fcn.0042b3b0
call fcn.0042a540
mov esi, eax
push 0
test esi, esi
je 0x42b7df
mov eax, dword [ebx + 0x124]
mov ecx, dword [eax + 0xc]
push esi
push ebx
call ecx
add esp, 0xc
mov eax, esi
jmp 0x42b4af
push 0xffffffffffffffff
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
call fcn.00430380
add esp, 0x20
jmp 0x42b4af
test eax, 0x400
je 0x42b810
cmp byte [ebx + 0x10f], 0
je 0x42b810
mov byte [ebx + 0x118], 1
mov byte [esp + 0x134], 0
mov byte [esp + 0x34], 0
test dword [ebx + 0x30], 0x3014
je 0x42b944
mov edx, dword [ebx + 0x5c]
push 0x40
push edx
call fcn.004aabe0
mov ecx, dword [ebx + 0x5c]
add esp, 8
test eax, eax
je 0x42b944
inc eax
mov dword [ebx + 0x5c], eax
cmp dword [esi + 0x258], 2
je 0x42b944
mov byte [ebx + 0x110], 1
cmp byte [ecx], 0x3a
lea eax, [esp + 0x34]
push eax
je 0x42b87d
lea edx, [esp + 0x138]
push edx
push str._255_:__:_255___
push ecx
call fcn.004a9fba
add esp, 0x10
jmp 0x42b88b
push str.:_255___
push ecx
call fcn.004a9fba
add esp, 0xc
cmp byte [esp + 0x134], 0
je 0x42b8e7
push 0
push 0
lea ecx, [esp + 0x13c]
push ecx
push esi
call fcn.0043ee70
add esp, 0x10
test eax, eax
je 0x42b4aa
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x42b8b7
sub ecx, edi
cmp ecx, 0x100
jae 0x42b8dd
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 0x42b8d3
push eax
call dword [0x522148]
add esp, 4
cmp byte [esp + 0x34], 0
je 0x42b944
push 0
push 0
lea edx, [esp + 0x3c]
push edx
push esi
call fcn.0043ee70
add esp, 0x10
test eax, eax
je 0x42b4aa
mov ecx, eax
lea edi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x42b910
sub ecx, edi
cmp ecx, 0x100
jae 0x42b93a
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 0x42b930
push eax
call dword [0x522148]
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.004a9fba
add esp, 0xc
cmp eax, 1
jne 0x42b98c
cmp byte [esp + 0x13], 0x5d
jne 0x42b98c
inc dword [ebx + 0x5c]
mov byte [ebx + 0x112], al
mov eax, dword [ebx + 0x5c]
push 0x5d
push eax
call fcn.004aabe0
mov edi, eax
mov byte [edi], 0
inc edi
add esp, 8
cmp byte [edi], 0x3a
je 0x42b99c
xor edi, edi
jmp 0x42b99c
mov edx, dword [ebx + 0x5c]
push 0x3a
push edx
call fcn.004aba80
add esp, 8
mov edi, eax
cmp dword [esi + 0xfc], 0
je 0x42ba20
cmp byte [esi + 0x8468], 0
je 0x42ba20
mov ax, word [esi + 0xfc]
mov word [ebx + 0x78], ax
test edi, edi
je 0x42b9c0
mov byte [edi], 0
cmp byte [ebx + 0x10f], 0
je 0x42ba6b
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.00428a20
mov edi, eax
add esp, 0x14
test edi, edi
je 0x42b4aa
cmp byte [esi + 0x30c], 0
je 0x42ba11
mov edx, dword [esi + 0x308]
push edx
call dword [0x522148]
add esp, 4
mov dword [esi + 0x308], edi
mov byte [esi + 0x30c], 1
jmp 0x42ba6b
test edi, edi
je 0x42ba6b
push 0xa
lea eax, [esp + 0x34]
push eax
lea ebp, [edi + 1]
push ebp
call fcn.004ab879
mov ecx, dword [esp + 0x3c]
add esp, 0xc
cmp ecx, ebp
je 0x42ba6b
cmp byte [ecx], 0
jne 0x42ba6b
cmp eax, 0xffff
jbe 0x42ba64
push eax
push str.Port_number_too_large:__lu
push esi
call fcn.00426270
add esp, 0xc
mov eax, 3
jmp 0x42b4af
mov byte [edi], 0
mov word [ebx + 0x78], ax
mov eax, dword [esi + 0x300]
test eax, eax
je 0x42ba90
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x138]
push edx
push str._255_:_:_255__n_
push eax
call fcn.004a9fba
add esp, 0x10
mov byte [ebx + 0x11e], 0
cmp dword [esi + 0x258], 0
je 0x42bae6
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.0043fb60
add esp, 0x10
test eax, eax
je 0x42bad8
mov ecx, dword [ebx + 0x5c]
push ecx
push str.Couldnt_find_host__s_in_the__netrc_file__using_defaults_n
push esi
call fcn.004261e0
add esp, 0xc
jmp 0x42bae6
mov byte [ebx + 0x11e], 1
mov byte [ebx + 0x110], 1
test byte [ebx + 0x30], 0x10
je 0x42bb0a
cmp byte [ebx + 0x110], 0
jne 0x42bb0a
push str.anonymous
call dword [0x522150]
mov dword [ebx + 0x7c], eax
push str.ftp_example.com
jmp 0x42bb20
lea edx, [esp + 0x134]
push edx
call dword [0x522150]
mov dword [ebx + 0x7c], eax
lea eax, [esp + 0x38]
push eax
call dword [0x522150]
add esp, 8
cmp dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], eax
je 0x42b4aa
test eax, eax
je 0x42b4aa
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.00426a90
add esp, 8
test al, al
je 0x42b4aa
cmp byte [esi + 0x25f], 0
je 0x42bbb1
cmp byte [esi + 0x8440], 0
je 0x42bd64
lea ecx, [esp + 0x24]
push ecx
push esi
mov eax, ebx
call fcn.0042af60
add esp, 8
test al, al
je 0x42bd64
mov edi, ebx
mov ebx, dword [ebx + 0x64]
test ebx, ebx
je 0x42bbdc
push ebx
call dword [0x522148]
add esp, 4
push ebp
call fcn.00426b40
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 0x42bc32
mov eax, dword [ebx + 0x7c]
push eax
call fcn.00429b40
mov ecx, dword [ebx + 0x80]
push ecx
call fcn.00429b40
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 0x42bc83
mov ecx, dword [ebx + 0x84]
push ecx
call fcn.00429b40
mov edx, dword [ebx + 0x88]
push edx
call fcn.00429b40
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 0x42bcba
mov edx, dword [ebx + 0x54]
push edx
call dword [0x522148]
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 0x42bcc4
mov ecx, dword [edi + 0x54]
push ecx
call dword [0x522148]
mov byte [ebx + 0x10d], 1
mov edx, dword [edi + 0x7c]
add esp, 4
push edx
call fcn.00429b40
mov eax, dword [edi + 0x80]
push eax
call fcn.00429b40
mov ecx, dword [edi + 0x84]
push ecx
call fcn.00429b40
mov edx, dword [edi + 0x88]
push edx
call fcn.00429b40
mov eax, dword [edi + 0x158]
push 0
push eax
call fcn.00435980
mov ecx, dword [edi + 0x15c]
push 0
push ecx
call fcn.00435980
mov edx, dword [edi + 0x160]
push 0
push edx
call fcn.00435980
mov eax, dword [edi + 0x164]
push eax
call fcn.00429b40
push edi
call dword [0x522148]
mov ecx, dword [esp + 0x58]
add esp, 0x30
mov dword [ecx], ebx
cmp dword [ebx + 0x6c], 0
je 0x42bd4c
mov eax, dword [ebx + 0x70]
jmp 0x42bd4f
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.004261e0
add esp, 0x10
jmp 0x42bd6b
mov edi, esi
call fcn.0042b3b0
call fcn.0042a540
mov edi, eax
test edi, edi
jne 0x42beaf
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 0x42bddb
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], edi
cmp byte [ecx], 0
je 0x42bea5
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 0x42b4af
mov eax, dword [ebx + 0x5c]
mov dword [ebx + 0x60], eax
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x42be50
cmp byte [eax], 0
je 0x42be50
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.004298f0
add esp, 0x10
cmp eax, 1
jne 0x42be21
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 0x42b4af
cmp dword [esp + 0x14], 0
jne 0x42bea5
mov eax, dword [ebx + 0x70]
push eax
push str.Couldnt_resolve_proxy__s
push esi
call fcn.00426270
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
mov edi, 5
mov dword [edx], eax
add esp, 0xc
mov eax, edi
jmp 0x42b4af
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.004298f0
add esp, 0x10
cmp eax, 1
jne 0x42be87
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 0x42b4af
cmp dword [esp + 0x14], 0
jne 0x42bea5
mov ecx, dword [ebx + 0x60]
push ecx
push str.Couldnt_resolve_host__s
push esi
call fcn.00426270
mov edi, 6
add esp, 0xc
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov dword [edx], eax
mov eax, edi
jmp 0x42b4af