Function at 0x45e1b0
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.00460bed
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 0x45e1f2
push str.SetThemeAppProperties
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x45e1f4
xor eax, eax
mov dword [esi + 4], eax
mov dword [0x49d3a0], esi
call fcn.00457030
mov dword [0x49d6cc], 0x452370
mov dword [0x49d6bc], 0x44c170
mov dword [0x49d6c0], 0x44c1c0
mov dword [0x49d6c4], 0x44ccf0
mov dword [0x49d6c8], 0x44cda0
mov dword [0x49d6d0], 0x44c5b0
mov dword [0x49d704], 0x44c590
mov dword [0x49d6d4], 0x44c6a0
mov dword [0x49d708], 0x44c640
mov dword [0x49d6d8], 0x44c350
mov dword [0x49d70c], 0x44c330
mov dword [0x49d6dc], 0x44c3b0
mov dword [0x49d6e8], 0x44c740
mov dword [0x49d6ec], 0x44c940
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 0x45e2a5
mov ecx, esi
xor eax, eax
cmp edx, 0x22
sete al
lea eax, [eax*2 + 0x20]
push eax
push ecx
call fcn.004621a7
add esp, 8
test eax, eax
je 0x45e2c5
lea esi, [eax + 2]
mov ecx, esi
call fcn.004571d0
call fcn.004570b0
call fcn.0040bf50
test eax, eax
je 0x45e438
call dword [sym.imp.MMFS2.dll_Ordinal_1055]
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], 0x45e150
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 0x45e41b
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0x45b850
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], 0x48ca88
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x45e41b
cmp dword [0x49d530], 0
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov dword [0x49d5d8], 0xc000
jne 0x45e3ea
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 [sym.imp.MMFS2.dll_Ordinal_2]
mov dword [0x49d558], eax
cmp eax, 0x20
ja 0x45e461
mov dword [0x49d558], 0
test byte [0x49d588], 1
je 0x45e438
push ecx
mov ecx, dword [0x49d5a8]
mov edx, 0xc1
call fcn.004577e0
add esp, 4
call fcn.00458430
cmp dword [0x49d754], 0
je 0x45e452
push dword [0x49d758]
call dword [sym.imp.GDI32.dll_DeleteObject]
call fcn.0040c560
pop edi
xor eax, eax
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 0x45e438
call dword [sym.imp.MMFS2.dll_Ordinal_794]
push dword [0x49d56c]
mov ecx, eax
mov dword [0x49d5c0], eax
push dword [0x49d53c]
call dword [sym.imp.MMFS2.dll_Ordinal_1053]
test byte [0x49d570], 2
je 0x45e4d8
mov eax, dword [0x49d5cc]
test eax, eax
je 0x45e4d8
mov eax, dword [eax + 0x3bc]
test eax, eax
je 0x45e4d8
test dword [eax], 0x40000000
je 0x45e4d8
test byte [0x49d5b4], 0x40
je 0x45e4d8
mov ecx, dword [0x49d5c0]
push 1
call dword [sym.imp.MMFS2.dll_Ordinal_1128]
mov esi, dword [0x49d53c]
call dword [sym.imp.MMFS2.dll_Ordinal_795]
push dword [0x49d56c]
mov ecx, eax
mov dword [0x49d5c4], eax
push esi
call dword [sym.imp.MMFS2.dll_Ordinal_1054]
cmp dword [0x49d5c8], 0
jne 0x45e529
mov ecx, dword [0x49d5c4]
test ecx, ecx
je 0x45e529
push dword [0x49d5a8]
call dword [sym.imp.MMFS2.dll_Ordinal_389]
mov dword [0x49d5c8], eax
test eax, eax
je 0x45e529
mov edx, dword [eax]
mov ecx, eax
push 0
call dword [edx + 4]
mov ecx, edi
call fcn.00404cb0
test eax, eax
je 0x45e548
xor edx, edx
mov ecx, edi
call fcn.00404e80
test eax, eax
jne 0x45e534
mov ecx, edi
call fcn.00405080
mov ecx, edi
call fcn.00403c50
jmp 0x45e438