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

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x2c]
push edi
mov dword [esp + 0x10], 0
mov byte [esp + 0x30], 0
push dword [ebx + 0x78]
call fcn.004e4990
push dword [ebx + 0x78]
mov dword [esp + 0x1c], eax
call fcn.004e49b0
mov edi, dword [esp + 0x3c]
add esp, 8
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov byte [eax], 0
mov dword [edi], 0
cmp dword [ebx + 0xaf0], 0
jne 0x4d8388
mov edi, 3
mov eax, edi
pop edi
pop ebx
add esp, 0x24
ret
push esi
push ebx
call fcn.004d7930
mov esi, eax
add esp, 4
test esi, esi
je 0x4d849c
push esi
push ebx
mov dword [edi], esi
call fcn.004da380
mov edi, eax
add esp, 8
test edi, edi
jne 0x4d89bc
mov eax, dword [ebx + 0xa28]
test eax, eax
je 0x4d83d4
push eax
call dword [0x5b6eac]
add esp, 4
mov dword [esi + 0x17c], eax
test eax, eax
je 0x4d849c
mov eax, dword [ebx + 0xa38]
test eax, eax
je 0x4d83f6
push eax
call dword [0x5b6eac]
add esp, 4
mov dword [esi + 0x180], eax
test eax, eax
je 0x4d849c
mov eax, dword [ebx + 0xa2c]
test eax, eax
je 0x4d8424
push eax
call dword [0x5b6eac]
add esp, 4
mov dword [esi + 0x584], eax
test eax, eax
je 0x4d849c
mov al, byte [ebx + 0xae6]
mov byte [esi + 0x588], al
push esi
call fcn.004d8d30
mov edi, eax
add esp, 4
test edi, edi
jne 0x4d89bc
mov eax, dword [esi + 0x2ec]
test byte [eax + 0x44], 1
je 0x4d8453
cmp byte [esi + 0x2aa], 0
je 0x4d8453
mov byte [esi + 0x2b3], 1
mov eax, dword [ebx + 0x5b8]
test eax, eax
je 0x4d84aa
cmp byte [ebx + 0xff8], 0
je 0x4d84aa
movzx eax, ax
push eax
push 0x562438
mov dword [esi + 0x100], eax
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.004f9330
push 0
lea eax, [esp + 0x34]
push eax
push 6
push dword [ebx + 0xfc4]
call fcn.004fcc50
add esp, 0x20
test eax, eax
je 0x4d84aa
mov edi, 0x1b
pop esi
mov eax, edi
pop edi
pop ebx
add esp, 0x24
ret
push ebp
lea eax, [esi + 0x178]
push eax
lea ecx, [esi + 0x174]
push ecx
lea ebp, [esi + 0x170]
push ebp
push esi
push ebx
call fcn.004d9800
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x4d89bb
mov eax, dword [esi + 0x2e8]
mov ecx, str.anonymous
mov dword [esp + 0x14], str.ftp_example.com
test byte [eax + 0x44], 0x20
je 0x4d84f6
cmp byte [esi + 0x2ac], 0
je 0x4d84ff
mov ecx, section..rdata
mov dword [esp + 0x14], ecx
cmp dword [ebp], edi
jne 0x4d8519
push ecx
call dword [0x5b6eac]
add esp, 4
mov dword [ebp], eax
test eax, eax
je 0x4d8bf5
cmp dword [esi + 0x174], edi
jne 0x4d853e
push dword [esp + 0x14]
call dword [0x5b6eac]
add esp, 4
mov dword [esi + 0x174], eax
test eax, eax
mov ecx, 0x1b
cmove edi, ecx
test edi, edi
jne 0x4d89bb
push dword [ebx + 0x820]
push esi
push ebx
call fcn.004d9c10
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4d89bb
lea eax, [esi + 0x94]
push eax
push esi
call fcn.004d9790
mov edi, eax
add esp, 8
test edi, edi
jne 0x4d89bb
cmp byte [esi + 0x2a7], al
je 0x4d859c
lea eax, [esi + 0xac]
push eax
push esi
call fcn.004d9790
mov edi, eax
add esp, 8
test edi, edi
jne 0x4d89bb
cmp byte [esi + 0x2aa], 0
je 0x4d85bf
lea eax, [esi + 0xdc]
push eax
push esi
call fcn.004d9790
mov edi, eax
add esp, 8
test edi, edi
jne 0x4d89bb
cmp byte [esi + 0x2ab], 0
je 0x4d85e2
lea eax, [esi + 0xbc]
push eax
push esi
call fcn.004d9790
mov edi, eax
add esp, 8
test edi, edi
jne 0x4d89bb
cmp byte [esi + 0x2a7], 0
je 0x4d860a
push dword [esi + 0x9c]
push dword [esi + 0xb4]
call fcn.004eb930
add esp, 8
test eax, eax
je 0x4d860a
mov byte [esi + 0x2a7], 0
mov cl, byte [esi + 0x2a8]
test cl, cl
je 0x4d862b
mov eax, dword [esi + 0x104]
cmp eax, dword [esi + 0x100]
jne 0x4d862b
mov byte [esi + 0x2a8], 0
xor cl, cl
cmp byte [esi + 0x2a7], 0
jne 0x4d8638
test cl, cl
je 0x4d8648
cmp byte [esi + 0x2aa], 0
je 0x4d8648
mov byte [esi + 0x2b3], 1
mov eax, dword [esi + 0x2e8]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4d866b
push esi
call ecx
mov edi, eax
add esp, 4
test edi, edi
jne 0x4d89bb
mov eax, dword [esi + 0x2e8]
cmp dword [esi + 0xfc], 0
jge 0x4d867d
mov eax, dword [eax + 0x3c]
mov dword [esi + 0xfc], eax
mov dword [esi + 0x1d4], 0x4e3bf0
mov dword [esi + 0x1dc], 0x4e3d30
mov dword [esi + 0x1d8], 0x4e3bf0
mov dword [esi + 0x1e0], 0x4e3d30
mov al, byte [ebx + 0xadd]
mov byte [esi + 0x2c0], al
mov eax, dword [ebx + 0x9ac]
mov dword [ebx + 0x840], eax
mov eax, dword [ebx + 0x9b0]
mov dword [ebx + 0x89c], eax
mov eax, dword [ebx + 0x9b4]
mov dword [ebx + 0x844], eax
mov eax, dword [ebx + 0x9b8]
mov dword [ebx + 0x8a0], eax
mov eax, dword [ebx + 0x9d8]
mov dword [ebx + 0x84c], eax
mov dword [ebx + 0x8a8], eax
mov eax, dword [ebx + 0x9d4]
mov dword [ebx + 0x850], eax
mov dword [ebx + 0x8ac], eax
mov eax, dword [ebx + 0x9c4]
mov dword [ebx + 0x854], eax
mov eax, dword [ebx + 0x9c8]
mov dword [ebx + 0x8b0], eax
mov eax, dword [ebx + 0x9cc]
mov dword [ebx + 0x858], eax
mov eax, dword [ebx + 0x9d0]
mov dword [ebx + 0x8b4], eax
mov eax, dword [ebx + 0x9bc]
mov dword [ebx + 0x85c], eax
mov eax, dword [ebx + 0x9c0]
mov dword [ebx + 0x8b8], eax
mov eax, dword [ebx + 0x9e0]
mov dword [ebx + 0x868], eax
mov eax, dword [ebx + 0x9e4]
mov dword [ebx + 0x8c4], eax
mov eax, dword [ebx + 0x9e8]
mov dword [ebx + 0x86c], eax
mov eax, dword [ebx + 0x9ec]
mov edx, dword [ebx + 0x944]
mov ecx, dword [ebx + 0x948]
mov dword [ebx + 0x8c8], eax
mov eax, dword [ebx + 0x94c]
mov dword [ebx + 0x87c], eax
mov eax, dword [ebx + 0x950]
mov dword [ebx + 0x8d8], eax
mov eax, dword [ebx + 0x978]
mov dword [ebx + 0x880], eax
mov eax, dword [ebx + 0x97c]
mov dword [ebx + 0x8dc], eax
mov eax, dword [ebx + 0x988]
mov dword [ebx + 0x884], eax
mov eax, dword [ebx + 0x98c]
mov dword [ebx + 0x8e0], eax
mov eax, dword [ebx + 0x980]
mov dword [ebx + 0x888], eax
mov eax, dword [ebx + 0x984]
mov dword [ebx + 0x8e4], eax
lea eax, [esi + 0x248]
push eax
lea eax, [ebx + 0x838]
mov dword [ebx + 0x878], edx
push eax
mov dword [ebx + 0x8d4], ecx
mov dword [ebx + 0x848], edx
mov dword [ebx + 0x8a4], ecx
call fcn.004e0480
add esp, 8
test al, al
je 0x4d8bf5
lea eax, [esi + 0x274]
push eax
lea eax, [ebx + 0x894]
push eax
call fcn.004e0480
add esp, 8
test al, al
je 0x4d8bf5
push ebx
call fcn.004da7b0
add esp, 4
cmp byte [ebx + 0xad1], 0
je 0x4d885c
cmp byte [ebx + 0xff5], 0
je 0x4d8903
cmp byte [ebx + 0xad5], 0
jne 0x4d8903
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x17]
push eax
lea eax, [esp + 0x20]
push eax
push esi
push ebx
call fcn.004d5ed0
add esp, 0x14
test al, al
je 0x4d8903
mov edi, dword [esp + 0x18]
push edi
push esi
call fcn.004daea0
push dword [esi + 0x244]
call dword [0x5b6ea4]
push esi
call dword [0x5b6ea4]
mov eax, dword [esp + 0x4c]
mov esi, edi
add esp, 0x10
mov dword [eax], edi
cmp dword [esi + 0xc4], 0
je 0x4d88c0
mov eax, dword [esi + 0xc8]
jmp 0x4d88d7
cmp dword [esi + 0xe4], 0
je 0x4d88d1
mov eax, dword [esi + 0xe8]
jmp 0x4d88d7
mov eax, dword [esi + 0xa0]
cmp byte [esi + 0x2a9], 0
mov ecx, str.host
push eax
mov eax, str.proxy
cmove eax, ecx
push eax
push dword [esi + 0x48]
push str.Re_using_existing_connection____ld__with__s__s_n
push ebx
call fcn.004e3a40
add esp, 0x14
jmp 0x4d8a7e
mov eax, dword [esi + 0x2e8]
test dword [eax + 0x44], 0x100
je 0x4d8932
cmp byte [ebx + 0xadf], 0
je 0x4d8922
mov byte [esi + 0x2c2], 1
cmp byte [ebx + 0xade], 0
je 0x4d8932
mov byte [esi + 0x2c1], 1
cmp byte [esp + 0x38], 0
jne 0x4d8998
lea eax, [esp + 0x38]
push eax
push dword [ebx + 0xc90]
push esi
call fcn.004ea3a0
mov ecx, dword [esp + 0x28]
add esp, 0xc
test ecx, ecx
je 0x4d89c5
test eax, eax
je 0x4d89c5
cmp dword [eax + 4], ecx
jb 0x4d89c5
push eax
push ebx
call fcn.004ea1a0
push ebx
mov edi, eax
call fcn.004ea8b0
add esp, 0xc
test edi, edi
je 0x4d8982
push 0
push edi
push ebx
call fcn.004d6c00
add esp, 0xc
jmp 0x4d89ce
push dword [esp + 0x1c]
push dword [esp + 0x3c]
push str.No_more_connections_allowed_to_host__s:__zu_n
push ebx
call fcn.004e3a40
add esp, 0x10
push str.No_connections_available._n
push ebx
call fcn.004e3a40
push esi
call fcn.004d7e70
mov eax, dword [esp + 0x48]
add esp, 0xc
mov edi, 0x59
mov dword [eax], 0
pop ebp
pop esi
mov eax, edi
pop edi
pop ebx
add esp, 0x24
ret
push ebx
call fcn.004ea8b0
add esp, 4
mov edi, dword [esp + 0x20]
test edi, edi
je 0x4d8a00
push ebx
call fcn.004ea870
add esp, 4
cmp eax, edi
jb 0x4d8a00
push ebx
call fcn.004ea250
add esp, 4
test eax, eax
je 0x4d8acd
push 0
push eax
push ebx
call fcn.004d6c00
add esp, 0xc
push esi
push dword [ebx + 0xc90]
call fcn.004e9ed0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4d89bb
test byte [ebx + 0xd34], 0x28
je 0x4d8a41
cmp byte [ebx + 0xd3c], al
je 0x4d8a41
push str.NTLM_picked_AND_auth_done_set__clear_picked__n
push ebx
call fcn.004e3a40
add esp, 8
mov dword [ebx + 0xd34], edi
mov byte [ebx + 0xd3c], 0
test byte [ebx + 0xd44], 0x28
lea edi, [ebx + 0xc90]
je 0x4d8a84
cmp byte [ebx + 0xd4c], 0
lea edi, [ebx + 0xc90]
je 0x4d8a84
push str.NTLM_proxy_picked_AND_auth_done_set__clear_picked__n
push ebx
call fcn.004e3a40
add esp, 8
mov dword [ebx + 0xd44], 0
mov byte [ebx + 0xd4c], 0
lea edi, [ebx + 0xc90]
mov byte [esi + 0x2b0], 0
cmp byte [ebx + 0xffb], 0
je 0x4d8aaa
mov eax, dword [esi + 0x2e8]
test dword [eax + 0x44], 0x1000
jne 0x4d8aaa
mov byte [ebx + 0xffb], 0
cmp byte [ebx + 0xacc], 0
mov byte [ebx + 0xfff], 0
mov byte [ebx + 0xffc], 0
je 0x4d8ae0
mov dword [ebx + 0x830], 6
jmp 0x4d8af3
push str.No_connections_available_in_cache_n
push ebx
call fcn.004e3a40
add esp, 8
jmp 0x4d8998
cmp dword [ebx + 0x830], 6
jne 0x4d8af3
mov dword [ebx + 0x830], 1
lea eax, [esp + 0x24]
push eax
call fcn.004fa740
push ebx
movups xmm0, xmmword [eax]
mov byte [ebx + 0x588], 1
mov dword [ebx + 0x98], 0
movups xmmword [ebx + 0xb8], xmm0
mov dword [ebx + 0x9c], 0
movups xmm0, xmmword [ebx + 0xb8]
movups xmmword [ebx + 0xc8], xmm0
mov eax, dword [ebx + 0xcb4]
mov dword [ebx + 0x134], eax
mov eax, dword [ebx + 0xcac]
mov dword [ebx + 0xe0], eax
mov byte [ebx + 0x58b], 0
call fcn.004fc170
push 0
push 0
push ebx
call fcn.004f80f0
push 0
push 0
push ebx
call fcn.004f8070
mov ecx, dword [ebx + 0x680]
add esp, 0x20
mov eax, dword [ebx + 0x684]
mov dword [edi + 0x300], ecx
or ecx, eax
mov dword [edi + 0x304], eax
jne 0x4d8b94
cmp dword [ebx + 0x9a0], ecx
jne 0x4d8b94
xor al, al
jmp 0x4d8c06
cmp byte [edi + 0x36e], 0
je 0x4d8bac
push dword [edi + 0x2f8]
call dword [0x5b6ea4]
add esp, 4
mov edx, dword [edi + 0x300]
mov eax, edx
mov ecx, dword [edi + 0x304]
or eax, ecx
je 0x4d8bcf
push ecx
push edx
push str._I64d_
call fcn.004f9280
add esp, 0xc
jmp 0x4d8bde
push dword [ebx + 0x9a0]
call dword [0x5b6eac]
add esp, 4
mov ecx, eax
test ecx, ecx
mov dword [edi + 0x2f8], ecx
setne al
mov byte [edi + 0x36e], al
test ecx, ecx
jne 0x4d8c04
pop ebp
mov edi, 0x1b
pop esi
mov eax, edi
pop edi
pop ebx
add esp, 0x24
ret
mov al, 1
push dword [esp + 0x40]
mov byte [edi + 0x36d], al
mov eax, dword [ebx + 0x5d8]
mov dword [esi + 0x380], eax
mov eax, dword [ebx + 0x628]
push esi
push ebx
mov dword [esi + 0x384], eax
call fcn.004dac10
lea edx, [esi + 0x94]
add esp, 0xc
mov edi, eax
test edx, edx
je 0x4d8c66
mov edx, dword [edx + 8]
test edx, edx
je 0x4d8c66
mov ecx, edx
lea ebx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d8c50
sub ecx, ebx
je 0x4d8c66
cmp byte [edx + ecx - 1], 0x2e
jne 0x4d8c66
mov byte [edx + ecx - 1], al
cmp byte [esi + 0x2aa], 0
je 0x4d8c9b
lea edx, [esi + 0xdc]
test edx, edx
je 0x4d8c9b
mov edx, dword [edx + 8]
test edx, edx
je 0x4d8c9b
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d8c85
sub ecx, ebx
je 0x4d8c9b
cmp byte [edx + ecx - 1], 0x2e
jne 0x4d8c9b
mov byte [edx + ecx - 1], al
cmp byte [esi + 0x2ab], 0
je 0x4d8cd6
lea edx, [esi + 0xbc]
test edx, edx
je 0x4d8cd6
mov edx, dword [edx + 8]
test edx, edx
je 0x4d8cd6
mov ecx, edx
lea ebx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d8cc0
sub ecx, ebx
je 0x4d8cd6
cmp byte [edx + ecx - 1], 0x2e
jne 0x4d8cd6
mov byte [edx + ecx - 1], al
cmp byte [esi + 0x2a7], 0
je 0x4d89bb
lea edx, [esi + 0xac]
test edx, edx
je 0x4d89bb
mov edx, dword [edx + 8]
test edx, edx
je 0x4d89bb
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d8d01
sub ecx, esi
je 0x4d89bb
cmp byte [edx + ecx - 1], 0x2e
jne 0x4d89bb
pop ebp
pop esi
mov byte [edx + ecx - 1], al
mov eax, edi
pop edi
pop ebx
add esp, 0x24
ret