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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x505ab8
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x546190]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov eax, dword [0x546190]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x14]
xor ebx, ebx
mov edi, edx
xor eax, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
cmp ecx, ebx
jle 0x491140
movzx eax, cx
push eax
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
push 7
push str.DEFAULT
lea ecx, [esp + 0x90]
mov dword [esp + 0x28], 0x30
mov dword [esp + 0x2c], 0x23
mov dword [esp + 0x30], 0x4906b0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], eax
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], 0xf
call fcn.00439740
mov dword [esp + 0xb0], ebx
mov ecx, dword [0x548828]
inc ecx
cmp ecx, dword [0x54882c]
jl 0x4911a8
call fcn.00492e10
mov edx, dword [0x54881c]
mov eax, dword [0x548820]
push edx
push eax
lea ecx, [esp + 0x90]
call fcn.00492f40
cmp byte [eax + 0x20], bl
jne 0x4911d0
mov byte [eax + 0x20], 1
inc dword [0x548828]
cmp dword [esp + 0x9c], 0x10
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x3c], ecx
jl 0x4911f2
mov edx, dword [esp + 0x88]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ebx
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
push ebx
mov esi, 0x10cf0000
push esi
lea eax, [esp + 0x5c]
push eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x54]
xor edx, edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ebx
mov dword [0x55b26c], 0x2c
mov dword [0x55b270], 1
mov dword [0x55b278], ebx
mov dword [0x55b27c], ebx
mov dword [0x55b280], ebx
mov dword [0x55b284], ebx
mov dword [0x55b288], edx
mov dword [0x55b28c], ebx
mov dword [0x55b290], eax
mov dword [0x55b294], ecx
mov dword [esp + 0x14], ebx
cmp byte [ebp + 0x10], bl
je 0x49133b
xor eax, eax
lea ecx, [esp + 0x60]
push ecx
push 1
push ebx
push eax
mov dword [esp + 0x70], 0x28
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
call dword [sym.imp.USER32.dll_MonitorFromPoint]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov esi, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x14], esi
mov dword [0x55b260], esi
sub eax, edx
sub ecx, esi
mov esi, dword [esp + 0x6c]
mov dword [0x55b264], esi
mov esi, dword [esp + 0x70]
mov dword [0x55b268], esi
mov dword [0x55b25c], edx
mov esi, 0x90000000
mov edi, dword [esp + 0x18]
push ebx
push edi
push ebx
push ebx
push ecx
push eax
mov eax, dword [esp + 0x2c]
push eax
push edx
push esi
mov esi, dword [esp + 0x40]
push str.Loading...
push esi
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, ebx
jne 0x49136b
push edi
push esi
call dword [sym.imp.USER32.dll_UnregisterClassA]
xor eax, eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.004ffd1c
mov esp, ebp
pop ebp
ret