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

Disassembly:
push 0xffffffffffffffff
push 0x1025e96a
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 + 0x20], esi
push eax
call fcn.1009cf30
lea ecx, [esp + 0x14]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0x19c], ebx
mov dword [esp + 0x74], ebx
call fcn.10055970
lea ecx, [esp + 0xe4]
mov byte [esp + 0x198], 1
call fcn.100be170
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0xe4]
push edx
mov byte [esp + 0x19c], 2
call fcn.1005dd00
test eax, eax
je 0x1005c8a2
lea ecx, [esp + 0x78]
call fcn.10054c50
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.1005e750
push eax
lea ecx, [esp + 0xac]
mov byte [esp + 0x19c], 4
call fcn.1008ee20
lea ecx, [esp + 0xc]
mov byte [esp + 0x198], 3
call fcn.1008ec90
lea eax, [esp + 0xc]
lea ecx, [esp + 0xe4]
push eax
call fcn.1005e7f0
push eax
lea ecx, [esp + 0xb0]
mov byte [esp + 0x19c], 5
call fcn.1008ee20
lea ecx, [esp + 0xc]
mov byte [esp + 0x198], 3
call fcn.1008ec90
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xe8]
call fcn.1005e8d0
push eax
lea ecx, [esp + 0xb4]
mov byte [esp + 0x19c], 6
call fcn.1008ee20
lea ecx, [esp + 0xc]
mov byte [esp + 0x198], 3
call fcn.1008ec90
mov edx, dword [esp + 0x1a4]
lea eax, [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0xec]
call fcn.1005df20
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0x19c], 7
call fcn.1008ee20
lea ecx, [esp + 0xc]
mov byte [esp + 0x198], 3
call fcn.1008ec90
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0xe8]
call fcn.1005e6d0
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x19c], 8
call fcn.1008ee20
lea ecx, [esp + 0xc]
mov byte [esp + 0x198], 3
call fcn.1008ec90
lea edx, [esp + 0xc]
lea ecx, [esp + 0xe4]
push edx
call fcn.1005e5f0
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x19c], 9
call fcn.1008ee20
mov byte [esp + 0x198], 3
lea ecx, [esp + 0xc]
call fcn.1008ec90
lea eax, [esp + 0xc]
lea ecx, [esp + 0xe4]
push eax
call fcn.1005e660
push eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0x19c], 0xa
call fcn.1008ee20
lea ecx, [esp + 0xc]
mov byte [esp + 0x198], 3
call fcn.1008ec90
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x74]
push ecx
push edx
push eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x78], ebx
call fcn.100b3600
add esp, 0xc
test eax, eax
je 0x1005c3b0
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
xor ecx, ecx
xor edi, edi
or ecx, eax
or edx, edi
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
jmp 0x1005c3d1
cmp dword [0x1030aa70], ebx
je 0x1005c3d1
push str.ParseMail_GetFileLenW_fail
push str.MailInfo
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x10
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x198], 0xb
push ecx
lea ecx, [esp + 0xe8]
call fcn.1005e480
cmp dword [esp + 0x2c], ebx
jle 0x1005c45e
lea edx, [esp + 0xc]
mov ecx, esi
push edx
call fcn.10055df0
mov eax, dword [eax]
push 2
push eax
mov byte [esp + 0x1a0], 0xc
call fcn.100b6440
add esp, 8
lea ecx, [esp + 0xc]
mov edi, eax
mov byte [esp + 0x198], 0xb
call fcn.1008ec90
cmp dword [0x1030aa70], ebx
je 0x1005c456
push edi
push str.ParseMail_bMakeDir__d_
push str.MailInfo
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
cmp edi, ebx
je 0x1005c8d4
mov eax, dword [0x1026c87c]
push ebp
mov dword [esp + 0x64], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
push 0x102f440c
lea ecx, [esp + 0x54]
mov byte [esp + 0x1a0], 0x12
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call fcn.1008ef10
push 0x102f440c
lea ecx, [esp + 0x58]
call fcn.1008ef10
push 0x102f440c
lea ecx, [esp + 0x5c]
call fcn.1008ef10
push 0x102f440c
lea ecx, [esp + 0x60]
call fcn.1008ef10
push 0x102f440c
lea ecx, [esp + 0x64]
call fcn.1008ef10
mov eax, dword [esp + 0x30]
xor ebp, ebp
cmp eax, ebx
mov byte [esp + 0x19c], 0x13
jle 0x1005c7cb
xor edi, edi
push 0x102f440c
lea ecx, [esp + 0x54]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call fcn.1008ef10
push 0x102f440c
lea ecx, [esp + 0x58]
call fcn.1008ef10
push 0x102f440c
lea ecx, [esp + 0x5c]
call fcn.1008ef10
push 0x102f440c
lea ecx, [esp + 0x60]
call fcn.1008ef10
push 0x102f440c
lea ecx, [esp + 0x64]
call fcn.1008ef10
mov eax, dword [esp + 0x2c]
mov ecx, dword [edi + eax]
lea edx, [edi + eax + 8]
mov dword [esp + 0x3c], ecx
push edx
lea ecx, [esp + 0x54]
call fcn.1008ee20
mov eax, dword [0x1026c87c]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x19c], 0x14
push ecx
mov ecx, esi
call fcn.10055df0
mov edx, dword [esp + 0x3c]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x1c]
push str._s_lu
push ecx
mov byte [esp + 0x1ac], 0x15
call fcn.10091c10
add esp, 0x10
lea ecx, [esp + 0x68]
mov byte [esp + 0x19c], 0x14
call fcn.1008ec90
mov edx, dword [esp + 0x14]
push ebx
push edx
call fcn.100b6440
add esp, 8
test eax, eax
je 0x1005c729
lea eax, [esp + 0x50]
lea ecx, [esp + 0x24]
push eax
call fcn.1008e290
push ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a0], 0x16
call fcn.1008f960
push eax
call fcn.1006b9d0
mov ecx, dword [0x1026c87c]
add esp, 4
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x24]
push 0x102b8718
push ecx
mov byte [esp + 0x1ac], 0x17
call fcn.10091c10
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x38]
push edx
push eax
call fcn.1006a8d0
add esp, 0x18
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0xf0]
mov byte [esp + 0x1a4], 0x18
call fcn.1005cdb0
test eax, eax
je 0x1005c759
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x54]
push eax
call fcn.1008ee20
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x10]
push ecx
push edx
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x78], ebx
call fcn.100b3600
add esp, 0xc
test eax, eax
je 0x1005c69c
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x6c]
xor ecx, ecx
xor esi, esi
or ecx, eax
or edx, esi
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x19c], 0x17
call fcn.1008ec90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x19c], 0x16
call fcn.1008ec90
lea ecx, [esp + 0x24]
mov byte [esp + 0x19c], 0x14
call fcn.1008ec90
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], 0x13
call fcn.1008ec90
mov esi, dword [esp + 0xcc]
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
lea ecx, [esp + 0xd0]
call fcn.1005ca90
mov ecx, dword [esp + 0xc8]
lea eax, [esi + esi*4]
lea edx, [esp + 0x3c]
push edx
lea ecx, [ecx + eax*8]
call fcn.1005cc10
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
inc ebp
add edi, 0xc
cmp ebp, eax
jl 0x1005c4f2
jmp 0x1005c7cb
cmp dword [0x1030aa70], ebx
je 0x1005c74f
mov edx, dword [esp + 0x14]
push edx
push str.ParseMail_make_dir__s__fail
push str.MailInfo
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
mov dword [esp + 0x64], 1
jmp 0x1005c7ba
cmp dword [0x1030aa70], ebx
je 0x1005c77f
mov eax, dword [esp + 0x1c]
push eax
push str.ParseMail_save_attach__s__fail
push str.MailInfo
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
lea ecx, [esp + 0x28]
mov dword [esp + 0x64], 1
mov byte [esp + 0x19c], 0x17
call fcn.1008ec90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x19c], 0x16
call fcn.1008ec90
lea ecx, [esp + 0x24]
mov byte [esp + 0x19c], 0x14
call fcn.1008ec90
lea ecx, [esp + 0x14]
mov byte [esp + 0x19c], 0x13
call fcn.1008ec90
lea ecx, [esp + 0xe8]
call fcn.1005e740
mov eax, dword [esp + 0x64]
pop ebp
cmp eax, ebx
jne 0x1005c935
lea ecx, [esp + 0x78]
push ecx
mov ecx, esi
call fcn.10058180
mov dword [esp + 0x70], 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x198], 0x21
call fcn.1008ec90
lea ecx, [esp + 0x58]
mov byte [esp + 0x198], 0x20
call fcn.1008ec90
lea ecx, [esp + 0x54]
mov byte [esp + 0x198], 0x1f
call fcn.1008ec90
lea ecx, [esp + 0x50]
mov byte [esp + 0x198], 0x1e
call fcn.1008ec90
lea ecx, [esp + 0x4c]
mov byte [esp + 0x198], 0xb
call fcn.1008ec90
mov esi, dword [esp + 0x28]
mov byte [esp + 0x198], 3
cmp esi, ebx
je 0x1005c9df
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], esi
cmp eax, ebx
je 0x1005c9d6
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0x198], 0x22
call fcn.1008ec90
lea ecx, [esi + 4]
mov byte [esp + 0x198], 3
call fcn.1008ec90
add esi, 0xc
dec edi
mov dword [esp + 0x1c], esi
jne 0x1005c873
jmp 0x1005c9d2
cmp dword [0x1030aa70], ebx
je 0x1005c8c3
push str.ParseMail_Parse_fail
push str.MailInfo
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x10
lea ecx, [esp + 0xe4]
call fcn.1005e740
jmp 0x1005c9f0
lea ecx, [esp + 0xe4]
call fcn.1005e740
mov esi, dword [esp + 0x28]
mov byte [esp + 0x198], 3
cmp esi, ebx
je 0x1005c9df
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x64], esi
cmp eax, ebx
je 0x1005c9d6
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0x198], 0xd
call fcn.1008ec90
lea ecx, [esi + 4]
mov byte [esp + 0x198], 3
call fcn.1008ec90
add esi, 0xc
dec edi
mov dword [esp + 0x64], esi
jne 0x1005c906
jmp 0x1005c9d2
lea ecx, [esp + 0x5c]
mov byte [esp + 0x198], 0x1c
call fcn.1008ec90
lea ecx, [esp + 0x58]
mov byte [esp + 0x198], 0x1b
call fcn.1008ec90
lea ecx, [esp + 0x54]
mov byte [esp + 0x198], 0x1a
call fcn.1008ec90
lea ecx, [esp + 0x50]
mov byte [esp + 0x198], 0x19
call fcn.1008ec90
lea ecx, [esp + 0x4c]
mov byte [esp + 0x198], 0xb
call fcn.1008ec90
mov esi, dword [esp + 0x28]
mov byte [esp + 0x198], 3
cmp esi, ebx
je 0x1005c9df
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], esi
cmp eax, ebx
je 0x1005c9d6
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0x198], 0x1d
call fcn.1008ec90
lea ecx, [esi + 4]
mov byte [esp + 0x198], 3
call fcn.1008ec90
add esi, 0xc
dec edi
mov dword [esp + 0x1c], esi
jne 0x1005c9a8
mov esi, dword [esp + 0x28]
push esi
call fcn.1024ac9a
add esp, 4
lea ecx, [esp + 0x78]
mov byte [esp + 0x198], 2
call fcn.10054d10
lea ecx, [esp + 0xe4]
mov byte [esp + 0x198], 1
call fcn.100be2e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x198], bl
call fcn.1008ec90
lea ecx, [esp + 0xd8]
mov dword [esp + 0x198], 0xffffffff
call fcn.1009cf90
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