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

Disassembly:
push 0xffffffffffffffff
push 0x561c08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov al, byte [esp + 0x90]
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x7c], 0
mov byte [esp + 0x14], al
call fcn.004e55c0
mov cl, byte [esp + 0x90]
push 0
mov byte [esp + 0x34], cl
lea ecx, [esp + 0x34]
mov byte [esp + 0x7c], 1
call fcn.004e55c0
mov dl, byte [esp + 0x90]
push 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 2
mov byte [esp + 0x24], dl
call fcn.004e55c0
mov edi, 0x8b6128
or ecx, 0xffffffff
xor eax, eax
add esi, 0x3ed8
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x78], 3
push ecx
push eax
push 0x8b6128
mov ecx, esi
call fcn.004e13f0
mov ebp, eax
or edi, 0xffffffff
cmp ebp, edi
je 0x4dfe4d
mov al, byte [esp + 0x90]
add ebp, 4
test al, al
je 0x4dfeb0
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x4dfe38
mov eax, 0x876ae8
mov ecx, dword [esp + 0x88]
push ecx
push ebp
push eax
mov ecx, esi
call fcn.004e13f0
cmp eax, edi
jne 0x4dfea5
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 2
call fcn.004e55c0
push 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x7c], 1
call fcn.004e55c0
push 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0
call fcn.004e55c0
push 1
lea ecx, [esp + 0x84]
mov dword [esp + 0x7c], edi
call fcn.004e55c0
xor al, al
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x70
ret 0x14
mov edx, dword [esp + 0x88]
lea ebp, [edx + eax + 2]
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x4dfec0
mov eax, 0x876ae8
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0xc]
push ecx
push ebp
push eax
lea ecx, [edx + 0x3ed8]
call fcn.004e13f0
cmp eax, 0xffffffff
je 0x4e015f
mov ecx, dword [esp + 0x88]
lea esi, [eax + ecx + 2]
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x4dfefd
mov eax, 0x876ae8
push ecx
push esi
push eax
mov eax, dword [esp + 0x18]
lea edi, [eax + 0x3ed8]
mov ecx, edi
call fcn.004e13f0
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4e015f
mov ecx, ebp
lea edx, [esp + 0x40]
sub ecx, esi
push ecx
push esi
push edx
mov ecx, edi
call fcn.004e0eb0
mov ecx, dword [0x876aec]
mov byte [esp + 0x78], 4
push ecx
push 0
push eax
lea ecx, [esp + 0x1c]
call fcn.004e1110
push 1
lea ecx, [esp + 0x44]
mov byte [esp + 0x7c], 3
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 + 0x1c]
call fcn.004e1480
cmp eax, 0xffffffff
je 0x4e015f
mov ecx, dword [esp + 0x18]
lea edi, [eax - 1]
mov esi, ecx
sub esi, eax
inc esi
cmp ecx, edi
jae 0x4dff99
call fcn.005457a0
lea ecx, [esp + 0x10]
call fcn.004e1690
mov eax, dword [esp + 0x18]
sub eax, edi
cmp eax, esi
jae 0x4dffae
mov esi, eax
test esi, esi
jbe 0x4dffeb
mov edx, dword [esp + 0x14]
sub eax, esi
push eax
lea ecx, [edx + edi]
lea edx, [ecx + esi]
push edx
push ecx
call fcn.004e8640
mov edi, dword [esp + 0x24]
add esp, 0xc
sub edi, esi
lea ecx, [esp + 0x10]
push 0
push edi
call fcn.004e1570
test al, al
je 0x4dffeb
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], edi
mov byte [eax + edi], 0
lea ecx, [esp + 0x30]
push 0
push ecx
lea edx, [esp + 0x18]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0xa8], esp
push edx
call fcn.004e0c70
mov ecx, dword [esp + 0x24]
call fcn.004df7a0
test al, al
je 0x4dfeb0
lea eax, [esp + 0x20]
push 1
push eax
lea edx, [esp + 0x18]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0xa8], esp
push edx
call fcn.004e0c70
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.004df7a0
lea eax, [esp + 0x30]
lea ecx, [esp + 0x50]
push eax
push ecx
call fcn.004db5c0
add esp, 8
lea ecx, [esp + 0x50]
push 1
call fcn.004e55c0
lea edx, [esp + 0x20]
lea eax, [esp + 0x60]
push edx
push eax
call fcn.004db5c0
add esp, 8
lea ecx, [esp + 0x60]
push 1
call fcn.004e55c0
mov edi, str.TEXT_PLAIN
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x3c]
push str.TEXT_PLAIN
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.004e54d0
test eax, eax
jne 0x4e00e6
mov edi, str.ATTACHMENT
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x28]
not ecx
dec ecx
push ecx
push str.ATTACHMENT
push edx
push eax
lea ecx, [esp + 0x30]
call fcn.004e54d0
test eax, eax
je 0x4e00e6
mov eax, dword [0x876aec]
lea ecx, [esp + 0x10]
push eax
push 0
push ecx
lea ecx, [esi + 0x3f08]
call fcn.004e1110
jmp 0x4dfeb0
mov edi, str.TEXT_HTML
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.TEXT_HTML
push edx
push eax
lea ecx, [esp + 0x40]
call fcn.004e54d0
test eax, eax
jne 0x4dfeb0
mov edi, str.ATTACHMENT
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x28]
not ecx
dec ecx
push ecx
push str.ATTACHMENT
push eax
push 0
lea ecx, [esp + 0x30]
call fcn.004e54d0
test eax, eax
je 0x4dfeb0
mov ecx, dword [0x876aec]
mov eax, dword [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 0x3f18]
call fcn.004e1110
jmp 0x4dfeb0
mov ecx, dword [esp + 0x24]
xor esi, esi
cmp ecx, esi
je 0x4e0185
mov al, byte [ecx - 1]
test al, al
je 0x4e017b
cmp al, 0xff
je 0x4e017b
dec al
mov byte [ecx - 1], al
jmp 0x4e0185
dec ecx
push ecx
call fcn.005498b7
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], esi
cmp ecx, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
je 0x4e01b5
mov al, byte [ecx - 1]
test al, al
je 0x4e01ab
cmp al, 0xff
je 0x4e01ab
dec al
mov byte [ecx - 1], al
jmp 0x4e01b5
dec ecx
push ecx
call fcn.005498b7
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], esi
cmp ecx, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
je 0x4e01e5
mov al, byte [ecx - 1]
test al, al
je 0x4e01db
cmp al, 0xff
je 0x4e01db
dec al
mov byte [ecx - 1], al
jmp 0x4e01e5
dec ecx
push ecx
call fcn.005498b7
add esp, 4
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], esi
cmp ecx, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
je 0x4e0218
mov al, byte [ecx - 1]
test al, al
je 0x4e020e
cmp al, 0xff
je 0x4e020e
dec al
mov byte [ecx - 1], al
jmp 0x4e0218
dec ecx
push ecx
call fcn.005498b7
add esp, 4
mov ecx, dword [esp + 0x70]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebp
add esp, 0x70
ret 0x14