Function at 0x453850
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
xor ebp, ebp
cmp eax, 0x1000
push edi
mov word [esi], bp
jg 0x453a0f
je 0x4539d9
cmp eax, 0x2be
jg 0x453942
je 0x45390c
sub eax, 0x10
je 0x453902
sub eax, 0x2ac
je 0x4538cc
dec eax
jne 0x453b6e
push str._export_pal
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.004d6acd
add esp, 8
test eax, eax
je 0x453b6e
mov ecx, dword [esp + 0x18]
push 1
push ecx
push 0xc
push esi
push eax
call fcn.00453fb0
add esp, 0x14
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
push str._import_pal
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.004d6acd
add esp, 8
test eax, eax
je 0x453b6e
mov edx, dword [esp + 0x18]
push 1
push edx
push 0xc
push esi
push eax
call fcn.00453fb0
add esp, 0x14
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
push str._slideshow
jmp 0x453b16
push str._append
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.004d6acd
add esp, 8
test eax, eax
je 0x453b6e
mov edx, dword [esp + 0x18]
push 1
push edx
push 8
push esi
push eax
call fcn.00453fb0
add esp, 0x14
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
sub eax, 0x2bf
je 0x4539a3
dec eax
jne 0x453b6e
mov edi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str._file
call edi
push eax
call fcn.004d6acd
add esp, 8
test eax, eax
push 0
je 0x453984
mov ecx, dword [esp + 0x1c]
push ecx
push 6
push esi
push eax
call fcn.00453fb0
add esp, 0x14
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [esp + 0x1c]
push edx
push 0
push esi
call edi
push eax
call fcn.00453fb0
add esp, 0x14
mov ebp, 1
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
push str._info
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.004d6acd
add esp, 8
test eax, eax
je 0x453b6e
mov ecx, dword [esp + 0x18]
push 1
push ecx
push 6
push esi
push eax
call fcn.00453fb0
add esp, 0x14
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
push str._filepattern
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.004d6acd
add esp, 8
test eax, eax
je 0x453b6e
mov edx, dword [esp + 0x18]
push 1
push edx
push 0xd
push esi
push eax
call fcn.00453fb0
add esp, 0x14
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 0x40000
jg 0x453b03
je 0x453acd
cmp eax, 0x2000
je 0x453a97
mov edi, dword [esp + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp eax, 0x4000
je 0x453a46
cmp eax, 0x20000
je 0x453a69
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret
push 0x59be58
call ebx
push eax
call fcn.004d6acd
add esp, 8
test eax, eax
je 0x453a69
push 1
push edi
push 7
push esi
push eax
call fcn.00453fb0
add esp, 0x14
push str._convert
call ebx
push eax
call fcn.004d6acd
add esp, 8
test eax, eax
je 0x453b6e
push 1
push edi
push 9
push esi
push eax
call fcn.00453fb0
add esp, 0x14
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
push str._thumbprotocol
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.004d6acd
add esp, 8
test eax, eax
je 0x453b6e
mov ecx, dword [esp + 0x18]
push 1
push ecx
push 0xf
push esi
push eax
call fcn.00453fb0
add esp, 0x14
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
push str._filelist
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.004d6acd
add esp, 8
test eax, eax
je 0x453b6e
mov edx, dword [esp + 0x18]
push 1
push edx
push 0xa
push esi
push eax
call fcn.00453fb0
add esp, 0x14
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 0x100000
je 0x453b43
cmp eax, 0x800000
jne 0x453b6e
push str._hotfolder
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.004d6acd
add esp, 8
test eax, eax
je 0x453b6e
mov ecx, dword [esp + 0x18]
push 1
push ecx
push 0xb
push esi
push eax
call fcn.00453fb0
add esp, 0x14
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
push 0x59bde4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.004d6acd
add esp, 8
test eax, eax
je 0x453b6e
mov edx, dword [esp + 0x18]
push 1
push edx
push 9
push esi
push eax
call fcn.00453fb0
add esp, 0x14
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret