Function at 0x430b30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x4e04c4]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
push edi
mov edi, dword [ebp + 8]
push 0x7f00
push 0
mov dword [esp + 0x38], 0x30
mov dword [esp + 0x3c], 0x40
mov dword [esp + 0x40], 0x430fa0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], edi
call esi
push 0x7f00
push 0
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 6
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0x4d3e84
call esi
movaps xmm0, xmmword [0x4d4490]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x30]
push eax
movups xmmword [esp + 0x24], xmm0
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push 0xcf0000
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push 0
push edi
push 0
push 0
push eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
push eax
push Ordinal_2
push Ordinal_2
push 0xcf0000
push str.Caplush
push 0x4d3e84
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push dword [ebp + 0x14]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x18
call fcn.004968f8
xorps xmm0, xmm0
mov dword [0x4e434c], eax
push esi
push edi
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
call fcn.00431090
push 1
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
xor edi, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edi
call esi
mov ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x430c8a
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
mov ebx, dword [esp + 0x14]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x430cc4
cmp dword [esp + 0x64], 0x12
je 0x430f48
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x430c8a
call esi
mov esi, eax
mov ecx, esi
sub ecx, ebx
mov ebx, dword [0x4e434c]
cmp ecx, 0x1f4
jb 0x430cf0
imul eax, edi, 0x3e8
xor edx, edx
mov dword [esp + 0x14], esi
div ecx
xor edi, edi
mov dword [ebx], eax
mov dword [esp + 0x10], edi
mov eax, esi
sub eax, dword [esp + 0x18]
cmp eax, 0x10
jb 0x430c80
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mov dword [esp + 0x18], esi
addsd xmm0, qword [eax*8 + 0x4d44e0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x4d4328]
movss dword [ebx + 4], xmm0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4e4324]
cmp eax, dword [ecx + 4]
jle 0x430d73
push 0x4e4324
call fcn.00496a7e
add esp, 4
cmp dword [0x4e4324], 0xffffffff
jne 0x430d73
xorps xmm0, xmm0
push 0x4c0fb0
movups xmmword [0x4e4328], xmm0
call fcn.00496d90
add esp, 4
push 0x4e4324
call fcn.00496a34
add esp, 4
mov edi, dword [0x4e4388]
xor esi, esi
mov edx, dword [0x4e4384]
mov eax, edi
sub eax, edx
sar eax, 2
test eax, eax
je 0x430db4
nop dword [eax]
mov ecx, dword [edx + esi*4]
test ecx, ecx
je 0x430da8
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [0x4e4388]
mov edx, dword [0x4e4384]
mov eax, edi
inc esi
sub eax, edx
sar eax, 2
cmp esi, eax
jb 0x430d90
call fcn.00404990
mov ecx, eax
call fcn.00431990
cmp byte [ebx + 0xc], 0
jne 0x430e22
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4e429c]
cmp eax, dword [ecx + 4]
jle 0x430e1d
push 0x4e429c
call fcn.00496a7e
add esp, 4
cmp dword [0x4e429c], 0xffffffff
jne 0x430e1d
xorps xmm0, xmm0
push 0x4c0fa0
movups xmmword [0x4e4284], xmm0
movq qword [0x4e4294], xmm0
call fcn.00496d90
add esp, 4
push 0x4e429c
call fcn.00496a34
add esp, 4
call fcn.00438cd0
call fcn.00430a50
mov ecx, dword [eax]
test ecx, ecx
je 0x430e34
mov ecx, dword [ecx]
mov eax, dword [ecx]
call dword [eax + 0xc]
call fcn.00404990
mov ecx, eax
call fcn.00431bd0
call fcn.00430a50
mov ecx, dword [eax]
test ecx, ecx
je 0x430e52
mov ecx, dword [ecx]
mov eax, dword [ecx]
call dword [eax + 0x10]
call fcn.00430a50
mov ebx, eax
mov dword [esp + 0x1c], ebx
cmp dword [ebx + 4], 0
je 0x430ef0
mov ecx, dword [ebx]
test ecx, ecx
je 0x430e7a
mov ecx, dword [ecx]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebx], 0
cmp byte [ebx + 8], 0
je 0x430edd
mov eax, dword [0x4e437c]
xor esi, esi
mov edi, dword [0x4e4378]
sub eax, edi
sar eax, 2
test eax, eax
je 0x430edd
nop word [eax + eax]
mov ebx, dword [edi + esi*4]
mov edx, str.NoDestroy
lea ecx, [ebx + 0x20]
call fcn.004169e0
test al, al
jne 0x430eca
mov byte [esp + 0xf], al
mov ecx, ebx
lea eax, [esp + 0xf]
push eax
call fcn.00428220
mov edi, dword [0x4e4378]
mov eax, dword [0x4e437c]
inc esi
sub eax, edi
sar eax, 2
cmp esi, eax
jb 0x430ea0
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebx + 4]
mov dword [ebx], ecx
mov dword [ebx + 4], 0
mov ecx, dword [ecx]
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [0x4e437c]
mov eax, dword [0x4e4378]
sub edi, eax
sar edi, 2
sub edi, 1
js 0x430f2e
mov esi, dword [eax + edi*4]
cmp byte [esi + 0x3c], 0
je 0x430f29
test esi, esi
je 0x430f29
mov ecx, esi
call fcn.00428610
push 0x4c
push esi
call fcn.004968ea
mov eax, dword [0x4e4378]
add esp, 8
sub edi, 1
jns 0x430f05
mov eax, dword [0x4e434c]
mov edi, dword [esp + 0x10]
inc edi
mov dword [esp + 0x10], edi
mov dword [eax + 8], 0
jmp 0x430c80
push 1
call dword [sym.imp.WINMM.dll_timeEndPeriod]
call fcn.004312c0
mov eax, dword [0x4e434c]
test eax, eax
je 0x430f73
push 0x18
push eax
call fcn.004968ea
add esp, 8
mov dword [0x4e434c], 0
push dword [esp + 0x44]
push 0x4d3e84
call dword [sym.imp.USER32.dll_UnregisterClassA]
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004968dc
mov esp, ebp
pop ebp
ret 0x10