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

Disassembly:
push 0xffffffffffffffff
push 0x10251029
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
push ebx
push esi
mov esi, ecx
push edi
push 1
lea ecx, [esp + 0xdc]
lea eax, [esi + 0x14]
mov dword [esp + 0x68], esi
push eax
call fcn.10091800
lea ecx, [esp + 0x18]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0x19c], ebx
mov dword [esp + 0x74], ebx
call fcn.1004c420
lea ecx, [esp + 0xe4]
mov byte [esp + 0x198], 1
call fcn.100b3110
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xe4]
push edx
mov byte [esp + 0x19c], 2
call fcn.10053730
test eax, eax
je 0x10052307
lea ecx, [esp + 0x78]
call fcn.1004b690
lea eax, [esp + 0x80]
mov byte [esp + 0x198], 3
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov ecx, dword [esp + 0x1a0]
lea edx, [esp + 0xc]
mov dword [esp + 0x98], ecx
push edx
lea ecx, [esp + 0xe8]
call fcn.10054180
push eax
lea ecx, [esp + 0xac]
mov byte [esp + 0x19c], 4
call fcn.100836f0
lea ecx, [esp + 0xc]
mov byte [esp + 0x198], 3
call fcn.10083560
lea eax, [esp + 0xc]
lea ecx, [esp + 0xe4]
push eax
call fcn.10054220
push eax
lea ecx, [esp + 0xb0]
mov byte [esp + 0x19c], 5
call fcn.100836f0
lea ecx, [esp + 0xc]
mov byte [esp + 0x198], 3
call fcn.10083560
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xe8]
call fcn.10054300
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0x19c], 6
call fcn.100836f0
lea ecx, [esp + 0xc]
mov byte [esp + 0x198], 3
call fcn.10083560
mov edx, dword [esp + 0x1a4]
lea eax, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0xec]
call fcn.10053950
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0x19c], 7
call fcn.100836f0
lea ecx, [esp + 0xc]
mov byte [esp + 0x198], 3
call fcn.10083560
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xe8]
call fcn.10054100
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x19c], 8
call fcn.100836f0
lea ecx, [esp + 0xc]
mov byte [esp + 0x198], 3
call fcn.10083560
lea edx, [esp + 0xc]
lea ecx, [esp + 0xe4]
push edx
call fcn.10054020
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x19c], 9
call fcn.100836f0
mov byte [esp + 0x198], 3
lea ecx, [esp + 0xc]
call fcn.10083560
lea eax, [esp + 0xc]
lea ecx, [esp + 0xe4]
push eax
call fcn.10054090
push eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0x19c], 0xa
call fcn.100836f0
lea ecx, [esp + 0xc]
mov byte [esp + 0x198], 3
call fcn.10083560
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x74]
lea edx, [esp + 0x68]
push ecx
push edx
push eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x80], ebx
call fcn.100a7f30
add esp, 0xc
test eax, eax
je 0x10051e60
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x74]
xor ecx, ecx
xor edi, edi
or ecx, eax
or edx, edi
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
jmp 0x10051e81
cmp dword [0x102f7658], ebx
je 0x10051e81
push str.ParseMail_GetFileLenW_fail
push str.MailInfo
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x10
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x24]
mov byte [esp + 0x198], 0xb
push ecx
lea ecx, [esp + 0xe8]
call fcn.10053eb0
cmp dword [esp + 0x28], ebx
jle 0x10051f0e
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.1004c990
mov eax, dword [eax]
push 2
push eax
mov byte [esp + 0x1a0], 0xc
call fcn.100aad70
add esp, 8
lea ecx, [esp + 0xc]
mov edi, eax
mov byte [esp + 0x198], 0xb
call fcn.10083560
cmp dword [0x102f7658], ebx
je 0x10051f06
push edi
push str.ParseMail_bMakeDir__d_
push str.MailInfo
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x14
cmp edi, ebx
je 0x10052339
mov eax, dword [0x1025e6e4]
push ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
push 0x102e269c
lea ecx, [esp + 0x58]
mov byte [esp + 0x1a0], 0x11
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.100837e0
push 0x102e269c
lea ecx, [esp + 0x5c]
call fcn.100837e0
push 0x102e269c
lea ecx, [esp + 0x60]
call fcn.100837e0
push 0x102e269c
lea ecx, [esp + 0x64]
call fcn.100837e0
mov eax, dword [esp + 0x2c]
xor ebp, ebp
cmp eax, ebx
mov byte [esp + 0x19c], 0x12
jle 0x10052241
xor edi, edi
push 0x102e269c
lea ecx, [esp + 0x58]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.100837e0
push 0x102e269c
lea ecx, [esp + 0x5c]
call fcn.100837e0
push 0x102e269c
lea ecx, [esp + 0x60]
call fcn.100837e0
push 0x102e269c
lea ecx, [esp + 0x64]
call fcn.100837e0
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + eax]
lea edx, [edi + eax + 8]
mov dword [esp + 0x40], ecx
push edx
lea ecx, [esp + 0x58]
call fcn.100836f0
mov eax, dword [0x1025e6e4]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x19c], 0x13
push ecx
mov ecx, esi
call fcn.1004c990
mov edx, dword [esp + 0x40]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x1c]
push str._s_lu
push ecx
mov byte [esp + 0x1ac], 0x14
call fcn.100864e0
add esp, 0x10
lea ecx, [esp + 0x24]
mov byte [esp + 0x19c], 0x13
call fcn.10083560
mov edx, dword [esp + 0x14]
push ebx
push edx
call fcn.100aad70
add esp, 8
test eax, eax
je 0x100521b0
mov eax, dword [0x1025e6e4]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x20]
push 0x102a8c4c
push eax
mov byte [esp + 0x1ac], 0x15
call fcn.100864e0
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x30]
push ecx
push edx
call fcn.100602d0
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x54]
push eax
push ecx
mov byte [esp + 0x1bc], 0x16
call fcn.10060380
add esp, 0x20
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1a0], 0x17
call fcn.100836f0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x19c], 0x16
call fcn.10083560
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0xf0]
call fcn.100527e0
test eax, eax
je 0x100521e0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x5c]
call fcn.100836f0
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x70]
lea eax, [esp + 0x10]
push edx
push eax
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x7c], ebx
call fcn.100a7f30
add esp, 0xc
test eax, eax
je 0x10052134
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x70]
xor edx, edx
xor esi, esi
or edx, ecx
or eax, esi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x19c], 0x15
call fcn.10083560
lea ecx, [esp + 0x18]
mov byte [esp + 0x19c], 0x13
call fcn.10083560
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], 0x12
call fcn.10083560
mov esi, dword [esp + 0xcc]
push 0xffffffffffffffff
lea ecx, [esp + 0xcc]
lea edx, [esi + 1]
push edx
call fcn.100524e0
mov edx, dword [esp + 0xc8]
lea ecx, [esi + esi*4]
lea eax, [esp + 0x40]
push eax
lea ecx, [edx + ecx*8]
call fcn.10052660
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x68]
inc ebp
add edi, 0xc
cmp ebp, eax
jl 0x10051f90
jmp 0x10052241
cmp dword [0x102f7658], ebx
je 0x100521d6
mov eax, dword [esp + 0x14]
push eax
push str.ParseMail_make_dir__s__fail
push str.MailInfo
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x14
mov dword [esp + 0x38], 1
jmp 0x10052230
cmp dword [0x102f7658], ebx
je 0x10052206
mov ecx, dword [esp + 0x18]
push ecx
push str.ParseMail_save_attach__s__fail
push str.MailInfo
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x14
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 1
mov byte [esp + 0x19c], 0x15
call fcn.10083560
lea ecx, [esp + 0x18]
mov byte [esp + 0x19c], 0x13
call fcn.10083560
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], 0x12
call fcn.10083560
lea ecx, [esp + 0xe8]
call fcn.10054170
mov eax, dword [esp + 0x38]
pop ebp
cmp eax, ebx
jne 0x1005239a
lea edx, [esp + 0x78]
mov ecx, esi
push edx
call fcn.1004ebe0
mov dword [esp + 0x70], 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x198], 0x1e
call fcn.10083560
lea ecx, [esp + 0x58]
mov byte [esp + 0x198], 0x1d
call fcn.10083560
lea ecx, [esp + 0x54]
mov byte [esp + 0x198], 0x1c
call fcn.10083560
lea ecx, [esp + 0x50]
mov byte [esp + 0x198], 0xb
call fcn.10083560
mov esi, dword [esp + 0x24]
mov byte [esp + 0x198], 3
cmp esi, ebx
je 0x10052433
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], esi
cmp eax, ebx
je 0x1005242a
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0x198], 0x1f
call fcn.10083560
lea ecx, [esi + 4]
mov byte [esp + 0x198], 3
call fcn.10083560
add esi, 0xc
dec edi
mov dword [esp + 0x20], esi
jne 0x100522d8
jmp 0x10052426
cmp dword [0x102f7658], ebx
je 0x10052328
push str.ParseMail_Parse_fail
push str.MailInfo
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x10
lea ecx, [esp + 0xe4]
call fcn.10054170
jmp 0x10052444
lea ecx, [esp + 0xe4]
call fcn.10054170
mov esi, dword [esp + 0x24]
mov byte [esp + 0x198], 3
cmp esi, ebx
je 0x10052433
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], esi
cmp eax, ebx
je 0x1005242a
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0x198], 0xd
call fcn.10083560
lea ecx, [esi + 4]
mov byte [esp + 0x198], 3
call fcn.10083560
add esi, 0xc
dec edi
mov dword [esp + 0x38], esi
jne 0x1005236b
jmp 0x10052426
lea ecx, [esp + 0x5c]
mov byte [esp + 0x198], 0x1a
call fcn.10083560
lea ecx, [esp + 0x58]
mov byte [esp + 0x198], 0x19
call fcn.10083560
lea ecx, [esp + 0x54]
mov byte [esp + 0x198], 0x18
call fcn.10083560
lea ecx, [esp + 0x50]
mov byte [esp + 0x198], 0xb
call fcn.10083560
mov esi, dword [esp + 0x24]
mov byte [esp + 0x198], 3
cmp esi, ebx
je 0x10052433
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], esi
cmp eax, ebx
je 0x1005242a
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0x198], 0x1b
call fcn.10083560
lea ecx, [esi + 4]
mov byte [esp + 0x198], 3
call fcn.10083560
add esi, 0xc
dec edi
mov dword [esp + 0x20], esi
jne 0x100523fc
mov esi, dword [esp + 0x24]
push esi
call fcn.1023d925
add esp, 4
lea ecx, [esp + 0x78]
mov byte [esp + 0x198], 2
call fcn.1004b750
lea ecx, [esp + 0xe4]
mov byte [esp + 0x198], 1
call fcn.100b3280
lea ecx, [esp + 0x18]
mov byte [esp + 0x198], bl
call fcn.10083560
lea ecx, [esp + 0xd8]
mov dword [esp + 0x198], 0xffffffff
call fcn.10091860
mov ecx, dword [esp + 0x190]
mov eax, dword [esp + 0x70]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x190
ret 8