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

Disassembly:
push 0xffffffffffffffff
push 0x4e2e6e
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov dword [esp + 0x30], ecx
xor edi, edi
push 0x5116d8
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], edi
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [esp + 0x90], edi
push 0x5116d8
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x90], 1
push 0x5116d8
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x90], 2
push 0x5116d8
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x90], 3
mov esi, dword [esp + 0x98]
mov eax, dword [esi + 0x20]
push edi
push edi
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
sub edi, 1
js 0x414517
mov bl, 8
push 0
push edi
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_3157
mov byte [esp + 0x90], 4
mov edx, dword [eax]
or dword [esp + 0x18], 1
cmp dword [edx - 0xc], 0
jne 0x413ffb
push 1
push edi
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_3157
mov dword [esp + 0x90], 5
mov ecx, dword [eax]
or dword [esp + 0x18], 2
cmp dword [ecx - 0xc], 0
jne 0x413ffb
push 2
push edi
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_3157
mov dword [esp + 0x90], 6
mov eax, dword [eax]
or dword [esp + 0x18], 4
cmp dword [eax - 0xc], 0
mov byte [esp + 0x17], 1
je 0x414000
mov byte [esp + 0x17], 0
mov dword [esp + 0x90], 5
test byte [esp + 0x18], 4
je 0x414021
and dword [esp + 0x18], 0xfffffffb
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x90], 4
test byte [esp + 0x18], 2
je 0x414042
and dword [esp + 0x18], 0xfffffffd
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x90], 3
test byte [esp + 0x18], 1
je 0x414063
and dword [esp + 0x18], 0xfffffffe
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp byte [esp + 0x17], 0
jne 0x41450e
mov ecx, dword [esp + 0xa4]
push ecx
push edi
lea edx, [esp + 0x48]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_3157
mov byte [esp + 0x90], 7
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
sete byte [esp + 0x17]
mov byte [esp + 0x90], 3
lea ecx, [esp + 0x40]
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp byte [esp + 0x17], 0
jne 0x414725
xor ecx, ecx
cmp byte [0x103b0fc], cl
lea edx, [esp + 0x24]
setne cl
dec ecx
and ecx, 2
push ecx
push edi
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_3157
mov byte [esp + 0x90], bl
mov ebp, dword [esp + 0x30]
add ebp, 0x18570
cmp esi, ebp
jne 0x41415a
push str..doc
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4144fc
push str..hwp
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4144fc
push str..pdf
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4144fc
push str..ppt
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4144fc
push str..xls
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
je 0x4144fc
cmp esi, ebp
mov al, byte [0x103b0fc]
jne 0x4141e6
test al, al
je 0x4141e6
push 0x5028fc
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_945]
push 0x5028fc
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_945]
push 0
push edi
lea eax, [esp + 0x50]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_3157
mov byte [esp + 0x90], 9
push eax
lea ecx, [esp + 0x48]
push 0x5028fc
push ecx
call fcn.00410070
add esp, 0xc
mov byte [esp + 0x90], 0xa
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_941]
mov byte [esp + 0x90], 9
lea ecx, [esp + 0x44]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x48]
jmp 0x4144f6
mov edx, dword [esp + 0x30]
add edx, 0x18d68
cmp esi, edx
jne 0x4143cd
test al, al
je 0x4143cd
push 0
push edi
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_3157
mov byte [esp + 0x90], 0xb
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
sete byte [esp + 0x17]
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp byte [esp + 0x17], 0
je 0x4142ae
push 1
push edi
lea edx, [esp + 0x5c]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_3157
mov byte [esp + 0x90], 0xc
push eax
lea eax, [esp + 0x54]
push 0x5028f8
push eax
call fcn.00410070
add esp, 0xc
mov byte [esp + 0x90], 0xd
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_941]
mov byte [esp + 0x90], 0xc
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x54]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x5028f4
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_945]
jmp 0x41436e
push 0
push edi
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_3157
mov byte [esp + 0x90], 0xe
push eax
lea edx, [esp + 0x5c]
push 0x5028f8
push edx
call fcn.00410070
add esp, 0xc
mov byte [esp + 0x90], 0xf
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_941]
mov byte [esp + 0x90], 0xe
lea ecx, [esp + 0x58]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 1
push edi
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_3157
mov byte [esp + 0x90], 0x10
push eax
lea ecx, [esp + 0x64]
push 0x5028f8
push ecx
call fcn.00410070
add esp, 0xc
mov byte [esp + 0x90], 0x11
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_941]
mov byte [esp + 0x90], 0x10
lea ecx, [esp + 0x60]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x64]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 2
push edi
lea edx, [esp + 0x74]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_3157
mov byte [esp + 0x90], 0x12
push eax
lea eax, [esp + 0x6c]
push 0x5028f8
push eax
call fcn.00410070
add esp, 0xc
mov byte [esp + 0x90], 0x13
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_941]
mov byte [esp + 0x90], 0x12
lea ecx, [esp + 0x68]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x6c]
jmp 0x4144f6
push 0
push edi
lea ecx, [esp + 0x7c]
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_3157
mov byte [esp + 0x90], 0x14
push eax
lea edx, [esp + 0x74]
push 0x5028fc
push edx
call fcn.00410070
add esp, 0xc
mov byte [esp + 0x90], 0x15
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_941]
mov byte [esp + 0x90], 0x14
lea ecx, [esp + 0x70]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x74]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 1
push edi
lea eax, [esp + 0x84]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_3157
mov byte [esp + 0x90], 0x16
push eax
lea ecx, [esp + 0x7c]
push 0x5028fc
push ecx
call fcn.00410070
add esp, 0xc
mov byte [esp + 0x90], 0x17
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_941]
mov byte [esp + 0x90], 0x16
lea ecx, [esp + 0x78]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 2
push edi
lea edx, [esp + 0x8c]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_3157
mov byte [esp + 0x90], 0x18
push eax
lea eax, [esp + 0x84]
push 0x5028fc
push eax
call fcn.00410070
add esp, 0xc
mov byte [esp + 0x90], 0x19
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_941]
mov byte [esp + 0x90], 0x18
lea ecx, [esp + 0x80]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x84]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x90], 3
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
sub edi, 1
jns 0x413f84
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x1004
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4146f9
mov edx, dword [esp + 0x20]
mov eax, dword [edx - 0xc]
dec eax
push eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_5997]
mov esi, eax
mov byte [esp + 0x90], 0x1a
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
dec eax
push eax
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_5997]
mov edi, eax
mov byte [esp + 0x90], 0x1b
mov eax, dword [esp + 0x1c]
mov eax, dword [eax - 0xc]
dec eax
push eax
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_5997]
mov byte [esp + 0x90], 0x1c
push eax
lea edx, [esp + 0x78]
push 0x5028f0
push edx
call fcn.00410070
mov byte [esp + 0x9c], 0x1d
push 0x5028f0
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.00402a60
mov byte [esp + 0xa8], 0x1e
push edi
push eax
lea ecx, [esp + 0x9c]
push ecx
call fcn.004029d0
mov byte [esp + 0xb4], 0x1f
push 0x5028f0
push eax
lea edx, [esp + 0xac]
push edx
call fcn.00402a60
mov bl, 0x20
mov byte [esp + 0xc0], bl
push esi
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.004029d0
add esp, 0x3c
mov byte [esp + 0x90], 0x21
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_941]
mov byte [esp + 0x90], bl
lea ecx, [esp + 0x84]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x90], 0x1f
lea ecx, [esp + 0x80]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x90], 0x1e
lea ecx, [esp + 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x90], 0x1d
lea ecx, [esp + 0x78]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x90], 0x1c
lea ecx, [esp + 0x74]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x90], 0x1b
lea ecx, [esp + 0x70]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x90], 0x1a
lea ecx, [esp + 0x6c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x90], 3
lea ecx, [esp + 0x68]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
dec eax
push eax
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_5997]
mov byte [esp + 0x90], 0x22
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [esp + 0x90], 3
lea ecx, [esp + 0x84]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 0xc]
mov esi, dword [esp + 0xa0]
cmp esi, ecx
jge 0x414774
mov edi, dword [esp + 0x9c]
push esi
push eax
push edi
call dword [sym.imp.MSVCR90.dll_strncpy]
add esp, 0xc
mov byte [edi + esi - 1], 0
jmp 0x41478a
mov byte [esp + 0x90], 2
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x90], 1
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x90], 0
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov al, 1
jmp 0x4147d7
mov edx, dword [esp + 0x9c]
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x414780
mov byte [esp + 0x90], 2
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x90], 1
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x90], 0
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x90], 0xffffffff
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor al, al
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 0x10