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

Disassembly:
sub esp, 0xbc
push ebx
mov ebx, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
push ebp
push esi
lea eax, [ebx + 0xa1]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x24], eax
lea eax, [ebx + 0xa5]
mov dword [esp + 0x2c], eax
lea eax, [ebx + 0xa9]
mov dword [esp + 0x34], eax
lea eax, [ebx + 0xad]
mov dword [esp + 0x3c], eax
lea eax, [ebx + 0xb9]
mov dword [esp + 0x44], eax
lea eax, [ebx + 0xbd]
mov dword [esp + 0x4c], eax
lea eax, [ebx + 0xc1]
mov dword [esp + 0x54], eax
lea eax, [ebx + 0xb1]
mov dword [esp + 0x5c], eax
lea eax, [ebx + 0xb5]
mov dword [esp + 0x64], eax
lea eax, [ebx + 0xc5]
mov dword [esp + 0x6c], eax
lea eax, [ebx + 0xc9]
mov dword [esp + 0x74], eax
lea eax, [ebx + 0xcd]
mov dword [esp + 0x7c], eax
lea eax, [ebx + 0xd1]
mov dword [esp + 0x84], eax
lea eax, [ebx + 0xd5]
mov dword [esp + 0x8c], eax
lea eax, [ebx + 0xd9]
mov dword [esp + 0x94], eax
lea eax, [ebx + 0xed]
mov dword [esp + 0x9c], eax
lea eax, [ebx + 0xf1]
mov dword [esp + 0xa4], eax
lea eax, [ebx + 0xdd]
mov dword [esp + 0xac], eax
lea eax, [ebx + 0xe1]
mov dword [esp + 0xb4], eax
lea eax, [ebx + 0xe5]
mov dword [esp + 0xbc], eax
lea eax, [ebx + 0xe9]
push 0x100e0634
push ecx
mov dword [esp + 0x20], str.platform
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x100c7d14
mov dword [esp + 0x30], 0x100c7d18
mov dword [esp + 0x38], str.xyzu
mov dword [esp + 0x40], 0x100e33b8
mov dword [esp + 0x48], str.back
mov dword [esp + 0x50], str.start
mov dword [esp + 0x58], str.guide
mov dword [esp + 0x60], str.leftshoulder
mov dword [esp + 0x68], str.rightshoulder
mov dword [esp + 0x70], str.leftstick
mov dword [esp + 0x78], str.rightstick
mov dword [esp + 0x80], str.dpup
mov dword [esp + 0x88], str.dpright
mov dword [esp + 0x90], str.dpdown
mov dword [esp + 0x98], str.dpleft
mov dword [esp + 0xa0], str.lefttrigger
mov dword [esp + 0xa8], str.righttrigger
mov dword [esp + 0xb0], str.leftx
mov dword [esp + 0xb8], str.lefty
mov dword [esp + 0xc0], str.rightx
mov dword [esp + 0xc8], str.righty
mov dword [esp + 0xcc], eax
call fcn.10082520
add esp, 8
cmp eax, 0x20
jne 0x10064d9b
mov eax, dword [esp + 0xc]
cmp byte [eax + 0x20], 0x2c
jne 0x10064d9b
movups xmm0, xmmword [eax]
lea ebp, [ebx + 0x80]
push 0x100e0634
movups xmmword [ebp], xmm0
mov dword [esp + 0x18], ebp
movups xmm0, xmmword [eax + 0x10]
add eax, 0x21
push eax
movups xmmword [ebp + 0x10], xmm0
mov dword [esp + 0x14], eax
call fcn.10082520
add esp, 8
cmp eax, 0x80
jae 0x10064d9b
mov ecx, dword [esp + 0xc]
cmp byte [eax + ecx], 0x2c
lea esi, [eax + ecx]
jne 0x10064d9b
push edi
push eax
push ecx
push ebx
call fcn.1007a060
lea ecx, [esi + 1]
add esp, 0xc
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x10064d25
nop word [eax + eax]
cmp al, 0x2b
je 0x10064d8e
cmp al, 0x2d
je 0x10064d8e
xor edi, edi
lea ebx, [edi*8]
mov edx, dword [esp + ebx + 0x1c]
mov esi, edx
lea ebp, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10064ba2
sub esi, ebp
push esi
push edx
push ecx
call fcn.10085360
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x10064bc7
cmp byte [esi + ecx], 0x3a
lea eax, [esi + ecx]
je 0x10064bd2
inc edi
cmp edi, 0x16
jb 0x10064b92
jmp 0x10064ce3
mov esi, dword [esp + ebx + 0x20]
lea ecx, [eax + 1]
mov dword [esp + 0x10], ecx
test esi, esi
je 0x10064cb2
mov dl, byte [ecx]
mov byte [esp + 0x17], 0xff
mov byte [esp + 0x16], 1
cmp dl, 0x2b
jne 0x10064bfd
mov byte [esp + 0x17], 0
jmp 0x10064c08
cmp dl, 0x2d
jne 0x10064c0f
xor dl, dl
mov byte [esp + 0x16], dl
lea ecx, [eax + 2]
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x61
jne 0x10064c19
mov al, 1
jmp 0x10064c1f
cmp al, 0x62
jne 0x10064c3a
mov al, 2
mov ecx, esi
push 0xa
mov byte [ecx], al
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x18]
inc eax
push eax
call fcn.1008632b
add esp, 0xc
jmp 0x10064c73
cmp al, 0x68
jne 0x10064ce3
push 0xa
lea eax, [esp + 0x14]
mov byte [esi], 3
push eax
mov eax, dword [esp + 0x18]
inc eax
push eax
call fcn.1008632b
mov ecx, dword [esp + 0x1c]
mov ebx, eax
push 0xa
lea eax, [esp + 0x20]
inc ecx
push eax
push ecx
call fcn.1008632b
shl bl, 4
add esp, 0x18
or al, bl
mov byte [esi + 1], al
cmp byte [esi], 1
jne 0x10064cdf
mov bl, byte [esp + 0x16]
movsx eax, byte [esp + 0x17]
movzx ecx, bl
sub ecx, eax
add bl, byte [esp + 0x17]
mov eax, 2
cdq
idiv ecx
mov cl, bl
neg cl
mov byte [esi + 2], al
mov byte [esi + 3], cl
mov ecx, dword [esp + 0x10]
cmp byte [ecx], 0x7e
jne 0x10064ce3
neg al
mov byte [esi + 3], bl
mov byte [esi + 2], al
jmp 0x10064cdf
call dword [0x10105588]
mov edx, eax
lea esi, [edx + 1]
nop dword [eax]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x10064cc0
sub edx, esi
push edx
push eax
push dword [esp + 0x18]
call fcn.10085360
add esp, 0xc
test eax, eax
jne 0x10064d8e
mov ecx, dword [esp + 0x10]
push 0x100e0634
push ecx
call fcn.10082520
mov ecx, dword [esp + 0x18]
add ecx, eax
push 0x100e0634
push ecx
mov dword [esp + 0x20], ecx
call fcn.1008aca0
mov ecx, dword [esp + 0x20]
add esp, 0x10
add ecx, eax
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x10064b80
mov ebx, dword [esp + 0xd0]
mov ebp, dword [esp + 0x18]
lea ecx, [ebx + 0x81]
mov esi, 8
mov dl, byte [ecx - 1]
lea eax, [edx - 0x41]
cmp al, 5
ja 0x10064d40
add dl, 0x20
mov byte [ecx - 1], dl
mov dl, byte [ecx]
lea eax, [edx - 0x41]
cmp al, 5
ja 0x10064d4e
add dl, 0x20
mov byte [ecx], dl
mov dl, byte [ecx + 1]
lea eax, [edx - 0x41]
cmp al, 5
ja 0x10064d5e
add dl, 0x20
mov byte [ecx + 1], dl
mov dl, byte [ecx + 2]
lea eax, [edx - 0x41]
cmp al, 5
ja 0x10064d6e
add dl, 0x20
mov byte [ecx + 2], dl
add ecx, 4
sub esi, 1
jne 0x10064d30
push ebp
call dword [0x1010558c]
add esp, 4
lea eax, [esi + 1]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xbc
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xbc
ret
push 0
push 0x10004
call fcn.10065ec0
add esp, 8
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0xbc
ret