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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [0x507b40]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
push 0x71
push 0
mov ebx, ecx
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push 0
push 0
push 0
mov dword [esp + 0x54], eax
lea eax, [esp + 0x5c]
push 0
push eax
call esi
cmp dword [esp + 0x54], 0x12
je 0x43758f
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
nop dword [eax]
cmp dword [ebx + 0x2a388], 0
lea eax, [esp + 0x50]
je 0x43749a
push 1
push 0
push 0
push 0
push eax
call esi
jmp 0x4374a7
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4374e3
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x4c]
push dword [ebx + 0x2a3cc]
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x437584
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x437584
cmp dword [ebx + 0x2a388], 0
je 0x437584
cmp dword [ebx + 0x2a38c], 0
je 0x437584
mov eax, dword [ebx + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
jns 0x4375a5
cmp eax, 0x88760868
je 0x437584
cmp eax, 0x88760869
jne 0x43756e
cmp dword [ebx + 0x2a384], 0
je 0x437563
mov esi, dword [ebx + 0x2a380]
lea eax, [ebx + 0x430]
mov ecx, dword [ebx + 0x2a3d4]
imul edi, esi, 0x438c
mov edx, dword [ecx]
add eax, edi
push eax
push esi
push ecx
call dword [edx + 0x20]
mov eax, dword [edi + ebx + 0x43c]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov dword [ebx + 0x2a3a0], eax
mov ecx, ebx
call fcn.00437360
test eax, eax
js 0x437572
test eax, eax
jns 0x437584
push 0
push 0
push 0x10
push dword [ebx + 0x2a3cc]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esp + 0x54], 0x12
jne 0x437480
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x58]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00498846
mov esp, ebp
pop ebp
ret
push 5
call fcn.0043b1a0
fstp dword [esp + 0x44]
push 6
call fcn.0043b1a0
fstp dword [esp + 0x4c]
movss xmm1, dword [esp + 0x4c]
xorps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x4375d6
cmp dword [ebx + 0x2a390], 0
jne 0x437584
cmp dword [ebx + 0x2a390], 0
jne 0x4375e8
cmp dword [ebx + 0x2a394], 0
je 0x437617
mov eax, dword [ebx]
mov ecx, ebx
movss xmm0, dword [esp + 0x44]
movss dword [ebx + 0x2a4f8], xmm0
movss dword [ebx + 0x2a4fc], xmm1
call dword [eax + 0x14]
test eax, eax
js 0x437572
mov dword [ebx + 0x2a394], 0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
test eax, eax
js 0x437572
push 4
call fcn.0043b1a0
mov eax, dword [0x5093c0]
fstp dword [esp + 0x44]
movss xmm2, dword [esp + 0x44]
inc eax
movaps xmm1, xmm2
mov dword [0x5093c0], eax
subss xmm1, dword [0x5093bc]
comiss xmm1, dword [0x4ca598]
jbe 0x437761
movd xmm0, eax
lea edx, [esp + 0x6c]
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
mov ecx, dword [ebx + 0x2a3d4]
push edx
mov dword [0x5093c0], 0
push dword [ebx + 0x2a380]
addsd xmm0, qword [eax*8 + 0x4c99e0]
push ecx
movss dword [0x5093bc], xmm2
cvtpd2ps xmm0, xmm0
divss xmm0, xmm1
movss dword [ebx + 0x2a500], xmm0
mov eax, dword [ecx]
call dword [eax + 0x20]
cmp dword [esp + 0x78], 0x16
lea esi, [ebx + 0x2a55e]
movss xmm0, dword [ebx + 0x2a500]
mov ecx, 0x20
mov eax, 0x10
cmove eax, ecx
push eax
push dword [ebx + 0x2a4cc]
cvtps2pd xmm0, xmm0
push dword [ebx + 0x2a4c8]
sub esp, 8
movsd qword [esp], xmm0
push str._.02f_fps___dx_dx_d_
push esi
call fcn.00434260
add esp, 0x1c
cmp dword [ebx + 0x2a58c], 0
je case.0x437729.72
imul ecx, dword [ebx + 0x2a380], 0x438c
add ecx, 4
add ecx, ebx
imul eax, dword [ecx + 0x4388], 0xca8
add ecx, eax
mov eax, dword [ecx + 0x10dc]
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*4 + 0x534]
add eax, 0xffffffb9
cmp eax, 9
ja case.0x437729.72
jmp dword [eax*4 + 0x43777c]
push str.__D16_
jmp 0x437758
push str.__D15S1_
jmp 0x437758
push str.__D24X8_
jmp 0x437758
push str.__D24S8_
jmp 0x437758
push str.__D24X4S4_
jmp 0x437758
push str.__D32_
push esi
call edi
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov eax, dword [ebx + 0x2a3d8]
push 0
push 0
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x3c]
jmp 0x437584