Function at 0x437b30
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x485648]
sub esp, 0x1c
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
jne 0x437b4c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
mov eax, dword [0x47d690]
mov ecx, dword [0x480f00]
push eax
push ecx
mov dword [0x485388], ebx
call dword [0x480d64]
mov edx, dword [esp + 0x30]
push ebx
push edx
call dword [0x483a74]
mov esi, eax
cmp esi, ebx
jne 0x437b81
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret
cmp dword [0x48557c], ebx
je 0x437bab
mov ecx, dword [0x485578]
lea eax, [esp + 0x30]
push eax
push ebx
push 0x809
push ecx
call dword [sym.imp.WINMM.dll_mciSendCommandA]
mov dword [0x48557c], 1
call dword [0x483978]
call dword [0x484ee4]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebp, dword [sym.imp.USER32.dll_GetMessageA]
push ebx
push ebx
push ebx
lea edx, [esp + 0x1c]
push ebx
push edx
call edi
test eax, eax
je 0x437bf8
push ebx
push ebx
lea eax, [esp + 0x18]
push ebx
push eax
call ebp
test eax, eax
je 0x437c0a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x437bc3
cmp dword [0x48538c], ebx
je 0x437c10
cmp dword [0x485394], ebx
je 0x437c10
jmp 0x437bc3
push ebx
call fcn.004517fd
mov dword [0x47f90c], ebx
mov word [0x47e96c], bx
mov dword [0x485388], ebx
mov word [0x483a64], bx
mov word [0x47f72c], bx
mov dword [0x485394], ebx
mov dword [0x48538c], ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x1c]
push ebx
push eax
call edi
test eax, eax
je 0x437c74
push ebx
push ebx
lea ecx, [esp + 0x18]
push ebx
push ecx
call ebp
test eax, eax
je 0x437d1d
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
call fcn.00408d80
cmp dword [0x48538c], ebx
jne 0x437d1d
cmp dword [0x485394], ebx
jne 0x437d1d
push esi
call dword [0x47da1c]
test eax, eax
jne 0x437c3d
mov eax, dword [0x485500]
cmp eax, ebx
jne 0x437cdf
cmp dword [esi], 0x280
jne 0x437cc6
mov ecx, dword [0x480e50]
push ecx
push esi
call fcn.00437410
add esp, 8
test eax, eax
je 0x437d1d
jmp 0x437c3d
mov edx, dword [0x480e50]
push edx
push esi
call fcn.00437760
add esp, 8
test eax, eax
je 0x437d1d
jmp 0x437c3d
cmp eax, 2
jne 0x437cfc
mov eax, dword [0x480e50]
push eax
push esi
call fcn.00435e10
add esp, 8
test eax, eax
je 0x437d1d
jmp 0x437c3d
cmp eax, 1
jne 0x437c3d
mov ecx, dword [0x480e50]
push ecx
push esi
call fcn.00436ee0
add esp, 8
test eax, eax
jne 0x437c3d
push esi
mov dword [0x485388], ebx
mov word [0x47e96c], bx
call dword [0x483e9c]
mov eax, dword [0x485638]
cmp eax, ebx
je 0x437d47
push eax
call dword [0x483e70]
mov dword [0x485638], ebx
mov eax, dword [0x483ee0]
cmp eax, ebx
je 0x437d5c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [0x483ee0], ebx
mov eax, dword [0x485500]
cmp eax, ebx
jne 0x437d97
mov eax, dword [0x485630]
cmp eax, ebx
je 0x437d7d
push eax
call fcn.00450d9f
add esp, 4
mov dword [0x485630], ebx
mov eax, dword [0x485634]
cmp eax, ebx
je 0x437df6
push eax
call fcn.00450d9f
add esp, 4
mov dword [0x485634], ebx
jmp 0x437df6
cmp eax, 1
jne 0x437df6
mov esi, dword [0x48563c]
cmp esi, ebx
je 0x437dc9
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x437dc3
push eax
mov eax, dword [esi]
push eax
call dword [0x475e64]
push esi
mov dword [esi + 0x1c], ebx
call fcn.00450d9f
add esp, 4
mov dword [0x48563c], ebx
mov esi, dword [0x485640]
cmp esi, ebx
je 0x437df6
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x437df0
mov ecx, dword [esi]
push eax
push ecx
call dword [0x475e64]
push esi
mov dword [esi + 0x1c], ebx
call fcn.00450d9f
add esp, 4
mov dword [0x485640], ebx
mov eax, dword [0x483a58]
cmp eax, ebx
je 0x437e0b
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [0x483a58], ebx
mov eax, dword [0x483a5c]
cmp eax, ebx
je 0x437e20
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [0x483a5c], ebx
mov ecx, 0x54
xor eax, eax
mov edi, 0x47e010
rep stosd dword es:[edi], eax
mov eax, 0x47e1ec
mov ecx, 8
mov dword [eax], ebx
add eax, 0xc
dec ecx
jne 0x437e38
push 1
mov dword [0x47e014], 0x40800000
mov dword [0x47e018], 0x3eaa7efa
mov dword [0x485388], ebx
mov dword [0x485394], ebx
call fcn.00413480
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret