Function at 0x4452c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x587147
push eax
mov eax, 0x109ec
mov dword fs:[0], esp
call fcn.00555ae0
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x360]
cmp dword [eax - 4], 1
lea esi, [edi + 0x360]
mov dword [ebp - 0x18], esi
jle 0x445307
mov eax, dword [eax - 0xc]
push eax
mov ecx, esi
call fcn.00403bd0
mov ecx, dword [esi]
xor ebx, ebx
push ebx
push ebx
mov dword [0x5f73e4], ecx
mov edx, dword [edi + 4]
push 0x1042
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x59d4a4
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.0040b4f0
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0x368]
cmp esi, eax
ja 0x4453ae
cmp eax, ebx
jbe 0x4453ae
push 0x30
lea eax, [ebp - 0xc4]
push ebx
push eax
call fcn.00555020
mov edx, dword [edi + 4]
add esp, 0xc
lea ecx, [ebp - 0xc8]
push ecx
push ebx
push 0x104b
push edx
mov dword [ebp - 0xc8], 4
mov dword [ebp - 0xc4], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xa8]
cmp eax, dword [edi + 0x368]
jb 0x445393
push 0x80070057
call fcn.00401150
mov ecx, dword [edi + 0x364]
lea eax, [eax + eax*4]
cmp dword [ecx + eax*8 + 4], ebx
lea eax, [ecx + eax*8]
jle 0x4453ae
push eax
lea ecx, [ebp - 0x1c]
call fcn.00407d40
mov edx, dword [ebp - 0x1c]
push 0x59e650
push edx
call fcn.00558089
mov esi, eax
add esp, 8
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x4456c9
push 2
push ebx
push esi
call fcn.00558678
push esi
call fcn.00558589
push ebx
lea esi, [eax - 0x12]
mov eax, dword [ebp - 0x20]
push 0x12
push eax
call fcn.00558678
push esi
call fcn.00554bee
add esp, 0x20
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x4456bd
mov ecx, dword [ebp - 0x20]
push ecx
push esi
push 1
push eax
call fcn.005583d8
mov edx, dword [ebp - 0x24]
push ebx
push eax
push edx
mov dword [ebp - 0x14], eax
call fcn.0050a0a0
add esp, 0x1c
cmp dword [ebp - 0x14], ebx
jbe 0x4456b1
lea ecx, [ebp - 0xbc]
call fcn.00444150
mov byte [ebp - 4], 1
mov dword [ebp - 0xbc], vtable.CMimeMessage.0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
push esi
push eax
lea ecx, [ebp - 0xbc]
call fcn.00501a10
push 0xc
mov dword [ebp - 0x2c], ebx
call fcn.0055549a
add esp, 4
cmp eax, ebx
je 0x445704
mov dword [ebp - 0x30], eax
mov dword [eax], eax
mov eax, dword [ebp - 0x30]
mov dword [eax + 4], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0xbc]
call fcn.00501240
cmp eax, ebx
jle 0x44567b
mov edx, dword [edi + 4]
push 0x1080f
lea ecx, [ebp - 0x109f7]
lea eax, [ebp - 0x1e8]
push ebx
push ecx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 0x45
mov dword [ebp - 0x58], 0x4397a0
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x109f8], bl
call fcn.00555020
add esp, 0xc
lea edx, [ebp - 0x6c]
push edx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
cmp eax, ebx
je 0x44567b
lea ecx, [ebp - 0x109f8]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea edx, [ebp - 0x109f8]
push edx
lea ecx, [ebp - 0x14]
call fcn.00443140
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.00405c70
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
cmp ecx, eax
je 0x445658
jmp 0x445525
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 8]
lea ecx, [ebp - 0xe4]
push ecx
mov ecx, esi
call fcn.00443ab0
mov byte [ebp - 4], 7
cmp dword [eax + 0x10], ebx
seta byte [ebp - 0xd]
mov byte [ebp - 4], 6
mov edi, 0x10
cmp dword [ebp - 0xd0], edi
jb 0x445561
mov edx, dword [ebp - 0xe4]
push edx
call fcn.00553d26
add esp, 4
mov dword [ebp - 0xd0], 0xf
mov dword [ebp - 0xd4], ebx
mov byte [ebp - 0xe4], bl
cmp byte [ebp - 0xd], bl
je 0x445647
lea eax, [ebp - 0x94]
push eax
mov ecx, esi
call fcn.00443ab0
mov byte [ebp - 4], 8
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], 9
lea eax, [ebp - 0x109f8]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4455b0
sub eax, edx
push eax
lea ecx, [ebp - 0x109f8]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.004409d0
push 1
push 0x59f294
lea ecx, [ebp - 0x4c]
call fcn.004409d0
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x94]
push edx
lea ecx, [ebp - 0x4c]
call fcn.0043ab10
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x38], edi
jae 0x4455f5
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
call fcn.00500070
mov byte [ebp - 4], 8
cmp dword [ebp - 0x38], edi
jb 0x445612
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00553d26
add esp, 4
mov esi, 0xf
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], 6
cmp dword [ebp - 0x80], edi
jb 0x445638
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.00553d26
add esp, 4
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x84], ebx
mov byte [ebp - 0x94], bl
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x30]
jne 0x445522
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44567b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.004417f0
mov byte [ebp - 4], bl
mov dword [ebp - 0xbc], vtable.CMimeMessage.0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbc]
call fcn.00501780
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xbc]
call fcn.00444250
mov eax, dword [ebp - 0x24]
push eax
call fcn.00553d26
add esp, 4
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.00557d86
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
pop edi
pop esi
pop ebx
test ecx, ecx
jg 0x4456f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
xor eax, eax
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x14], ebx
call fcn.00553e83
mov byte [ebp - 4], 3
mov dword [ebp - 0x78], vtable.std::bad_alloc.0
mov byte [ebp - 4], 2
push 0x5c69bc
lea edx, [ebp - 0x78]
push edx
call fcn.00554cbc
int3