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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56e81e
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x5e2320]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
push edi
mov eax, dword [0x5e2320]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
cmp dword [edi + 0x44], 0x10
lea ebx, [edi + 0x30]
mov dword [esp + 0x28], ebx
jb 0x486277
mov ecx, dword [ebx]
jmp 0x486279
mov ecx, ebx
push 0
mov edx, 0x58f340
call fcn.0042d370
add esp, 4
test eax, eax
jne 0x486294
cmp dword [ebx + 0x10], eax
setne al
test eax, eax
sete al
test al, al
jne 0x486b1b
mov ecx, edi
call fcn.004898b0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x158], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
sub esp, 0x18
mov byte [esp + 0x170], 1
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x5e26c0
mov word [ecx], ax
call fcn.0040ba20
lea eax, [esp + 0x34]
mov ecx, edi
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00485c90
lea esi, [edi + 0x60]
cmp esi, 0x5e2678
je 0x48633a
push 0xffffffffffffffff
push 0
push 0x5e2678
mov ecx, esi
call fcn.0040ba20
cmp dword [0x5e268c], 8
lea ecx, [edi + 0xd8]
push dword [0x5e2688]
mov eax, 0x5e2678
cmovae eax, dword [0x5e2678]
push eax
push dword [ecx + 0x10]
push ecx
call fcn.0040f6b0
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
test eax, eax
je 0x4863dc
mov eax, dword [esp + 0x18]
add eax, 0xd8
cmp esi, eax
je 0x486388
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.0040ba20
mov edx, dword [esp + 0x30]
mov ecx, edi
mov byte [esp + 0x14], 0
push dword [esp + 0x14]
push esi
call fcn.00490140
add esp, 8
cmp eax, dword [esp + 0x30]
jne 0x4863dc
mov edx, dword [esp + 0x20]
mov ecx, ebx
mov byte [esp + 0x14], 0
push dword [esp + 0x14]
push esi
call fcn.00490140
add esp, 8
cmp eax, dword [esp + 0x20]
jne 0x4863dc
cmp esi, 0x5e2678
je 0x4863dc
push 0xffffffffffffffff
push 0
push 0x5e2678
mov ecx, esi
call fcn.0040ba20
cmp dword [0x5e268c], 8
mov eax, 0x5e2678
push dword [0x5e2688]
cmovae eax, dword [0x5e2678]
push eax
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.0040f6b0
test eax, eax
jne 0x486420
mov ecx, dword [esp + 0x20]
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov eax, ebx
jne 0x486422
mov eax, esi
cmp esi, eax
je 0x486432
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.0040ba20
cmp dword [0x5e268c], 8
mov eax, 0x5e2678
push dword [0x5e2688]
cmovae eax, dword [0x5e2678]
push eax
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.0040f6b0
test eax, eax
jne 0x486476
mov ecx, dword [esp + 0x30]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov eax, edi
jne 0x486478
mov eax, esi
cmp esi, eax
je 0x486488
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.0040ba20
cmp dword [esi + 0x14], 8
jb 0x486490
mov esi, dword [esi]
push esi
push str.keyboard:_loadSetting__keyboardid__s
push 0x8ff
push str.view::PackageConfigs::loadConfig
call dword [sym.imp.dnutility.dll_void___cdecl_utility_log_char_const___int__wchar_t_const__]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 0x10
test ebx, ebx
je 0x4864c3
push dword [esp + 0x20]
push ebx
call fcn.0041ced0
push ebx
call esi
add esp, 4
test edi, edi
je 0x4864d7
push dword [esp + 0x30]
push edi
call fcn.0041ced0
push edi
call esi
add esp, 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x158], 2
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
sub esp, 0x18
mov byte [esp + 0x170], 3
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x5e26d8
mov word [ecx], ax
call fcn.0040ba20
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
call fcn.00485c90
lea esi, [ebx + 0x78]
cmp esi, 0x5e2678
je 0x48656f
push 0xffffffffffffffff
push 0
push 0x5e2678
mov ecx, esi
call fcn.0040ba20
cmp dword [0x5e268c], 8
lea ecx, [ebx + 0xf0]
push dword [0x5e2688]
mov eax, 0x5e2678
cmovae eax, dword [0x5e2678]
push eax
push dword [ecx + 0x10]
push ecx
call fcn.0040f6b0
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x1c]
test eax, eax
je 0x486611
mov eax, dword [esp + 0x18]
add eax, 0xf0
cmp esi, eax
je 0x4865bd
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.0040ba20
mov edx, dword [esp + 0x20]
mov ecx, edi
mov byte [esp + 0x14], 0
push dword [esp + 0x14]
push esi
call fcn.00490140
add esp, 8
cmp eax, dword [esp + 0x20]
jne 0x486611
mov edx, dword [esp + 0x30]
mov ecx, ebx
mov byte [esp + 0x14], 0
push dword [esp + 0x14]
push esi
call fcn.00490140
add esp, 8
cmp eax, dword [esp + 0x30]
jne 0x486611
cmp esi, 0x5e2678
je 0x486611
push 0xffffffffffffffff
push 0
push 0x5e2678
mov ecx, esi
call fcn.0040ba20
cmp dword [0x5e268c], 8
mov eax, 0x5e2678
push dword [0x5e2688]
cmovae eax, dword [0x5e2678]
push eax
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.0040f6b0
test eax, eax
jne 0x486655
mov ecx, dword [esp + 0x30]
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov eax, ebx
jne 0x486657
mov eax, esi
cmp esi, eax
je 0x486667
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.0040ba20
cmp dword [0x5e268c], 8
mov eax, 0x5e2678
push dword [0x5e2688]
cmovae eax, dword [0x5e2678]
push eax
push dword [esi + 0x10]
push ecx
mov ecx, esi
call fcn.0040f6b0
test eax, eax
jne 0x4866ab
mov ecx, dword [esp + 0x20]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov eax, edi
jne 0x4866ad
mov eax, esi
cmp esi, eax
je 0x4866bd
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.0040ba20
cmp dword [esi + 0x14], 8
jb 0x4866c5
mov esi, dword [esi]
push esi
push str.keyboard:_loadSetting__joystickid__s
push 0x910
push str.view::PackageConfigs::loadConfig
call dword [sym.imp.dnutility.dll_void___cdecl_utility_log_char_const___int__wchar_t_const__]
add esp, 0x10
test ebx, ebx
je 0x4866fa
push dword [esp + 0x30]
push ebx
call fcn.0041ced0
push ebx
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call ebx
add esp, 4
jmp 0x486700
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test edi, edi
je 0x486714
push dword [esp + 0x20]
push edi
call fcn.0041ced0
push edi
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
mov ebx, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
mov edx, ebx
mov dword [esp + 0x158], 4
call fcn.00463070
mov eax, dword [esp + 0x18]
mov byte [esp + 0x158], 5
mov edi, dword [eax + 0x138]
mov esi, dword [edi]
cmp esi, edi
je 0x486856
lea ebx, [esi + 0x10]
lea eax, [ebx + 0x18]
push eax
lea ecx, [esp + 0x78]
call fcn.00484a20
mov byte [esp + 0x158], 6
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x4867b0
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
push dword [esp + 0x3c]
cmovae eax, dword [esp + 0x30]
push eax
push dword [esp + 0x90]
push ecx
lea ecx, [esp + 0x88]
call fcn.0040f6b0
test eax, eax
je 0x4867c6
mov eax, dword [esp + 0x74]
cmp eax, 1
jne 0x4867e1
lea edx, [esp + 0x78]
lea ecx, [esp + 0x2c]
call fcn.0047a4b0
test al, al
je 0x4867e1
lea eax, [esp + 0x5c]
cmp eax, ebx
je 0x4867da
push 0xffffffffffffffff
push 0
push ebx
mov ecx, eax
call fcn.0040ba20
cmp dword [esp + 0x74], 0
je 0x486841
lea ecx, [esp + 0x74]
mov byte [esp + 0x158], 5
call fcn.0047f050
cmp byte [esi + 0xd], 0
jne 0x486837
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x48681c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x486837
jmp 0x486810
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x486810
jmp 0x486837
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x486835
cmp esi, dword [eax + 8]
jne 0x486835
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x486825
mov esi, eax
cmp esi, edi
jne 0x486761
jmp 0x486852
lea ecx, [esp + 0x74]
mov byte [esp + 0x158], 5
call fcn.0047f050
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x5c]
lea esi, [edi + 0x90]
cmp esi, eax
je 0x486874
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.0040ba20
cmp dword [esi + 0x14], 8
jb 0x48687c
mov esi, dword [esi]
push esi
push str.keyboard:_loadSetting__commonid__s
push 0x926
push str.view::PackageConfigs::loadConfig
call dword [sym.imp.dnutility.dll_void___cdecl_utility_log_char_const___int__wchar_t_const__]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 0x10
cmp dword [esp + 0x40], 8
jb 0x4868ab
push dword [esp + 0x2c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
cmp dword [esp + 0x70], 8
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
jb 0x4868d2
push dword [esp + 0x5c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
mov edx, ebx
mov dword [esp + 0x158], 7
lea ecx, [esp + 0x2c]
call fcn.00463070
mov byte [esp + 0x158], 8
mov edi, dword [edi + 0x130]
mov esi, dword [edi]
cmp esi, edi
je 0x486a71
lea ebx, [esi + 0x10]
lea eax, [ebx + 0x18]
push eax
lea ecx, [esp + 0x78]
call fcn.00485230
mov byte [esp + 0x158], 9
mov eax, dword [esp + 0xd8]
test eax, eax
jne 0x486a20
cmp dword [esp + 0x40], 8
lea ecx, [esp + 0x2c]
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0xdc]
cmovae ecx, dword [esp + 0x2c]
mov ebx, eax
cmp dword [esp + 0xf0], 8
cmovae edx, dword [esp + 0xdc]
cmp dword [esp + 0xec], eax
cmovb ebx, dword [esp + 0xec]
test ebx, ebx
jne 0x486996
xor eax, eax
test eax, eax
jne 0x4869be
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0xec]
cmp edx, ecx
jae 0x4869b5
or eax, 0xffffffff
jmp 0x4869bc
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x4869a7
add edx, 2
add ecx, 2
dec ebx
jmp 0x48697a
movzx eax, word [edx]
cmp ax, word [ecx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x48697e
xor eax, eax
cmp edx, ecx
setne al
test eax, eax
sete al
test al, al
je 0x4869ea
lea ebx, [esi + 0x10]
lea eax, [esp + 0x44]
cmp eax, ebx
je 0x4869dc
push 0xffffffffffffffff
push 0
push ebx
mov ecx, eax
call fcn.0040ba20
cmp dword [esp + 0xd8], 0
je 0x486a60
lea ecx, [esp + 0x74]
mov byte [esp + 0x158], 8
call fcn.0047ed80
cmp byte [esi + 0xd], 0
jne 0x486a56
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x486a3b
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x486a56
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x486a14
jmp 0x486a56
cmp eax, 1
jne 0x4869ea
lea edx, [esp + 0xdc]
lea ecx, [esp + 0x2c]
call fcn.0047a4b0
test al, al
je 0x4869ea
jmp 0x4869c8
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x486a54
cmp esi, dword [eax + 8]
jne 0x486a54
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x486a44
mov esi, eax
cmp esi, edi
jne 0x486917
jmp 0x486a71
lea ecx, [esp + 0x74]
mov byte [esp + 0x158], 8
call fcn.0047ed80
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x44]
lea esi, [edi + 0xa8]
cmp esi, eax
je 0x486a8f
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.0040ba20
cmp dword [esi + 0x14], 8
jb 0x486a97
mov esi, dword [esi]
push esi
push str.keyboard:_loadSetting__noiceid__s
push 0x93b
push str.view::PackageConfigs::loadConfig
call dword [sym.imp.dnutility.dll_void___cdecl_utility_log_char_const___int__wchar_t_const__]
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 0x10
cmp dword [esp + 0x40], 8
jb 0x486ac6
push dword [esp + 0x2c]
call ebx
add esp, 4
xor eax, eax
mov dword [esp + 0x158], 0xffffffff
cmp dword [esp + 0x58], 8
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
jb 0x486af8
push dword [esp + 0x44]
call ebx
add esp, 4
mov ecx, dword [edi + 0x10]
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
test ecx, ecx
je 0x486b1b
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.005600c0
mov esp, ebp
pop ebp
ret