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

Disassembly:
push 0xffffffffffffffff
push 0x561c93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x28], esi
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa4], 0
mov byte [esp + 0x1c], al
call fcn.004e55c0
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x5c], cl
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa4], 1
call fcn.004e55c0
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0xa4], 2
mov byte [esp + 0x30], dl
call fcn.004e55c0
mov al, byte [esp + 0x13]
mov bl, 3
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0xa4], bl
mov byte [esp + 0x44], al
call fcn.004e55c0
mov edi, 0x8b6128
or ecx, 0xffffffff
xor eax, eax
lea edx, [esi + 0x3ed8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0xa0], 4
push ecx
push eax
push 0x8b6128
mov ecx, edx
call fcn.004e13f0
cmp eax, 0xffffffff
jne 0x4e0750
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0xa4], bl
call fcn.004e55c0
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0xa4], 2
call fcn.004e55c0
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa4], 1
call fcn.004e55c0
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa4], 0
call fcn.004e55c0
push 1
lea ecx, [esp + 0xac]
mov dword [esp + 0xa4], 0xffffffff
call fcn.004e55c0
xor al, al
jmp 0x4e0c49
add eax, 4
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xac]
xor ebx, ebx
cmp eax, ebx
jne 0x4e0769
mov eax, 0x876ae8
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x50]
push ecx
lea esi, [ebp + 0x3ed8]
push edx
push eax
mov ecx, esi
call fcn.004e13f0
cmp eax, 0xffffffff
je 0x4e0b60
mov ecx, dword [esp + 0xb0]
lea edx, [eax + ecx + 2]
mov eax, dword [esp + 0xac]
cmp eax, ebx
mov dword [esp + 0x54], edx
jne 0x4e07b0
mov eax, 0x876ae8
push ecx
push edx
push eax
mov ecx, esi
call fcn.004e13f0
cmp eax, 0xffffffff
mov dword [esp + 0x3c], eax
je 0x4e0b60
mov ecx, eax
mov eax, dword [esp + 0x54]
sub ecx, eax
lea edx, [esp + 0x78]
push ecx
push eax
push edx
mov ecx, esi
call fcn.004e0eb0
mov ecx, dword [0x876aec]
mov byte [esp + 0xa0], 5
push ecx
push ebx
push eax
lea ecx, [esp + 0x24]
call fcn.004e1110
push 1
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa4], 4
call fcn.004e55c0
mov edi, 0x8b6124
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x876aec]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0x8b6124
lea ecx, [esp + 0x24]
call fcn.004e1480
cmp eax, 0xffffffff
je 0x4e0b60
mov ecx, dword [esp + 0x20]
lea edi, [eax - 1]
mov esi, ecx
sub esi, eax
inc esi
cmp ecx, edi
jae 0x4e084d
call fcn.005457a0
lea ecx, [esp + 0x18]
call fcn.004e1690
mov eax, dword [esp + 0x20]
sub eax, edi
cmp eax, esi
jae 0x4e0862
mov esi, eax
cmp esi, ebx
jbe 0x4e089e
mov edx, dword [esp + 0x1c]
sub eax, esi
push eax
lea ecx, [edx + edi]
lea edx, [esi + ecx]
push edx
push ecx
call fcn.004e8640
mov edi, dword [esp + 0x2c]
add esp, 0xc
sub edi, esi
lea ecx, [esp + 0x18]
push ebx
push edi
call fcn.004e1570
test al, al
je 0x4e089e
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], edi
mov byte [eax + edi], 0
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x2c]
push ebx
push edx
sub esp, 0x10
mov dword [esp + 0x68], ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.004e0c70
mov ecx, ebp
call fcn.004df7a0
test al, al
je 0x4e0757
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x68]
push ecx
push edx
call fcn.004db5c0
add esp, 8
lea ecx, [esp + 0x68]
push 1
call fcn.004e55c0
lea eax, [esp + 0x40]
push 1
push eax
lea edx, [esp + 0x20]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.004e0c70
mov ecx, ebp
call fcn.004df7a0
lea eax, [esp + 0x40]
lea ecx, [esp + 0x88]
push eax
push ecx
call fcn.004db5c0
add esp, 8
lea ecx, [esp + 0x88]
push 1
call fcn.004e55c0
mov edi, str.MULTIPART_RELATED
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x34]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.MULTIPART_RELATED
push edx
push ebx
lea ecx, [esp + 0x3c]
call fcn.004e54d0
cmp eax, ebx
jne 0x4e099f
lea eax, [esp + 0x58]
lea edx, [esp + 0x18]
push eax
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.004e0c70
mov ecx, ebp
call fcn.004dfac0
test al, al
je 0x4e0757
push 1
lea eax, [esp + 0x5c]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.004e0c70
mov ecx, ebp
call fcn.004e0230
jmp 0x4e0757
mov edi, str.MULTIPART_ALTERNATIVE
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x38]
push str.MULTIPART_ALTERNATIVE
push ecx
push ebx
lea ecx, [esp + 0x3c]
call fcn.004e54d0
cmp eax, ebx
jne 0x4e0a0f
lea edx, [esp + 0x58]
lea eax, [esp + 0x18]
push edx
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.004e0c70
mov ecx, ebp
call fcn.004dfac0
test al, al
je 0x4e0757
push 1
lea edx, [esp + 0x5c]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.004e0c70
mov ecx, ebp
call fcn.004dfd70
jmp 0x4e0757
mov edi, str.TEXT_PLAIN
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x34]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, edx
cmp edx, ebp
jb 0x4e0a2c
mov ecx, ebp
mov esi, dword [esp + 0x30]
mov edi, str.TEXT_PLAIN
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4e0a40
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4e0aa2
cmp edx, ebp
jb 0x4e0aa2
cmp edx, ebp
setne al
test eax, eax
jne 0x4e0aa2
mov edi, str.ATTACHMENT
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x48]
not ecx
dec ecx
push ecx
push str.ATTACHMENT
push eax
push 0
lea ecx, [esp + 0x50]
call fcn.004e54d0
test eax, eax
je 0x4e0a9e
push 0
lea edx, [esp + 0xac]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.004e0c70
mov ecx, dword [esp + 0x3c]
call fcn.004dfd70
jmp 0x4e0757
mov edx, dword [esp + 0x34]
mov edi, str.TEXT_HTML
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, edx
cmp edx, ebp
jb 0x4e0abb
mov ecx, ebp
mov esi, dword [esp + 0x30]
mov edi, str.TEXT_HTML
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4e0acf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4e0b46
cmp edx, ebp
jb 0x4e0b46
cmp edx, ebp
setne al
test eax, eax
jne 0x4e0b46
mov edi, str.ATTACHMENT
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x48]
not ecx
dec ecx
mov ebp, ecx
mov ecx, eax
cmp eax, ebp
jb 0x4e0afb
mov ecx, ebp
mov esi, dword [esp + 0x44]
mov edi, str.ATTACHMENT
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4e0b0f
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
jne 0x4e0b20
cmp eax, ebp
jb 0x4e0b20
cmp eax, ebp
setne dl
test edx, edx
je 0x4e0b46
push 0
lea eax, [esp + 0xac]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.004e0c70
mov ecx, dword [esp + 0x3c]
call fcn.004dfd70
jmp 0x4e0757
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x54]
push 0
push ecx
mov ecx, dword [esp + 0x30]
push edx
call fcn.004dc220
jmp 0x4e0757
mov ecx, dword [esp + 0x44]
cmp ecx, ebx
je 0x4e0b84
mov al, byte [ecx - 1]
test al, al
je 0x4e0b7a
cmp al, 0xff
je 0x4e0b7a
dec al
mov byte [ecx - 1], al
jmp 0x4e0b84
dec ecx
push ecx
call fcn.005498b7
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x44], ebx
cmp ecx, ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
je 0x4e0bb4
mov al, byte [ecx - 1]
test al, al
je 0x4e0baa
cmp al, 0xff
je 0x4e0baa
dec al
mov byte [ecx - 1], al
jmp 0x4e0bb4
dec ecx
push ecx
call fcn.005498b7
add esp, 4
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x30], ebx
cmp ecx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
je 0x4e0be4
mov al, byte [ecx - 1]
test al, al
je 0x4e0bda
cmp al, 0xff
je 0x4e0bda
dec al
mov byte [ecx - 1], al
jmp 0x4e0be4
dec ecx
push ecx
call fcn.005498b7
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x5c], ebx
cmp ecx, ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
je 0x4e0c14
mov al, byte [ecx - 1]
test al, al
je 0x4e0c0a
cmp al, 0xff
je 0x4e0c0a
dec al
mov byte [ecx - 1], al
jmp 0x4e0c14
dec ecx
push ecx
call fcn.005498b7
add esp, 4
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x1c], ebx
cmp ecx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
je 0x4e0c47
mov al, byte [ecx - 1]
test al, al
je 0x4e0c3d
cmp al, 0xff
je 0x4e0c3d
dec al
mov byte [ecx - 1], al
jmp 0x4e0c47
dec ecx
push ecx
call fcn.005498b7
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x94
ret 0x10