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

Disassembly:
push 0xffffffffffffffff
push 0x1025e020
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
push 1
lea eax, [ebp + 0x14]
lea ecx, [esp + 0xe8]
push eax
call fcn.1009cf30
mov eax, dword [esp + 0x1c0]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x1a4], ebx
mov dword [esp + 0x78], ebx
je 0x100572c9
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x1c4]
mov dword [ebp + 0x10], eax
mov ecx, dword [0x1026c87c]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a4], 1
mov eax, dword [edx]
push eax
call fcn.1008ef10
cmp dword [ebp + 0x1c], ebx
je 0x100572b9
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.10055970
lea ecx, [esp + 0xf0]
mov byte [esp + 0x1a4], 2
call fcn.100be170
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0xf0]
push edx
mov byte [esp + 0x1a8], 3
call fcn.1005dd00
test eax, eax
je 0x10057143
lea ecx, [esp + 0x84]
call fcn.10054c50
mov eax, dword [esp + 0x1ac]
mov byte [esp + 0x1a4], 4
mov ecx, dword [eax]
mov dword [esp + 0x8c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x90], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x1b4]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x1b0]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x1b8]
lea eax, [esp + 0x10]
mov dword [esp + 0xa0], ecx
push eax
lea ecx, [esp + 0xf4]
mov dword [esp + 0xa8], edx
call fcn.1005e750
push eax
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1a8], 5
call fcn.1008ee20
lea ecx, [esp + 0x10]
mov byte [esp + 0x1a4], 4
call fcn.1008ec90
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0xf4]
call fcn.1005e7f0
push eax
lea ecx, [esp + 0xbc]
mov byte [esp + 0x1a8], 6
call fcn.1008ee20
lea ecx, [esp + 0x10]
mov byte [esp + 0x1a4], 4
call fcn.1008ec90
lea edx, [esp + 0x10]
lea ecx, [esp + 0xf0]
push edx
call fcn.1005e8d0
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x1a8], 7
call fcn.1008ee20
lea ecx, [esp + 0x10]
mov byte [esp + 0x1a4], 4
call fcn.1008ec90
mov eax, dword [esp + 0x1bc]
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0xf8]
call fcn.1005df20
push eax
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1a8], 8
call fcn.1008ee20
lea ecx, [esp + 0x10]
mov byte [esp + 0x1a4], 4
call fcn.1008ec90
lea edx, [esp + 0x10]
lea ecx, [esp + 0xf0]
push edx
call fcn.1005e6d0
push eax
lea ecx, [esp + 0xc8]
mov byte [esp + 0x1a8], 9
call fcn.1008ee20
lea ecx, [esp + 0x10]
mov byte [esp + 0x1a4], 4
call fcn.1008ec90
lea eax, [esp + 0x10]
lea ecx, [esp + 0xf0]
push eax
call fcn.1005e5f0
push eax
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1a8], 0xa
call fcn.1008ee20
lea ecx, [esp + 0x10]
mov byte [esp + 0x1a4], 4
call fcn.1008ec90
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0xf4]
call fcn.1005e660
push eax
lea ecx, [esp + 0xd0]
mov byte [esp + 0x1a8], 0xb
call fcn.1008ee20
lea ecx, [esp + 0x10]
mov byte [esp + 0x1a4], 4
call fcn.1008ec90
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x7c]
lea eax, [esp + 0x70]
push edx
push eax
push ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x88], ebx
call fcn.100b3600
add esp, 0xc
test eax, eax
je 0x10056b62
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x7c]
xor edx, edx
xor esi, esi
or edx, ecx
or eax, esi
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], eax
jmp 0x10056b83
cmp dword [0x1030aa70], ebx
je 0x10056b83
push str.ParseMail_GetFileLenW_fail
push str.MailInfo
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x10
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
lea edx, [esp + 0x34]
lea ecx, [esp + 0xf0]
push edx
mov byte [esp + 0x1a8], 0xc
call fcn.1005e480
cmp dword [esp + 0x38], ebx
jle 0x10056c2b
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.10055df0
mov eax, dword [eax]
push 2
push eax
mov byte [esp + 0x1ac], 0xd
call fcn.100b6440
add esp, 8
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x1a4], 0xc
call fcn.1008ec90
mov ecx, dword [esp + 0x20]
push 2
push ecx
call fcn.100b6440
mov edi, eax
mov eax, dword [0x1030aa70]
add esp, 8
cmp eax, ebx
je 0x10056c1b
push edi
push esi
push str.ParseMail_bMakeDir1__d__bMakeDir2__d_
push str.MailInfo
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x18
cmp esi, ebx
je 0x10057175
cmp edi, ebx
je 0x10057175
mov eax, dword [0x1026c87c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
push 0x102f440c
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1a8], 0x13
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.1008ef10
push 0x102f440c
lea ecx, [esp + 0x60]
call fcn.1008ef10
push 0x102f440c
lea ecx, [esp + 0x64]
call fcn.1008ef10
push 0x102f440c
lea ecx, [esp + 0x68]
call fcn.1008ef10
push 0x102f440c
lea ecx, [esp + 0x6c]
call fcn.1008ef10
mov eax, dword [esp + 0x38]
mov byte [esp + 0x1a4], 0x14
cmp eax, ebx
mov dword [esp + 0x10], ebx
jle 0x1005706c
xor edi, edi
push 0x102f440c
lea ecx, [esp + 0x5c]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.1008ef10
push 0x102f440c
lea ecx, [esp + 0x60]
call fcn.1008ef10
push 0x102f440c
lea ecx, [esp + 0x64]
call fcn.1008ef10
push 0x102f440c
lea ecx, [esp + 0x68]
call fcn.1008ef10
push 0x102f440c
lea ecx, [esp + 0x6c]
call fcn.1008ef10
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x58]
mov edx, dword [edi + eax]
lea eax, [edi + eax + 8]
push eax
mov dword [esp + 0x48], edx
call fcn.1008ee20
mov ecx, dword [0x1026c87c]
mov dword [esp + 0x14], ecx
lea edx, [esp + 0x6c]
mov ecx, ebp
push edx
mov byte [esp + 0x1a8], 0x15
call fcn.10055df0
mov ecx, dword [esp + 0x44]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x1c]
push str._s_lu
push eax
mov byte [esp + 0x1b4], 0x16
call fcn.10091c10
add esp, 0x10
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1a4], 0x15
call fcn.1008ec90
mov ecx, dword [esp + 0x14]
push ebx
push ecx
call fcn.100b6440
add esp, 8
test eax, eax
je 0x10056faf
lea edx, [esp + 0x58]
lea ecx, [esp + 0x28]
push edx
call fcn.1008e290
push ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1a8], 0x17
call fcn.1008f960
push eax
call fcn.1006b9d0
mov eax, dword [0x1026c87c]
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x20]
push 0x102b8718
push eax
mov byte [esp + 0x1b4], 0x18
call fcn.10091c10
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.1006a8d0
add esp, 0x18
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0xf8]
mov byte [esp + 0x1ac], 0x19
call fcn.1005cdb0
test eax, eax
je 0x10056fdf
lea edx, [esp + 0x18]
lea ecx, [esp + 0x5c]
push edx
call fcn.1008ee20
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x80]
lea ecx, [esp + 0x74]
push eax
push ecx
push edx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x8c], ebx
call fcn.100b3600
add esp, 0xc
test eax, eax
je 0x10056e76
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x80]
xor eax, eax
xor esi, esi
or eax, edx
or ecx, esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
mov eax, dword [0x1026c87c]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x2c]
push str._s_lu
push eax
mov byte [esp + 0x1b4], 0x1a
call fcn.10091c10
mov ecx, dword [esp + 0x34]
push ebx
push ecx
call fcn.100b6440
add esp, 0x18
test eax, eax
jne 0x10056eda
cmp dword [0x1030aa70], ebx
je 0x10056f0d
mov edx, dword [esp + 0x24]
push edx
push str.ParseMail_make_dest_dir__s__fail
push str.MailInfo
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
jmp 0x10056f0d
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c8]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c8]
push edx
push eax
lea edx, [esp + 0x54]
push ecx
push edx
mov ecx, ebp
call fcn.100579b0
test eax, eax
je 0x1005700f
lea ecx, [esp + 0x24]
mov byte [esp + 0x1a4], 0x19
call fcn.1008ec90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1a4], 0x18
call fcn.1008ec90
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a4], 0x17
call fcn.1008ec90
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a4], 0x15
call fcn.1008ec90
lea ecx, [esp + 0x14]
mov byte [esp + 0x1a4], 0x14
call fcn.1008ec90
mov esi, dword [esp + 0xd4]
push 0xffffffffffffffff
lea ecx, [esp + 0xd4]
lea eax, [esi + 1]
push eax
call fcn.1005ca90
mov eax, dword [esp + 0xd0]
lea ecx, [esp + 0x44]
lea edx, [esi + esi*4]
push ecx
lea ecx, [eax + edx*8]
call fcn.1005cc10
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
inc eax
add edi, 0xc
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x10056cc0
jmp 0x1005706c
cmp dword [0x1030aa70], ebx
je 0x10056fd5
mov ecx, dword [esp + 0x14]
push ecx
push str.ParseMail_make_dir__s__fail
push str.MailInfo
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
mov dword [esp + 0x30], 1
jmp 0x1005705b
cmp dword [0x1030aa70], ebx
je 0x10057005
mov edx, dword [esp + 0x1c]
push edx
push str.ParseMail_save_attach__s__fail
push str.MailInfo
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
mov dword [esp + 0x30], 1
jmp 0x10057028
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], 1
mov byte [esp + 0x1a4], 0x19
call fcn.1008ec90
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1a4], 0x18
call fcn.1008ec90
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a4], 0x17
call fcn.1008ec90
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a4], 0x15
call fcn.1008ec90
lea ecx, [esp + 0x14]
mov byte [esp + 0x1a4], 0x14
call fcn.1008ec90
lea ecx, [esp + 0xf0]
call fcn.1005e740
cmp dword [esp + 0x30], ebx
jne 0x100571d6
lea eax, [esp + 0x84]
mov ecx, ebp
push eax
call fcn.10058180
mov dword [esp + 0x78], 1
lea ecx, [esp + 0x68]
mov byte [esp + 0x1a4], 0x23
call fcn.1008ec90
lea ecx, [esp + 0x64]
mov byte [esp + 0x1a4], 0x22
call fcn.1008ec90
lea ecx, [esp + 0x60]
mov byte [esp + 0x1a4], 0x21
call fcn.1008ec90
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1a4], 0x20
call fcn.1008ec90
lea ecx, [esp + 0x58]
mov byte [esp + 0x1a4], 0xc
call fcn.1008ec90
mov esi, dword [esp + 0x34]
mov byte [esp + 0x1a4], 4
cmp esi, ebx
je 0x10057280
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x10057277
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0x1a4], 0x24
call fcn.1008ec90
lea ecx, [esi + 4]
mov byte [esp + 0x1a4], 4
call fcn.1008ec90
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x10057114
jmp 0x10057273
cmp dword [0x1030aa70], ebx
je 0x10057164
push str.ParseMail_Parse_fail
push str.MailInfo
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x10
lea ecx, [esp + 0xf0]
call fcn.1005e740
jmp 0x10057294
lea ecx, [esp + 0xf0]
call fcn.1005e740
mov esi, dword [esp + 0x34]
mov byte [esp + 0x1a4], 4
cmp esi, ebx
je 0x10057280
mov eax, dword [esp + 0x38]
mov dword [esp + 0x6c], esi
cmp eax, ebx
je 0x10057277
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0x1a4], 0xe
call fcn.1008ec90
lea ecx, [esi + 4]
mov byte [esp + 0x1a4], 4
call fcn.1008ec90
add esi, 0xc
dec edi
mov dword [esp + 0x6c], esi
jne 0x100571a7
jmp 0x10057273
lea ecx, [esp + 0x68]
mov byte [esp + 0x1a4], 0x1e
call fcn.1008ec90
lea ecx, [esp + 0x64]
mov byte [esp + 0x1a4], 0x1d
call fcn.1008ec90
lea ecx, [esp + 0x60]
mov byte [esp + 0x1a4], 0x1c
call fcn.1008ec90
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1a4], 0x1b
call fcn.1008ec90
lea ecx, [esp + 0x58]
mov byte [esp + 0x1a4], 0xc
call fcn.1008ec90
mov esi, dword [esp + 0x34]
mov byte [esp + 0x1a4], 4
cmp esi, ebx
je 0x10057280
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], esi
cmp eax, ebx
je 0x10057277
lea edi, [eax]
lea ecx, [esi + 8]
mov byte [esp + 0x1a4], 0x1f
call fcn.1008ec90
lea ecx, [esi + 4]
mov byte [esp + 0x1a4], 4
call fcn.1008ec90
add esi, 0xc
dec edi
mov dword [esp + 0x10], esi
jne 0x10057249
mov esi, dword [esp + 0x34]
push esi
call fcn.1024ac9a
add esp, 4
lea ecx, [esp + 0x84]
mov byte [esp + 0x1a4], 3
call fcn.10054d10
lea ecx, [esp + 0xf0]
mov byte [esp + 0x1a4], 2
call fcn.100be2e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1a4], 1
call fcn.1008ec90
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a4], bl
call fcn.1008ec90
lea ecx, [esp + 0xe4]
mov dword [esp + 0x1a4], 0xffffffff
call fcn.1009cf90
mov ecx, dword [esp + 0x19c]
mov eax, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x198
ret 0x1c