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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x304
push ebx
push esi
push edi
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x5f5420]
mov ecx, 0x5f54d0
push 0x80e2
mov dword [eax + 0x20], 0
cmp dword [0x5f54e4], 0xf
cmova ecx, dword [0x5f54d0]
xor edx, edx
call fcn.0042de00
add esp, 4
mov ecx, str.EternalReturn.exe
call fcn.00419af0
test al, al
je 0x410dff
mov ecx, dword [0x5f5420]
xor edx, edx
push str.Background
mov eax, dword [ecx + 0x3e48]
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0x38], xmm0
movss xmm0, dword [eax + 0x18]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
mov ecx, dword [ecx + 0x47c4]
movss dword [esp + 0x30], xmm0
mov esi, dword [eax + 0x264]
mov ecx, dword [ecx]
call fcn.004285b0
mov eax, dword [0x5f5420]
add esp, 4
mov edx, 1
mov ecx, dword [eax + 0x47c4]
push str.Foreground
mov ecx, dword [ecx]
call fcn.004285b0
movss xmm2, dword [esp + 0x38]
lea eax, [esp + 0x30]
movss xmm1, dword [esp + 0x30]
movaps xmm0, xmm2
xorps xmm3, xmm3
add esp, 4
addss xmm0, xmm3
mov ecx, esi
push 0xff000000
push 0xff221114
movss dword [esp + 0x18], xmm0
movaps xmm0, xmm1
addss xmm0, xmm3
push 0xff882044
push 0xff000000
push eax
lea eax, [esp + 0x24]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [0x56cbdc]
addss xmm2, xmm0
addss xmm1, xmm0
push eax
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x48], xmm1
call fcn.00446ed0
call fcn.00405600
mov esi, dword [0x5f5420]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0
movss xmm0, dword [esi + 0x3788]
lea ecx, [esi + 0x4764]
movss dword [esp + 0x18], xmm0
call fcn.0043b250
push 0
push ecx
lea eax, [esp + 0x18]
mov dword [esi + 0x3788], 0x3f4ccccd
push eax
mov edx, 1
mov dword [esp + 0x1c], 0x43eb0000
xor ecx, ecx
mov dword [esp + 0x20], 0x43c80000
call fcn.0042b350
add esp, 0xc
test al, al
je 0x4104f0
mov ecx, dword [0x5f5420]
lea edx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 0x428c0000
mov dword [esp + 0x18], 0x420c0000
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
mov ecx, 0x46c418
movss xmm0, dword [eax + 0x14]
subss xmm0, dword [eax + 0x78]
mov byte [eax + 0x131], 1
addss xmm0, dword [0x56cb8c]
movss dword [eax + 0xf0], xmm0
call fcn.00451000
add esp, 4
test al, al
je 0x410430
mov dword [0x573428], 1
movss xmm1, dword [0x56cc20]
xorps xmm0, xmm0
call fcn.004335a0
push ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0x428c0000
mov ecx, 0x46c41c
mov dword [esp + 0x18], 0x420c0000
call fcn.00451000
add esp, 4
test al, al
je 0x410470
mov dword [0x573428], 2
movss xmm1, dword [0x56cc20]
xorps xmm0, xmm0
call fcn.004335a0
push ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0x428c0000
mov ecx, 0x46c428
mov dword [esp + 0x18], 0x420c0000
call fcn.00451000
add esp, 4
test al, al
je 0x4104b0
mov dword [0x573428], 5
movss xmm1, dword [0x56cc20]
xorps xmm0, xmm0
call fcn.004335a0
push ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0x428c0000
mov ecx, 0x46c42c
mov dword [esp + 0x18], 0x420c0000
call fcn.00451000
add esp, 4
test al, al
je 0x4104f0
mov dword [0x573428], 6
call fcn.0042b5e0
push 0
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x43eb0000
push eax
mov edx, 1
mov dword [esp + 0x20], 0x43c80000
xor ecx, ecx
call fcn.0042b350
add esp, 0xc
test al, al
je 0x410a8b
mov ecx, dword [0x5f5420]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
movss xmm0, dword [ecx + 0x37f4]
addss xmm0, dword [eax + 0x134]
movss dword [eax + 0x134], xmm0
addss xmm0, dword [eax + 0x14]
addss xmm0, dword [eax + 0x138]
movss dword [eax + 0xf0], xmm0
mov eax, dword [0x573428]
cmp eax, 1
jne 0x41057e
call fcn.00416620
jmp 0x410a8b
cmp eax, 2
jne 0x4107b2
mov eax, dword [ecx + 0x3e48]
mov esi, 0x46b75a
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x4105d4
mov ecx, esi
cmp esi, 0xffffffff
jae 0x4105c6
nop
mov dl, byte [ecx]
test dl, dl
je 0x4105c6
cmp dl, 0x23
jne 0x4105c0
cmp byte [ecx + 1], dl
je 0x4105c6
inc ecx
cmp ecx, 0xffffffff
jb 0x4105b0
push ecx
xorps xmm3, xmm3
mov edx, esi
call fcn.00452e10
add esp, 4
push 0x5732d0
push str.Script
call fcn.00464840
cmp byte [0x5732d0], 0
je 0x41060b
push ecx
push 0x43
push 0x5731b0
push 0x453bd0
mov edx, 0x5f5570
mov ecx, 0x46c26c
call fcn.00453c50
add esp, 0x10
mov ecx, dword [0x5f5420]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x410664
mov ecx, str.Combo
mov edi, ecx
cmp edi, 0xffffffff
jae 0x410656
nop dword [eax]
mov dl, byte [ecx]
test dl, dl
je 0x410656
cmp dl, 0x23
jne 0x410650
cmp byte [ecx + 1], dl
je 0x410656
inc ecx
cmp ecx, 0xffffffff
jb 0x410640
push ecx
xorps xmm3, xmm3
mov edx, edi
call fcn.00452e10
add esp, 4
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0x42be0000
mov ecx, 0x5f4590
mov dword [esp + 0x14], 0x41e00000
call fcn.00405fc0
call fcn.00430ae0
mov ecx, dword [0x5f5420]
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x4106d7
mov ecx, 0x46b75a
cmp esi, 0xffffffff
jae 0x4106c9
mov dl, byte [ecx]
test dl, dl
je 0x4106c9
cmp dl, 0x23
jne 0x4106c3
cmp byte [ecx + 1], dl
je 0x4106c9
inc ecx
cmp ecx, 0xffffffff
jb 0x4106b3
push ecx
xorps xmm3, xmm3
mov edx, esi
call fcn.00452e10
add esp, 4
push 0x5f554d
push str.Run_Script
call fcn.00464840
cmp byte [0x5f554d], 0
je 0x4106f6
mov byte [0x5f554e], 0
push 0x5f554e
push str.Run_Bot
call fcn.00464840
cmp byte [0x5f554e], 0
je 0x410715
mov byte [0x5f554d], 0
mov edi, dword [0x5f5420]
mov edx, dword [edi + 0x46a0]
dec dword [edi + 0x4788]
dec word [edi + 0x5a04]
mov ecx, dword [edi + 0x4788]
mov eax, dword [edi + 0x4790]
shr edx, 2
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x46a0], eax
test dl, 1
je 0x41075c
test al, 4
jne 0x41075c
mov eax, dword [edi + 0x5a00]
mov dword [edi + 0x3788], eax
mov eax, dword [edi + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [edi + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x410a8b
mov eax, 0x46b75a
cmp esi, 0xffffffff
jae 0x41079f
mov dl, byte [eax]
test dl, dl
je 0x41079f
lea ecx, [eax + 1]
cmp dl, 0x23
jne 0x410798
cmp byte [ecx], dl
je 0x41079f
mov eax, ecx
cmp eax, 0xffffffff
jb 0x410786
push eax
xorps xmm3, xmm3
mov edx, esi
call fcn.00452e10
add esp, 4
jmp 0x410a8b
cmp eax, 5
jne 0x410a81
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x410807
mov ecx, str.Controls
mov esi, ecx
cmp esi, 0xffffffff
jae 0x4107f9
mov dl, byte [ecx]
test dl, dl
je 0x4107f9
cmp dl, 0x23
jne 0x4107f3
cmp byte [ecx + 1], dl
je 0x4107f9
inc ecx
cmp ecx, 0xffffffff
jb 0x4107e3
push ecx
xorps xmm3, xmm3
mov edx, esi
call fcn.00452e10
add esp, 4
call dword [sym.imp.WINMM.dll_joyGetNumDevs]
mov ebx, eax
xor edi, edi
mov esi, 0x46b75a
test ebx, ebx
je 0x4108e3
nop
push 0x2d8
lea eax, [esp + 0x3c]
push eax
push edi
call dword [sym.imp.WINMM.dll_joyGetDevCapsW]
test eax, eax
jne 0x4108da
push edi
push str.Game_Device__d:
call fcn.004505b0
lea eax, [esp + 0x44]
push eax
push str.Name:__s
call fcn.004505b0
lea eax, [esp + 0x118]
push eax
push str.Manufacturer:__s
call fcn.004505b0
push dword [esp + 0xac]
push str.Number_of_Buttons:__d
call fcn.004505b0
push dword [esp + 0xe0]
push str.Number_of_Axes:__d
call fcn.004505b0
mov ecx, dword [0x5f5420]
add esp, 0x28
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x4108da
mov ecx, 0x46b75a
cmp esi, 0xffffffff
jae 0x4108cc
mov dl, byte [ecx]
test dl, dl
je 0x4108cc
cmp dl, 0x23
jne 0x4108c6
cmp byte [ecx + 1], dl
je 0x4108cc
inc ecx
cmp ecx, 0xffffffff
jb 0x4108b6
push ecx
xorps xmm3, xmm3
mov edx, esi
call fcn.00452e10
add esp, 4
inc edi
cmp edi, ebx
jb 0x410820
mov ebx, dword [sym.imp.XINPUT1_3.dll_Ordinal_2]
xor edi, edi
nop dword [eax + eax]
lea eax, [esp + 0x10]
xorps xmm0, xmm0
push eax
push edi
movaps xmmword [esp + 0x18], xmm0
call ebx
test eax, eax
jne 0x41096c
push edi
push str.Device__d:
call fcn.004505b0
push str.Is_Connected:_Yes
call fcn.004505b0
mov ecx, dword [0x5f5420]
add esp, 0xc
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x41096c
mov ecx, 0x46b75a
cmp esi, 0xffffffff
jae 0x41095e
mov dl, byte [ecx]
test dl, dl
je 0x41095e
cmp dl, 0x23
jne 0x410958
cmp byte [ecx + 1], dl
je 0x41095e
inc ecx
cmp ecx, 0xffffffff
jb 0x410948
push ecx
xorps xmm3, xmm3
mov edx, esi
call fcn.00452e10
add esp, 4
inc edi
cmp edi, 4
jb 0x4108f0
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0x42be0000
mov ecx, 0x5f4588
mov dword [esp + 0x14], 0x41e00000
call fcn.00405fc0
call fcn.00430ae0
push 0x5f5578
push str.Record_keys
call fcn.00464840
mov edi, dword [0x5f5420]
mov edx, dword [edi + 0x46a0]
dec dword [edi + 0x4788]
dec word [edi + 0x5a04]
mov ecx, dword [edi + 0x4788]
mov eax, dword [edi + 0x4790]
shr edx, 2
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x46a0], eax
test dl, 1
je 0x4109ef
test al, 4
jne 0x4109ef
mov eax, dword [edi + 0x5a00]
mov dword [edi + 0x3788], eax
mov eax, dword [edi + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [edi + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x410a3f
mov ecx, 0x46b75a
cmp esi, 0xffffffff
jae 0x410a2b
mov dl, byte [ecx]
test dl, dl
je 0x410a2b
cmp dl, 0x23
jne 0x410a25
cmp byte [ecx + 1], dl
je 0x410a2b
inc ecx
cmp ecx, 0xffffffff
jb 0x410a15
push ecx
xorps xmm3, xmm3
mov edx, esi
call fcn.00452e10
mov edi, dword [0x5f5420]
add esp, 4
mov eax, dword [edi + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [edi + 0x3e48]
movss xmm0, dword [eax + 0x134]
subss xmm0, dword [edi + 0x37f4]
movss dword [eax + 0x134], xmm0
addss xmm0, dword [eax + 0x14]
addss xmm0, dword [eax + 0x138]
movss dword [eax + 0xf0], xmm0
jmp 0x410a8b
cmp eax, 6
jne 0x410a8b
call fcn.00415310
call fcn.0042b5e0
push 0
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x43eb0000
push eax
mov edx, 3
mov dword [esp + 0x20], 0x42a00000
xor ecx, ecx
call fcn.0042b350
add esp, 0xc
test al, al
je 0x410dee
mov esi, dword [0x5f5420]
movss xmm3, dword [0x56cbfc]
push 0
push 0
mov eax, dword [esi + 0x3e48]
push str.License:N_A_____.f_MS_____.f_FPS_____HideMenu______PGDN___
push ecx
mov dword [esp], 0xbf800000
movss xmm0, dword [eax + 0xf4]
movss xmm1, dword [eax + 0x22c]
movaps xmm2, xmm0
subss xmm2, dword [eax + 0x18]
subss xmm1, xmm0
addss xmm2, dword [eax + 0x7c]
subss xmm1, dword [0x56cb84]
mov byte [eax + 0xac], 1
mov eax, dword [esi + 0x3e48]
mulss xmm1, dword [0x56ca80]
mov byte [eax + 0x131], 1
movss xmm0, dword [eax + 0x18]
subss xmm0, dword [eax + 0x7c]
addss xmm2, xmm1
addss xmm0, xmm2
movss dword [eax + 0xf4], xmm0
lea eax, [esp + 0x20]
movss xmm0, dword [esi + 0xa0]
movss xmm2, dword [esi + 0x3bb8]
mov ecx, dword [esi + 0x3bb4]
push eax
movss dword [esp + 0x40], xmm0
call fcn.0044ad20
mov eax, dword [esi + 0x3e48]
movss xmm0, dword [esp + 0x10]
addss xmm0, dword [0x56cab8]
push str.License:
movss xmm1, dword [eax + 0x1c]
mov byte [eax + 0xac], 1
mov ecx, dword [esi + 0x3e48]
cvttss2si eax, xmm0
mov byte [ecx + 0x131], 1
movd xmm0, eax
lea eax, [esp + 0x14]
cvtdq2ps xmm0, xmm0
push eax
subss xmm1, xmm0
movss xmm0, dword [ecx + 0x14]
subss xmm0, dword [ecx + 0x78]
mulss xmm1, dword [0x56ca80]
addss xmm1, xmm0
movaps xmm0, xmmword [0x56cd80]
movups xmmword [esp + 0x18], xmm0
movss dword [ecx + 0xf0], xmm1
call fcn.00450670
movss xmm1, dword [0x56cc20]
xorps xmm0, xmm0
call fcn.004335a0
push 0x46c78c
call fcn.004505b0
movss xmm1, dword [0x56cc20]
add esp, 0xc
xorps xmm0, xmm0
call fcn.004335a0
movaps xmm0, xmmword [0x56cd80]
lea eax, [esp + 0x10]
movups xmmword [esp + 0x10], xmm0
sub esp, 8
movss xmm0, dword [0x56cb78]
divss xmm0, dword [esp + 0x34]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str.____.0f
push eax
call fcn.00450670
movss xmm1, dword [0x56cc20]
xorps xmm0, xmm0
call fcn.004335a0
push 0x46c798
call fcn.004505b0
movss xmm1, dword [0x56cc20]
add esp, 0x14
xorps xmm0, xmm0
call fcn.004335a0
movaps xmm0, xmmword [0x56cd80]
lea eax, [esp + 0x10]
sub esp, 8
movups xmmword [esp + 0x18], xmm0
movsd xmm0, qword [0x56cb18]
movsd qword [esp], xmm0
push str.____.f
push eax
call fcn.00450670
movss xmm1, dword [0x56cc20]
xorps xmm0, xmm0
call fcn.004335a0
push 0x46c7a4
call fcn.004505b0
movss xmm1, dword [0x56cc20]
add esp, 0x14
xorps xmm0, xmm0
call fcn.004335a0
push 0x46c7a8
call fcn.004505b0
movss xmm1, dword [0x56cc20]
add esp, 4
xorps xmm0, xmm0
call fcn.004335a0
movaps xmm0, xmmword [0x56cd80]
lea eax, [esp + 0x10]
push str.HideMenu
push eax
movups xmmword [esp + 0x18], xmm0
call fcn.00450670
movss xmm1, dword [0x56cc20]
xorps xmm0, xmm0
call fcn.004335a0
push 0x46c7bc
call fcn.004505b0
movss xmm1, dword [0x56cc20]
add esp, 0xc
xorps xmm0, xmm0
call fcn.004335a0
push 0x46c7c0
call fcn.004505b0
movss xmm1, dword [0x56cc20]
add esp, 4
xorps xmm0, xmm0
call fcn.004335a0
push str.PGDN
call fcn.004505b0
movss xmm1, dword [0x56cc20]
add esp, 4
xorps xmm0, xmm0
call fcn.004335a0
push 0x46c7cc
call fcn.004505b0
mov ecx, dword [0x5f5420]
add esp, 4
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e48]
cmp byte [eax + 0xaf], 0
jne 0x410db3
movss xmm1, dword [0x56cc20]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.00433210
push ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0x42200000
mov ecx, 0x46c7d0
mov dword [esp + 0x18], 0x41f00000
call fcn.00451000
add esp, 4
test al, al
jne 0x410dff
movss xmm1, dword [0x56cc20]
xorps xmm0, xmm0
call fcn.004335a0
call fcn.00407150
call fcn.0042b5e0
call fcn.00430330
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00407800
int3