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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x302bc
call fcn.00426a60
push ebx
push esi
push edi
xor eax, eax
push 0x1fffe
push eax
lea ecx, [esp + 0x102d2]
push ecx
mov word [esp + 0x102d4], ax
call fcn.00414700
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.004071d0
lea ecx, [esp + 0x50]
call fcn.004071d0
lea ecx, [esp + 0x40]
call fcn.004071d0
lea ecx, [esp + 0x24]
call fcn.004071d0
mov ebx, dword [ebp + 0x10]
mov edi, 0x4858e8
mov dword [esp + 0x20], 0
call fcn.0040fb10
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebx + 4]
mov eax, dword [edx]
push 0x7fff
push eax
call fcn.0045155e
push eax
lea eax, [esp + 0x2d0]
push eax
call fcn.0041477a
mov edx, dword [ebx + 4]
add esp, 0xc
xor ecx, ecx
mov word [esp + 0x102c6], cx
mov eax, dword [edx + 4]
push 0x104
push eax
call fcn.0045155e
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.0041477a
mov edx, dword [ebx + 4]
xor ecx, ecx
mov word [esp + 0x2cc], cx
mov eax, dword [edx + 8]
add esp, 0xc
push eax
call fcn.0045155e
mov edi, eax
call fcn.004113d0
mov esi, eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
push eax
mov dword [esp + 0x40], esi
call fcn.0045150b
xor ecx, ecx
push 0x4859c4
push esi
mov word [esi + eax*2], cx
call fcn.004158dc
add esp, 8
test eax, eax
je 0x4644d5
push eax
lea eax, [esp + 0x28]
call fcn.00401cf0
push 0x48ae00
lea edx, [esp + 0x28]
push edx
call fcn.004366a6
mov edi, eax
push 0x48ae04
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x40], edi
call fcn.004366a6
mov dword [esp + 0x34], eax
cmp edi, 0xffffffff
je 0x464558
cmp eax, 0xffffffff
je 0x464558
cmp eax, edi
jb 0x464558
lea ecx, [esp + 0x24]
push ecx
lea eax, [esp + 0x14]
call fcn.004072b0
mov edi, 0x4859c4
lea eax, [esp + 0x10]
call fcn.004013b0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
sub eax, ecx
dec eax
push eax
inc ecx
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.0045eaab
lea ecx, [esp + 0x50]
push ecx
lea eax, [esp + 0x14]
call fcn.004072b0
lea eax, [esp + 0x10]
call fcn.004013b0
push edi
push 0
call fcn.004158dc
add esp, 8
test eax, eax
jne 0x464426
mov edi, 0x4859c4
lea eax, [esp + 0x10]
call fcn.004013b0
mov edi, 1
cmp dword [esp + 0x14], edi
jbe 0x464513
nop
lea esi, [esp + 0x10]
call fcn.004016b0
cmp word [eax], 0x7c
jne 0x464508
call fcn.004016b0
xor ecx, ecx
mov word [eax], cx
inc edi
cmp edi, dword [esp + 0x14]
jb 0x4644ef
mov esi, dword [esp + 0x3c]
push esi
call fcn.0041293d
mov edi, dword [ebp + 0x14]
add esp, 4
cmp edi, 6
jb 0x464534
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x14]
push eax
call fcn.0044d492
mov dword [esp + 0x20], eax
cmp edi, 5
jb 0x464561
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x10]
push eax
call fcn.0045155e
push eax
lea ecx, [esp + 0x102cc]
push ecx
call fcn.00412ba1
add esp, 8
jmp 0x46456b
push 0
push 2
jmp 0x464740
xor edx, edx
mov word [esp + 0x102c8], dx
push 0x58
lea eax, [esp + 0x64]
push 0
push eax
call fcn.00414700
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], edx
add esp, 0xc
lea eax, [esp + 0x2c8]
lea ecx, [esp + 0x102c8]
lea edx, [esp + 0xb8]
xor esi, esi
mov dword [esp + 0x60], 0x58
mov dword [esp + 0x90], eax
mov dword [esp + 0x80], 0xffff
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x8c], edx
cmp edi, 4
jb 0x46466a
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0xc]
call fcn.004078f0
cmp eax, 0x1f
jg 0x46466a
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 0xc]
call fcn.004078f0
test eax, eax
jl 0x46466a
mov edx, dword [ebx + 4]
mov ecx, dword [edx + 0xc]
mov esi, 0x80004
call fcn.004078f0
test al, 0x10
je 0x46460d
mov esi, 0x80006
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0xc]
call fcn.004078f0
test al, 8
je 0x464622
or esi, 0x2000
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx + 0xc]
call fcn.004078f0
test al, 4
je 0x464637
or esi, 0x200
mov edx, dword [ebx + 4]
mov ecx, dword [edx + 0xc]
call fcn.004078f0
test al, 2
je 0x46464c
or esi, 0x800
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0xc]
call fcn.004078f0
test al, 1
je 0x464661
or esi, 0x1000
mov dword [esp + 0x94], esi
jmp 0x464675
mov dword [esp + 0x94], 0x80004
cmp byte [ebp + 0x18], 0
lea ecx, [esp + 0x60]
push ecx
je 0x464724
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
je 0x464716
test esi, 0x200
je 0x46472e
mov edx, dword [esp + 0x7c]
push edx
call fcn.004127e5
mov esi, eax
mov eax, dword [esp + 0x80]
add esp, 4
push eax
lea eax, [esp + 0x44]
call fcn.00401cf0
mov ecx, dword [esp + 0x7c]
lea eax, [ecx + esi*2 + 2]
mov dword [esp + 0x7c], eax
cmp word [eax], 0
je 0x464708
push eax
call fcn.004127e5
mov esi, eax
add esp, 4
mov edi, 0x4859c4
lea eax, [esp + 0x40]
call fcn.004013b0
mov edi, dword [esp + 0x7c]
lea eax, [esp + 0x40]
call fcn.004013b0
mov edx, dword [esp + 0x7c]
lea eax, [edx + esi*2 + 2]
mov dword [esp + 0x7c], eax
cmp word [eax], 0
jne 0x4646d0
mov edi, dword [esp + 0x40]
mov ebx, dword [ebp + 0x10]
call fcn.0040fb10
jmp 0x46474f
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push 0
push 1
jmp 0x464748
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
je 0x46473c
mov edi, dword [esp + 0x7c]
mov ebx, dword [ebp + 0x10]
call fcn.0040fb10
jmp 0x46474f
push 0
push 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add eax, ecx
call fcn.00403c50
lea ecx, [esp + 0x24]
call fcn.00402130
lea ecx, [esp + 0x40]
call fcn.00402130
lea ecx, [esp + 0x50]
call fcn.00402130
lea ecx, [esp + 0x10]
call fcn.00402130
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14