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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d13c3
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x50d4cc]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x50d4cc]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x60]
lea ecx, [esp + 0x28]
xorps xmm0, xmm0
push ecx
movdqu xmmword [esp + 0x2c], xmm0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x860
call fcn.0048cdd1
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x80], 0
test esi, esi
je 0x474990
push 0x860
push 0
push esi
call fcn.0048f5e0
add esp, 0xc
mov ecx, esi
call fcn.00436240
mov edi, eax
jmp 0x474992
xor edi, edi
mov dword [esp + 0x80], 0xffffffff
mov edx, 0x50e780
mov eax, dword [ebx + 0x60]
mov ecx, 0x517640
mov dword [ebx + 0x5c], edi
mov esi, dword [eax + 4]
lea eax, [edi + 0x20]
push eax
call fcn.0041b2c0
movzx eax, ax
mov ecx, edi
push eax
push 0
push 0
push 0x56000000
push 0
lea eax, [esp + 0x40]
push eax
push esi
call fcn.0043abb0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
sub eax, edx
mov ecx, dword [esp + 0x28]
mov esi, dword [ebx + 0x5c]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x2074
push eax
mov eax, dword [esp + 0x38]
sub eax, ecx
push eax
push edx
push ecx
push 1
push dword [esi + 4]
call edi
mov eax, dword [ebx + 0x60]
lea ecx, [esp + 0x28]
push ecx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
sub eax, edx
mov ecx, dword [esp + 0x28]
mov esi, dword [ebx + 0x60]
push 0x2070
push eax
mov eax, dword [esp + 0x38]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [esi + 4]
call edi
mov ecx, dword [ebx + 0x60]
sub esp, 8
add ecx, 0x4c4
call fcn.0043b1f0
mov esi, dword [ebx + 0x60]
lea eax, [esp + 0x14]
add esi, 0x490
push eax
lea ecx, [esi + 0x28]
call fcn.0040f260
push 1
push eax
push esi
lea ecx, [esi + 0x130]
call fcn.0040f590
push 0x38
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.0048f5e0
xorps xmm0, xmm0
mov dword [esp + 0x44], vtable.WTL::CMessageLoop.0
add esp, 0xc
mov dword [esp + 0x4c], 0
movdqu xmmword [esp + 0x3c], xmm0
mov dword [esp + 0x50], 0
mov dword [esp + 0x80], 1
lea eax, [esp + 0x38]
mov esi, dword [0x518fb0]
add esi, 0x10
mov dword [esp + 0x24], eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x518f68]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00406f00
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x474afd
add eax, 0x5dc
mov dword [esp + 0x24], eax
jmp 0x474b05
mov dword [esp + 0x24], 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
call fcn.004070b0
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x474b25
add eax, 0x5e0
mov dword [esp + 0x24], eax
jmp 0x474b2d
mov dword [esp + 0x24], 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x4c]
call fcn.004070b0
lea ecx, [esp + 0x38]
call fcn.00475470
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x474b56
add eax, 0x5dc
mov dword [esp + 0x24], eax
jmp 0x474b5e
mov dword [esp + 0x24], 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
call fcn.00410390
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x474b7e
add eax, 0x5e0
mov dword [esp + 0x24], eax
jmp 0x474b86
mov dword [esp + 0x24], 0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x4c]
call fcn.00410390
mov eax, dword [esp + 0x48]
test eax, eax
je 0x474bad
push eax
call fcn.0048b8d4
add esp, 4
mov dword [esp + 0x48], 0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
test eax, eax
je 0x474bce
push eax
call fcn.0048b8d4
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0048b090
mov esp, ebp
pop ebp
ret 8