Function at 0x45de10
Capabilities:
Accept command line arguments
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x30
mov dword [0x49d598], eax
push esi
push edi
push 8
call fcn.0046083c
add esp, 4
mov esi, eax
push 0
push 0
push str.uxtheme.dll
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov dword [esi], eax
test eax, eax
je 0x45de52
push str.SetThemeAppProperties
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
jmp 0x45de54
xor eax, eax
mov dword [esi + 4], eax
mov dword [0x49d3a0], esi
call fcn.00456d50
mov dword [0x49d6cc], 0x452090
mov dword [0x49d6bc], 0x44be90
mov dword [0x49d6c0], 0x44bee0
mov dword [0x49d6c4], 0x44ca10
mov dword [0x49d6c8], 0x44cac0
mov dword [0x49d6d0], 0x44c2d0
mov dword [0x49d704], 0x44c2b0
mov dword [0x49d6d4], 0x44c3c0
mov dword [0x49d708], 0x44c360
mov dword [0x49d6d8], 0x44c070
mov dword [0x49d70c], 0x44c050
mov dword [0x49d6dc], 0x44c0d0
mov dword [0x49d6e8], 0x44c460
mov dword [0x49d6ec], 0x44c660
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov esi, eax
movzx eax, word [esi]
lea ecx, [esi + 2]
mov edx, eax
cmp eax, 0x22
je 0x45df05
mov ecx, esi
xor eax, eax
cmp edx, 0x22
sete al
lea eax, [eax*2 + 0x20]
push eax
push ecx
call fcn.00461df7
add esp, 8
test eax, eax
je 0x45df25
lea esi, [eax + 2]
mov ecx, esi
call fcn.00456ef0
call fcn.00456dd0
call fcn.0040bf50
test eax, eax
je 0x45e098
call dword [0x49c8d8]
mov edi, dword [0x49d5e4]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [0x49d598]
push 0x64
push eax
mov dword [esp + 0x10], 0x30
mov dword [esp + 0x14], 0x28
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x18], 0x45dd90
call dword [sym.imp.USER32.dll_LoadIconW]
push 0
push 0x10
push 0x10
push 1
push 0x64
push dword [0x49d598]
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], str.Mf2MainClassTh
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [esp + 0x34], eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
je 0x45e07b
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0x45b570
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], 0x48ca80
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x45e07b
cmp dword [0x49d530], 0
mov esi, dword [sym.imp.kernel32.dll_GlobalAddAtomW]
mov dword [0x49d5d8], 0xc000
jne 0x45e04a
push str.krdp
call esi
movzx eax, ax
push str.kprc
mov dword [0x49d530], eax
call esi
movzx eax, ax
push str.kspc
mov dword [0x49d42c], eax
call esi
movzx eax, ax
mov dword [0x49d538], eax
push str.knum
call esi
push 0
push dword [0x49d598]
movzx eax, ax
mov dword [0x49d534], eax
call dword [0x49c8dc]
mov dword [0x49d558], eax
cmp eax, 0x20
ja 0x45e0ac
mov dword [0x49d558], 0
test byte [0x49d588], 1
je 0x45e098
push ecx
mov ecx, dword [0x49d5a8]
mov edx, 0xc1
call fcn.00457500
add esp, 4
call fcn.00458150
call fcn.0040c560
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
push 4
push 0x42000000
push 0
push 0
xor edx, edx
mov ecx, edi
call fcn.004019a0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x45e098
call dword [0x49c88c]
push dword [0x49d56c]
mov ecx, eax
mov dword [0x49d5c0], eax
push dword [0x49d53c]
call dword [0x49c890]
test byte [0x49d570], 2
je 0x45e123
mov eax, dword [0x49d5cc]
test eax, eax
je 0x45e123
mov eax, dword [eax + 0x3bc]
test eax, eax
je 0x45e123
test dword [eax], 0x40000000
je 0x45e123
test byte [0x49d5b4], 0x40
je 0x45e123
mov ecx, dword [0x49d5c0]
push 1
call dword [0x49c894]
mov esi, dword [0x49d53c]
call dword [0x49c69c]
push dword [0x49d56c]
mov ecx, eax
mov dword [0x49d5c4], eax
push esi
call dword [0x49c6a0]
cmp dword [0x49d5c8], 0
jne 0x45e174
mov ecx, dword [0x49d5c4]
test ecx, ecx
je 0x45e174
push dword [0x49d5a8]
call dword [0x49c694]
mov dword [0x49d5c8], eax
test eax, eax
je 0x45e174
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 4]
mov ecx, edi
call fcn.00404cb0
test eax, eax
je 0x45e194
nop
xor edx, edx
mov ecx, edi
call fcn.00404e80
test eax, eax
jne 0x45e180
mov ecx, edi
call fcn.00405080
mov ecx, edi
call fcn.00403c50
call fcn.00458150
call fcn.0040c560
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10