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

Disassembly:
push 0xffffffffffffffff
push 0x102506d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
mov eax, dword [ebx + 0x1c]
push esi
cmp eax, ebp
push edi
mov dword [esp + 0x24], ebx
je 0x1004cf0d
lea eax, [esp + 0x20]
push eax
call fcn.1004c420
lea ecx, [esp + 0x7c]
mov dword [esp + 0x130], ebp
call fcn.100b3110
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x130], 1
push ecx
lea ecx, [esp + 0x80]
call fcn.10053730
test eax, eax
jne 0x1004cbf8
cmp dword [0x102f7658], ebp
je 0x1004cbea
push str.ParseMail_Parse_fail
push str.MailInfo
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x10
lea ecx, [esp + 0x7c]
call fcn.10054170
jmp 0x1004cee8
mov esi, dword [esp + 0x14c]
mov eax, dword [esp + 0x138]
mov ecx, dword [eax]
lea edx, [esi + 8]
mov dword [esi + 8], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x13c]
mov eax, dword [eax + 0xc]
mov dword [esi + 0x18], ecx
lea ecx, [esp + 0x10]
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0x140]
mov eax, dword [esp + 0x144]
push ecx
lea ecx, [esp + 0x80]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], eax
call fcn.10054180
push eax
lea ecx, [esi + 0x30]
mov byte [esp + 0x134], 2
call fcn.100836f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 1
call fcn.10083560
lea edx, [esp + 0x10]
lea ecx, [esp + 0x7c]
push edx
call fcn.10054220
push eax
lea ecx, [esi + 0x34]
mov byte [esp + 0x134], 3
call fcn.100836f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 1
call fcn.10083560
lea eax, [esp + 0x10]
lea ecx, [esp + 0x7c]
push eax
call fcn.10054300
push eax
lea ecx, [esi + 0x38]
mov byte [esp + 0x134], 4
call fcn.100836f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 1
call fcn.10083560
mov ecx, dword [esp + 0x148]
lea edx, [esp + 0x10]
push ecx
push edx
lea ecx, [esp + 0x84]
call fcn.10053950
push eax
lea ecx, [esi + 0x3c]
mov byte [esp + 0x134], 5
call fcn.100836f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 1
call fcn.10083560
lea eax, [esp + 0x10]
lea ecx, [esp + 0x7c]
push eax
call fcn.10054100
push eax
lea ecx, [esi + 0x40]
mov byte [esp + 0x134], 6
call fcn.100836f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 1
call fcn.10083560
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x80]
call fcn.10054020
push eax
lea ecx, [esi + 0x44]
mov byte [esp + 0x134], 7
call fcn.100836f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 1
call fcn.10083560
lea edx, [esp + 0x10]
lea ecx, [esp + 0x7c]
push edx
call fcn.10054090
push eax
lea ecx, [esi + 0x48]
mov byte [esp + 0x134], 8
call fcn.100836f0
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 1
call fcn.10083560
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x48]
lea ecx, [esp + 0x40]
push eax
push ecx
push edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x54], ebp
call fcn.100a7f30
add esp, 0xc
test eax, eax
je 0x1004cdda
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
xor eax, eax
xor edi, edi
or eax, edx
or ecx, edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
jmp 0x1004cdfb
cmp dword [0x102f7658], ebp
je 0x1004cdfb
push str.ParseMail_GetFileLenW_fail
push str.MailInfo
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x10
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebp
lea eax, [esp + 0x30]
lea ecx, [esp + 0x7c]
push eax
mov byte [esp + 0x134], 9
call fcn.10053eb0
cmp dword [esp + 0x34], ebp
jle 0x1004cf14
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebx
call fcn.1004c990
mov eax, dword [eax]
push 2
push eax
mov byte [esp + 0x138], 0xa
call fcn.100aad70
add esp, 8
lea ecx, [esp + 0x10]
mov edi, eax
mov byte [esp + 0x130], 9
call fcn.10083560
cmp dword [0x102f7658], ebp
je 0x1004ce81
push edi
push str.ParseMail_bMakeDir__d_
push str.MailInfo
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x14
cmp edi, ebp
jne 0x1004cf14
lea ecx, [esp + 0x7c]
call fcn.10054170
mov esi, dword [esp + 0x30]
mov byte [esp + 0x130], 1
cmp esi, ebp
je 0x1004cee8
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], esi
cmp eax, ebp
je 0x1004cedf
lea edi, [eax]
mov bl, 0xb
lea ecx, [esi + 8]
mov byte [esp + 0x130], bl
call fcn.10083560
lea ecx, [esi + 4]
mov byte [esp + 0x130], 1
call fcn.10083560
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x1004ceb2
mov esi, dword [esp + 0x30]
push esi
call fcn.1023d925
add esp, 4
lea ecx, [esp + 0x7c]
mov byte [esp + 0x130], 0
call fcn.100b3280
lea ecx, [esp + 0x20]
mov dword [esp + 0x130], 0xffffffff
call fcn.10083560
xor eax, eax
jmp 0x1004d2ee
mov eax, dword [0x1025e6e4]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
push 0x102e269c
lea ecx, [esp + 0x68]
mov byte [esp + 0x134], 0xf
mov dword [esp + 0x54], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
call fcn.100837e0
push 0x102e269c
lea ecx, [esp + 0x6c]
call fcn.100837e0
push 0x102e269c
lea ecx, [esp + 0x70]
call fcn.100837e0
push 0x102e269c
lea ecx, [esp + 0x74]
call fcn.100837e0
mov eax, dword [esp + 0x34]
mov byte [esp + 0x130], 0x10
cmp eax, ebp
mov dword [esp + 0x10], ebp
jle 0x1004d20b
xor ebx, ebx
jmp 0x1004cf9b
xor ebp, ebp
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x64]
mov edx, dword [ebx + eax]
lea eax, [ebx + eax + 8]
push eax
mov dword [esp + 0x54], edx
call fcn.100836f0
mov ecx, dword [0x1025e6e4]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x134], 0x11
call fcn.1004c990
mov ecx, dword [esp + 0x50]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x1c]
push str._s_lu
push eax
mov byte [esp + 0x140], 0x12
call fcn.100864e0
add esp, 0x10
lea ecx, [esp + 0x2c]
mov byte [esp + 0x130], 0x11
call fcn.10083560
mov ecx, dword [esp + 0x14]
push ebp
push ecx
call fcn.100aad70
add esp, 8
test eax, eax
je 0x1004d176
mov edx, dword [0x1025e6e4]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edx, [esp + 0x24]
push 0x102a8c4c
push edx
mov byte [esp + 0x140], 0x13
call fcn.100864e0
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.100602d0
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x90]
push edx
push eax
mov byte [esp + 0x150], 0x14
call fcn.10060380
add esp, 0x20
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x134], 0x15
call fcn.100836f0
lea ecx, [esp + 0x78]
mov byte [esp + 0x130], 0x14
call fcn.10083560
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
push ecx
push edx
lea ecx, [esp + 0x84]
call fcn.100527e0
test eax, eax
je 0x1004d1a6
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x68]
push eax
call fcn.100836f0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x44]
lea edx, [esp + 0x4c]
push ecx
push edx
push eax
mov dword [esp + 0x58], ebp
mov dword [esp + 0x50], ebp
call fcn.100a7f30
add esp, 0xc
test eax, eax
je 0x1004d0fe
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
xor ecx, ecx
xor edi, edi
or ecx, eax
or edx, edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x130], 0x13
call fcn.10083560
lea ecx, [esp + 0x1c]
mov byte [esp + 0x130], 0x11
call fcn.10083560
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], 0x10
call fcn.10083560
mov ebp, dword [esi + 0x50]
lea edi, [esi + 0x4c]
push 0xffffffffffffffff
lea ecx, [ebp + 1]
push ecx
mov ecx, edi
call fcn.100524e0
mov ecx, dword [edi]
lea eax, [ebp + ebp*4]
lea edx, [esp + 0x50]
push edx
lea ecx, [ecx + eax*8]
call fcn.10052660
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc eax
add ebx, 0xc
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x1004cf99
xor ebp, ebp
jmp 0x1004d207
cmp dword [0x102f7658], ebp
je 0x1004d19c
mov edx, dword [esp + 0x14]
push edx
push str.ParseMail_make_dir__s__fail
push str.MailInfo
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x14
mov dword [esp + 0x28], 1
jmp 0x1004d1f6
cmp dword [0x102f7658], ebp
je 0x1004d1cc
mov eax, dword [esp + 0x18]
push eax
push str.ParseMail_save_attach__s__fail
push str.MailInfo
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x14
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 1
mov byte [esp + 0x130], 0x13
call fcn.10083560
lea ecx, [esp + 0x1c]
mov byte [esp + 0x130], 0x11
call fcn.10083560
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], 0x10
call fcn.10083560
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x7c]
call fcn.10054170
push esi
mov ecx, ebx
call fcn.1004ebe0
mov edx, dword [esp + 0x28]
xor ecx, ecx
cmp edx, ebp
sete cl
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x70]
mov byte [esp + 0x130], 0x18
call fcn.10083560
lea ecx, [esp + 0x6c]
mov byte [esp + 0x130], 0x17
call fcn.10083560
lea ecx, [esp + 0x68]
mov byte [esp + 0x130], 0x16
call fcn.10083560
lea ecx, [esp + 0x64]
mov byte [esp + 0x130], 9
call fcn.10083560
mov esi, dword [esp + 0x30]
mov byte [esp + 0x130], 1
cmp esi, ebp
je 0x1004d2c5
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], esi
cmp eax, ebp
je 0x1004d2bc
lea edi, [eax]
mov bl, 0x19
lea ecx, [esi + 8]
mov byte [esp + 0x130], bl
call fcn.10083560
lea ecx, [esi + 4]
mov byte [esp + 0x130], 1
call fcn.10083560
add esi, 0xc
dec edi
mov dword [esp + 0x2c], esi
jne 0x1004d28f
mov esi, dword [esp + 0x30]
push esi
call fcn.1023d925
add esp, 4
lea ecx, [esp + 0x7c]
mov byte [esp + 0x130], 0
call fcn.100b3280
lea ecx, [esp + 0x20]
mov dword [esp + 0x130], 0xffffffff
call fcn.10083560
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret 0x18