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

Disassembly:
sub esp, 0x5c
mov eax, dword [0x100d5018]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x6c]
xor ebp, ebp
mov dword [esp + 0x10], eax
mov byte [esp + 0xe], 0
mov byte [esp + 0xf], 0
mov dword [esp + 0x24], 0
push edi
test esi, esi
je 0x10076d81
mov edi, esi
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x10076b40
sub edi, ecx
cmp edi, 0x7a1200
ja 0x10076d81
lea eax, [edi*2 + 2]
push eax
call dword [0x100d5030]
mov ebx, eax
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [eax + 0x28], ebx
test ebx, ebx
je 0x1007730f
lea eax, [edi + 1]
add eax, ebx
mov dword [esp + 0x18], eax
push 0x29
mov byte [eax], 0
lea eax, [esp + 0x40]
push eax
push esi
call fcn.10075830
mov edx, dword [esp + 0x84]
add esp, 0xc
test al, al
je 0x10076cf4
lea ebp, [esp + 0x3c]
mov byte [esp + 0x13], 1
lea ecx, [ebp + 1]
nop
mov al, byte [ebp]
inc ebp
test al, al
jne 0x10076bb0
lea eax, [esp + 0x3c]
sub ebp, ecx
push str.file
push eax
call fcn.10055190
add esp, 8
test eax, eax
je 0x10076cf0
add esi, 5
mov ecx, ebx
sub ecx, esi
nop dword [eax + eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x10076be0
xor ebp, ebp
push str.file
mov dword [esp + 0x1c], ebp
call dword [0x100d503c]
mov edi, dword [esp + 0x18]
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x1007730f
mov al, byte [ebx]
cmp al, 0x2f
jne 0x10076e3e
cmp byte [ebx + 1], al
jne 0x10076c95
mov cl, byte [ebx + 2]
add ebx, 2
mov al, cl
cmp cl, 0x2f
je 0x10076c8d
cmp cl, 0x61
jl 0x10076c35
cmp cl, 0x7a
jle 0x10076c3d
mov al, cl
sub al, 0x41
cmp al, 0x19
ja 0x10076c5b
mov al, byte [ebx + 1]
cmp al, 0x3a
je 0x10076c48
cmp al, 0x7c
jne 0x10076c5b
mov dl, byte [ebx + 2]
mov al, cl
cmp dl, 0x2f
je 0x10076c8d
cmp dl, 0x5c
je 0x10076c8d
test dl, dl
je 0x10076c8d
push 0xa
push ebx
push str.localhost_
call fcn.10055370
add esp, 0xc
test eax, eax
jne 0x10076c87
push 0xa
push ebx
push str.127.0.0.1_
call fcn.10055370
add esp, 0xc
test eax, eax
je 0x10076d81
mov al, byte [ebx + 9]
add ebx, 9
cmp al, 0x2f
jne 0x10076e3e
mov al, byte [ebx + 1]
lea edx, [ebx + 1]
cmp al, 0x61
jl 0x10076ca3
cmp al, 0x7a
jle 0x10076cad
sub al, 0x41
cmp al, 0x19
ja 0x10076e3e
mov al, byte [ebx + 2]
cmp al, 0x3a
je 0x10076cbc
cmp al, 0x7c
jne 0x10076e3e
mov al, byte [ebx + 3]
cmp al, 0x2f
je 0x10076ccf
cmp al, 0x5c
je 0x10076ccf
test al, al
jne 0x10076e3e
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10076cd4
sub ecx, esi
lea eax, [ecx + 1]
push eax
push edx
push ebx
call fcn.10087620
add esp, 0xc
jmp 0x10076e3e
mov edx, dword [esp + 0x78]
cmp byte [esp + 0x13], 0
mov byte [ebx], 0
je 0x10076d99
inc esi
xor eax, eax
add esi, ebp
je 0x10076d81
nop dword [eax]
cmp byte [esi], 0x2f
jne 0x10076d20
cmp eax, 4
jge 0x10076d20
inc eax
add esi, 1
jne 0x10076d10
dec eax
cmp eax, 2
ja 0x10076d81
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x2c], eax
call fcn.10050e30
add esp, 4
test eax, eax
jne 0x10076d5b
mov eax, dword [esp + 0x78]
test al, 8
jne 0x10076d5b
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10044b19
add esp, 0x5c
ret
lea edi, [esp + 0x3c]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x10076d62
lea eax, [esp + 0x3c]
sub edi, ecx
push 0x100ba114
push eax
call fcn.10095a90
add esp, 8
cmp eax, edi
je 0x10076db7
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10044b19
add esp, 0x5c
ret
test edx, 0x204
je 0x10076d81
test dl, 4
mov ebp, str.https
mov eax, 0
cmove ebp, eax
mov dword [esp + 0x28], ebp
jmp 0x10076dbb
mov edx, dword [esp + 0x78]
mov al, byte [esi]
mov ecx, esi
test al, al
je 0x10076dd7
cmp al, 0x2f
je 0x10076dd7
cmp al, 0x3f
je 0x10076dd7
cmp al, 0x23
je 0x10076dd7
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10076dc3
mov edi, esi
sub edi, ecx
je 0x10076df2
mov ebp, dword [esp + 0x18]
push edi
push ecx
push ebp
call fcn.10087620
add esp, 0xc
mov byte [edi + ebp], 0
jmp 0x10076dfa
test edx, 0x400
je 0x10076d81
mov edi, esi
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x10076e00
sub edi, ecx
push edi
push esi
push ebx
call fcn.10087620
mov eax, dword [esp + 0x34]
add esp, 0xc
mov byte [edi + ebx], 0
test eax, eax
je 0x10076e3a
push eax
call dword [0x100d503c]
mov edi, dword [esp + 0x18]
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x1007730f
jmp 0x10076e3e
mov edi, dword [esp + 0x14]
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10076e43
push 0x100ba114
push ebx
sub esi, ecx
call fcn.10095a90
add esp, 8
cmp eax, esi
jne 0x10076d81
mov eax, dword [esp + 0x78]
test al, al
jns 0x10076f65
cmp byte [ebx], 0
je 0x10076f65
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10076e80
sub ecx, edx
lea eax, [ecx + ecx*2]
push eax
call dword [0x100d5030]
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x1007730f
cmp byte [ebx], 0
mov dh, 1
mov byte [esp + 0x12], 1
mov esi, eax
mov edi, ebx
je 0x10076f59
cmp edi, ebx
jae 0x10076ec3
mov al, byte [edi]
mov byte [esi], al
jmp 0x10076f4a
mov dl, byte [edi]
cmp dl, 0x20
je 0x10076f35
xor ecx, ecx
movzx eax, dh
cmp dl, 0x3f
movzx ebp, dl
push ebp
cmovne ecx, eax
mov byte [esp + 0x23], cl
call fcn.10077540
add esp, 4
test eax, eax
jne 0x10076f24
push ebp
call fcn.100775e0
add esp, 4
test eax, eax
jne 0x10076f24
push ebp
call fcn.10077580
add esp, 4
test eax, eax
jne 0x10076f24
movzx eax, byte [edi]
push eax
push str.___02x
push 4
push esi
call fcn.1005e910
mov dh, byte [esp + 0x2f]
mov eax, 3
add esp, 0x10
add esi, eax
jmp 0x10076f4b
mov al, byte [edi]
mov dh, byte [esp + 0x1f]
mov byte [esi], al
mov eax, 1
add esi, eax
jmp 0x10076f4b
test dh, dh
je 0x10076f47
mov word [esi], 0x3225
mov byte [esi + 2], 0x30
add esi, 3
jmp 0x10076f4b
mov byte [esi], 0x2b
inc esi
inc edi
cmp byte [edi], 0
jne 0x10076eb6
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov ebx, eax
mov byte [esi], 0
mov dword [edi + 0x2c], eax
push 0x23
push ebx
call fcn.10087340
add esp, 8
test eax, eax
je 0x10076f92
mov byte [eax], 0
inc eax
cmp byte [eax], 0
je 0x10076f92
push eax
call dword [0x100d503c]
add esp, 4
mov dword [edi + 0x24], eax
test eax, eax
je 0x1007730f
push 0x3f
push ebx
call fcn.10087340
add esp, 8
test eax, eax
je 0x10076fba
mov byte [eax], 0
inc eax
push eax
call dword [0x100d503c]
add esp, 4
mov dword [edi + 0x20], eax
test eax, eax
je 0x1007730f
cmp byte [ebx], 0
je 0x10077053
test byte [esp + 0x78], 0x10
jne 0x1007702e
push ebx
call fcn.100848d0
mov esi, eax
add esp, 4
test esi, esi
je 0x1007730f
mov edx, ebx
mov ecx, esi
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x10077001
test al, al
je 0x10076ffd
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10077001
add ecx, 2
add edx, 2
test al, al
jne 0x10076fe1
xor eax, eax
jmp 0x10077006
sbb eax, eax
or eax, 1
test eax, eax
je 0x10077024
cmp byte [esp + 0x12], 0
je 0x1007701d
push dword [edi + 0x2c]
call dword [0x100d5034]
add esp, 4
mov ebx, esi
mov dword [edi + 0x2c], esi
jmp 0x10077041
push esi
call dword [0x100d5034]
add esp, 4
cmp byte [esp + 0x12], 0
jne 0x10077041
push ebx
call dword [0x100d503c]
add esp, 4
mov ebx, eax
mov dword [edi + 0x1c], ebx
test ebx, ebx
je 0x1007730f
mov dword [edi + 0x2c], 0
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x100773de
mov esi, ebp
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10077064
push 0x100ba114
push ebp
sub esi, ecx
call fcn.10095a90
add esp, 8
cmp eax, esi
jne 0x10076d81
xor edi, edi
push 0x40
push ebp
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], edi
call fcn.10087340
mov esi, eax
add esp, 8
mov ebx, ebp
test esi, esi
je 0x10077156
mov edi, dword [esp + 0x14]
inc esi
mov ebp, esi
mov eax, dword [edi]
test eax, eax
je 0x100770d1
push eax
call fcn.10050e30
add esp, 4
test eax, eax
je 0x100770d1
test dword [eax + 0x48], 0x400
je 0x100770d1
lea eax, [esp + 0x20]
jmp 0x100770d3
xor eax, eax
push eax
lea eax, [esp + 0x30]
sub esi, ebx
push eax
lea eax, [esp + 0x2c]
dec esi
push eax
push esi
push ebx
call fcn.100517e0
add esp, 0x14
test eax, eax
mov eax, dword [esp + 0x24]
je 0x100770fa
mov edi, 3
jmp 0x1007715a
mov ebx, dword [esp + 0x78]
test eax, eax
je 0x10077111
test bl, 0x20
je 0x1007710e
mov edi, 8
jmp 0x1007715e
mov dword [edi + 4], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1007711c
mov dword [edi + 8], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10077127
mov dword [edi + 0xc], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x16]
push eax
push str.__45_0123456789abcdefABCDEF:.__c_n
push ebp
call fcn.10004040
add esp, 0x10
cmp eax, 1
jne 0x100771e9
mov al, byte [esp + 0x12]
cmp al, 0x5d
jne 0x10077195
mov esi, dword [esp + 0x18]
jmp 0x100771d4
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x78]
push eax
call dword [0x100d5034]
push dword [esp + 0x30]
call dword [0x100d5034]
push dword [esp + 0x28]
call dword [0x100d5034]
add esp, 0xc
test edi, edi
je 0x10077127
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10044b19
add esp, 0x5c
ret
cmp al, 0x25
jne 0x10076d81
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x16]
push eax
lea eax, [esi + ebp]
push str._____c_n
push eax
call fcn.10004040
add esp, 0x10
cmp eax, 1
jne 0x10076d81
cmp byte [esp + 0x12], 0x5d
jne 0x10076d81
add esi, dword [esp + 0x18]
add esi, ebp
test esi, esi
je 0x1007721d
mov al, byte [esi]
test al, al
je 0x1007721d
cmp al, 0x3a
je 0x100771fa
jmp 0x10076d81
push 0x3a
push ebp
call fcn.10087340
mov esi, eax
add esp, 8
test esi, esi
je 0x1007721d
mov al, byte [esi + 1]
lea edi, [esi + 1]
test al, al
jne 0x10077299
mov byte [esi], al
movzx eax, byte [esp + 0x13]
xor eax, 1
shl eax, 2
test eax, eax
jne 0x10076d86
mov edi, dword [esp + 0x14]
mov ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10077226
sub ecx, edx
jne 0x10077239
test ebx, 0x400
jne 0x1007724b
push ebp
push edi
call fcn.10076930
add esp, 8
test eax, eax
jne 0x10076d86
push ebp
call dword [0x100d503c]
add esp, 4
mov dword [edi + 0x10], eax
test eax, eax
je 0x1007730f
test ebx, 0x200
je 0x100773de
cmp dword [esp + 0x28], 0
jne 0x100773de
push 4
push ebp
push str.ftp.
call fcn.10055370
add esp, 0xc
test eax, eax
je 0x1007733f
mov ecx, 0x100b4f1c
jmp 0x100773ca
movzx eax, al
push eax
call fcn.10077560
add esp, 4
test eax, eax
je 0x10077327
push 0xa
lea eax, [esp + 0x34]
push eax
push edi
call fcn.1008fcb8
mov edi, eax
add esp, 0xc
lea ecx, [edi - 1]
cmp ecx, 0xfffe
ja 0x10077327
mov eax, dword [esp + 0x30]
cmp byte [eax], 0
jne 0x10077327
push edi
mov byte [esi], 0
push 0x100b5e9c
mov byte [eax], 0
lea eax, [esp + 0x3c]
push 7
push eax
call fcn.1005e910
mov eax, dword [esp + 0x24]
mov dword [eax + 0x30], edi
lea eax, [esp + 0x44]
push eax
call dword [0x100d503c]
mov edi, dword [esp + 0x28]
add esp, 0x14
mov dword [edi + 0x18], eax
test eax, eax
jne 0x10077221
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10044b19
add esp, 0x5c
ret
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.10044b19
add esp, 0x5c
ret
push 5
push ebp
push str.dict.
call fcn.10055370
add esp, 0xc
test eax, eax
je 0x1007735a
mov ecx, str.dict
jmp 0x100773ca
push 5
push ebp
push str.ldap.
call fcn.10055370
add esp, 0xc
test eax, eax
je 0x10077375
mov ecx, str.ldap
jmp 0x100773ca
push 5
push ebp
push str.imap.
call fcn.10055370
add esp, 0xc
test eax, eax
je 0x10077390
mov ecx, str.imap
jmp 0x100773ca
push 5
push ebp
push str.smtp.
call fcn.10055370
add esp, 0xc
test eax, eax
je 0x100773ab
mov ecx, str.smtp
jmp 0x100773ca
push 5
push ebp
push str.pop3.
call fcn.10055370
add esp, 0xc
mov ecx, str.pop3
test eax, eax
mov edx, str.http
cmove ecx, edx
push ecx
call dword [0x100d503c]
add esp, 4
mov dword [edi], eax
test eax, eax
je 0x1007730f
push dword [edi + 0x28]
call dword [0x100d5034]
push dword [edi + 0x2c]
mov dword [edi + 0x28], 0
call dword [0x100d5034]
mov ecx, dword [esp + 0x70]
add esp, 8
mov dword [edi + 0x2c], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10044b19
add esp, 0x5c
ret