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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x628705
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x6d8314]
xor eax, esp
mov dword [esp + 0xc4], eax
push esi
push edi
mov eax, dword [0x6d8314]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x10], eax
sub esp, 0x30
lea edi, [eax + 0x40]
mov esi, esp
mov ecx, esi
push 0xffffffffffffffff
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push edi
mov byte [esi], 0
call fcn.00430cb0
movdqu xmm0, xmmword [edi + 0x18]
lea ecx, [esp + 0xe8]
movdqu xmmword [esi + 0x18], xmm0
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
call fcn.004cc710
add esp, 0x30
mov dword [esp + 0xe0], 0
mov dword [esp + 0x84], 0
push 0x400
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0xe8], 1
call fcn.004367d0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea ecx, [esp + 0x78]
mov byte [esp + 0xe0], 2
call fcn.00434240
mov edi, dword [esp + 0x10]
xor ecx, ecx
xorps xmm0, xmm0
mov dword [esp + 0x84], 3
movq qword [esp + 0x78], xmm0
mov dword [esp + 0x80], 0
mov al, byte [edi + 0xd4]
test al, al
setne cl
add ecx, 0x101
mov dword [esp + 0x30], ecx
push ecx
lea eax, [esp + 0x28]
mov byte [esp + 0xe4], 3
push eax
mov edx, str.reduceInertia
lea ecx, [esp + 0x80]
call fcn.00452480
add esp, 8
mov byte [esp + 0xe0], 2
lea ecx, [esp + 0x24]
call fcn.00434240
mov al, byte [edi + 0xd5]
xor ecx, ecx
test al, al
setne cl
add ecx, 0x101
mov dword [esp + 0x30], ecx
push ecx
lea eax, [esp + 0x28]
mov byte [esp + 0xe4], 4
push eax
mov edx, str.keyboardShowGreet
lea ecx, [esp + 0x80]
call fcn.00452480
add esp, 8
mov byte [esp + 0xe0], 2
lea ecx, [esp + 0x24]
call fcn.00434240
mov al, byte [edi + 0xd6]
xor ecx, ecx
test al, al
setne cl
add ecx, 0x101
mov dword [esp + 0x30], ecx
push ecx
lea eax, [esp + 0x28]
mov byte [esp + 0xe4], 5
push eax
mov edx, str.joystickShowGreet
lea ecx, [esp + 0x80]
call fcn.00452480
add esp, 8
mov byte [esp + 0xe0], 2
lea ecx, [esp + 0x24]
call fcn.00434240
mov al, byte [edi + 0xd7]
xor ecx, ecx
test al, al
setne cl
add ecx, 0x101
mov dword [esp + 0x30], ecx
push ecx
lea eax, [esp + 0x28]
mov byte [esp + 0xe4], 6
push eax
mov edx, str.keyboardFirstGreet
lea ecx, [esp + 0x80]
call fcn.00452480
add esp, 8
mov byte [esp + 0xe0], 2
lea ecx, [esp + 0x24]
call fcn.00434240
mov al, byte [edi + 0xd8]
xor ecx, ecx
test al, al
setne cl
add ecx, 0x101
mov dword [esp + 0x30], ecx
push ecx
lea eax, [esp + 0x28]
mov byte [esp + 0xe4], 7
push eax
mov edx, str.joystickFirstGreet
lea ecx, [esp + 0x80]
call fcn.00452480
add esp, 8
mov byte [esp + 0xe0], 2
lea ecx, [esp + 0x24]
call fcn.00434240
mov al, byte [edi + 0xd9]
xor ecx, ecx
test al, al
setne cl
add ecx, 0x101
mov dword [esp + 0x30], ecx
push ecx
lea eax, [esp + 0x28]
mov byte [esp + 0xe4], 8
push eax
mov edx, str.keyboardShowHints
lea ecx, [esp + 0x80]
call fcn.00452480
add esp, 8
mov byte [esp + 0xe0], 2
lea ecx, [esp + 0x24]
call fcn.00434240
mov al, byte [edi + 0xda]
xor ecx, ecx
test al, al
setne cl
add ecx, 0x101
mov dword [esp + 0x30], ecx
push ecx
lea eax, [esp + 0x28]
mov byte [esp + 0xe4], 9
push eax
mov edx, str.joystickShowHints
lea ecx, [esp + 0x80]
call fcn.00452480
add esp, 8
mov byte [esp + 0xe0], 2
lea ecx, [esp + 0x24]
call fcn.00434240
mov eax, dword [edi + 0xe4]
mov ecx, 0x3a06
test eax, 0x80000000
mov dword [esp + 0x14], eax
mov esi, 0x3e06
mov dword [esp + 0x18], 0
cmove ecx, esi
mov dword [esp + 0x20], ecx
push ecx
lea eax, [esp + 0x18]
mov byte [esp + 0xe4], 0xa
push eax
mov edx, str.keyboardIgnoreVersion
lea ecx, [esp + 0x80]
call fcn.00452480
add esp, 8
mov byte [esp + 0xe0], 2
lea ecx, [esp + 0x14]
call fcn.00434240
mov eax, dword [edi + 0xe8]
mov ecx, 0x3a06
test eax, 0x80000000
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
cmove ecx, esi
mov dword [esp + 0x20], ecx
push ecx
lea eax, [esp + 0x18]
mov byte [esp + 0xe4], 0xb
push eax
mov edx, str.joystickIgnoreVersion
lea ecx, [esp + 0x80]
call fcn.00452480
add esp, 8
mov byte [esp + 0xe0], 2
lea ecx, [esp + 0x14]
call fcn.00434240
mov ecx, dword [edi + 0xdc]
mov esi, 0x1606
mov eax, ecx
test ecx, ecx
cdq
mov dword [esp + 0x14], eax
mov eax, 0x3e06
cmovns esi, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], esi
push ecx
lea eax, [esp + 0x18]
mov byte [esp + 0xe4], 0xc
push eax
mov edx, str.noticeTimes
lea ecx, [esp + 0x80]
call fcn.00452480
add esp, 8
mov byte [esp + 0xe0], 2
lea ecx, [esp + 0x14]
call fcn.00434240
mov eax, dword [edi + 0xe0]
mov ecx, 0x3a06
test eax, 0x80000000
mov dword [esp + 0x14], eax
mov eax, 0x3e06
mov dword [esp + 0x18], 0
cmove ecx, eax
mov dword [esp + 0x20], ecx
push ecx
lea eax, [esp + 0x18]
mov byte [esp + 0xe4], 0xd
push eax
mov edx, str.noticeHash
lea ecx, [esp + 0x80]
call fcn.00452480
add esp, 8
mov byte [esp + 0xe0], 2
lea ecx, [esp + 0x14]
call fcn.00434240
xorps xmm0, xmm0
mov dword [esp + 0x40], 3
xor eax, eax
movq qword [esp + 0x34], xmm0
mov dword [esp + 0x3c], eax
mov byte [esp + 0xe0], 0xe
lea ecx, [esp + 0x60]
movdqu xmm0, xmmword [edi + 0x58]
mov edx, dword [edi + 0x68]
sub esp, 0x10
mov eax, esp
movdqu xmmword [eax], xmm0
call fcn.004e01b0
add esp, 0x10
lea eax, [esp + 0x60]
mov byte [esp + 0xe0], 0xf
add edi, 0x11c
push eax
mov ecx, edi
call fcn.0043b060
mov esi, eax
cmp esi, dword [edi]
je 0x4e1520
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.0043af40
test al, al
je 0x4e154c
lea eax, [esp + 0x60]
push ecx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, edi
call fcn.004e6090
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [esp + 0x18]
push eax
call fcn.004e5e60
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
lea ecx, [esi + 0x28]
add eax, 0xec
cmp ecx, eax
je 0x4e1566
push 0xffffffffffffffff
push 0
push eax
call fcn.00414cd0
lea eax, [esp + 0x60]
mov ecx, edi
push eax
call fcn.0043b060
mov esi, eax
cmp esi, dword [edi]
je 0x4e158a
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.0043af40
test al, al
je 0x4e15b6
lea eax, [esp + 0x60]
push ecx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, edi
call fcn.004e6090
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [esp + 0x18]
push eax
call fcn.004e5e60
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
lea ecx, [esi + 0x40]
add eax, 0x104
cmp ecx, eax
je 0x4e15d0
push 0xffffffffffffffff
push 0
push eax
call fcn.00414cd0
mov edi, dword [edi]
mov esi, dword [edi]
cmp esi, edi
je 0x4e17ef
lea esp, [esp]
lea eax, [esi + 0x10]
mov dword [esp + 0x50], 3
xorps xmm0, xmm0
mov dword [esp + 0x10], eax
movq qword [esp + 0x44], xmm0
mov dword [esp + 0x4c], 0
lea edx, [eax + 0x18]
mov dword [esp + 0xb4], 0
mov byte [esp + 0xe0], 0x11
cmp dword [edx + 0x14], 8
jb 0x4e161e
mov edx, dword [edx]
push ecx
lea ecx, [esp + 0xac]
call fcn.004523b0
lea eax, [esp + 0xac]
mov edx, str.keyboardId
push eax
lea ecx, [esp + 0x4c]
call fcn.00452480
add esp, 8
mov byte [esp + 0xe0], 0x10
lea ecx, [esp + 0xa8]
call fcn.00434240
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], 0
lea edx, [ecx + 0x30]
mov byte [esp + 0xe0], 0x12
cmp dword [edx + 0x14], 8
jb 0x4e1677
mov edx, dword [edx]
push ecx
lea ecx, [esp + 0x28]
call fcn.004523b0
lea eax, [esp + 0x28]
mov edx, str.joystickId
push eax
lea ecx, [esp + 0x4c]
call fcn.00452480
add esp, 8
mov byte [esp + 0xe0], 0x10
lea ecx, [esp + 0x24]
call fcn.00434240
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x14], 0x10
jb 0x4e16b8
mov ecx, dword [ecx]
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0
mov eax, ecx
je 0x4e16c6
nop
inc eax
cmp byte [eax], 0
jne 0x4e16c0
sub eax, ecx
mov dword [esp + 0x20], 0x300005
mov dword [esp + 0xc], eax
inc eax
push eax
call dword [sym.imp.MSVCR120.dll_malloc]
mov ecx, dword [esp + 0x10]
add esp, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
push ecx
mov ecx, dword [esp + 0x14]
push ecx
push eax
call sub.MSVCR120.dll_memcpy
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x38], eax
jb 0x4e1752
test eax, eax
jne 0x4e1733
mov eax, 0x10
push 0x200
mov dword [esp + 0x40], eax
call dword [sym.imp.MSVCR120.dll_malloc]
mov ecx, eax
add esp, 4
mov dword [esp + 0x34], ecx
jmp 0x4e1756
add eax, eax
mov dword [esp + 0x3c], eax
shl eax, 5
push eax
push dword [esp + 0x38]
call dword [sym.imp.MSVCR120.dll_realloc]
mov ecx, eax
add esp, 8
mov dword [esp + 0x34], ecx
jmp 0x4e1756
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
movdqu xmm0, xmmword [esp + 0x14]
inc dword [esp + 0x38]
shl eax, 5
mov dword [esp + 0x20], 0
movdqu xmmword [eax + ecx], xmm0
movdqu xmm0, xmmword [esp + 0x44]
movdqu xmmword [eax + ecx + 0x10], xmm0
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], 0
call fcn.00434240
lea ecx, [esp + 0x44]
mov byte [esp + 0xe0], 0xf
call fcn.00434240
cmp byte [esi + 0xd], 0
jne 0x4e17e7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4e17cc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4e17e7
jmp 0x4e17c0
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4e17c0
jmp 0x4e17e7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4e17e5
cmp esi, dword [eax + 8]
jne 0x4e17e5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4e17d5
mov esi, eax
cmp esi, edi
jne 0x4e15e0
push ecx
lea eax, [esp + 0x38]
mov edx, str.resolutionRelatives
push eax
lea ecx, [esp + 0x80]
call fcn.00452480
add esp, 8
lea edx, [esp + 0xb8]
lea ecx, [esp + 0x78]
call fcn.00463e30
cmp dword [esp + 0x74], 0x10
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x4e182f
push dword [esp + 0x60]
call esi
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
mov byte [esp + 0xe0], 2
call fcn.00434240
mov byte [esp + 0xe0], 0
push dword [esp + 0x90]
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
push dword [esp + 0x8c]
call esi
add esp, 4
lea ecx, [esp + 0x78]
call fcn.00434240
cmp dword [esp + 0xcc], 8
jb 0x4e1898
push dword [esp + 0xb8]
call esi
add esp, 4
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc4]
xor ecx, esp
call fcn.006116d0
mov esp, ebp
pop ebp
ret