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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5214f2
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x56858c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
push 0xffffffffffffffff
xor edi, edi
push edi
call fcn.004c34e0
mov dword [esi], vtable.GuiControl::GuiModeSoundDialog::ModeSoundDialog.0
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
push 0x10
mov byte [ebp - 4], 1
call fcn.00503a77
add esp, 4
cmp eax, edi
je 0x4f45d7
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
jmp 0x4f45d9
xor eax, eax
push eax
lea ecx, [esi + 0x7c]
call fcn.004af810
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x64], 0x559238
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x68], vtable.CCriticalLock.0
mov dword [ebp - 0x18], edi
xor esi, esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov eax, dword [vtable.CCriticalSection.0]
mov edx, dword [eax]
mov ecx, 0x559238
mov byte [ebp - 4], 3
call edx
mov byte [ebp - 4], 4
cmp dword [0x5699f0], esi
jne 0x4f4654
push 0x218
call fcn.00503a77
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 5
cmp eax, esi
je 0x4f464d
mov ecx, eax
call fcn.00414b10
jmp 0x4f464f
xor eax, eax
mov dword [0x5699f0], eax
mov eax, dword [vtable.CCriticalSection.0]
mov edx, dword [eax + 4]
mov ecx, 0x559238
mov byte [ebp - 4], 3
call edx
mov ecx, dword [0x5699f0]
mov eax, dword [ecx + 0x18]
cmp eax, esi
jne 0x4f4678
xor edi, edi
jmp 0x4f468e
mov edx, dword [ecx + 0x20]
cmp edx, esi
je 0x4f4684
mov edx, dword [edx + 0xc]
jmp 0x4f4686
xor edx, edx
mov edi, dword [ecx + 0x1c]
imul edi, edx
add edi, eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x564be4]
push 0x24
mov dword [ebp - 0x1c], ecx
call fcn.00503a77
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 6
cmp eax, esi
je 0x4f46b8
mov ecx, eax
call fcn.004116f0
jmp 0x4f46ba
xor eax, eax
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.0040ced0
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x28]
test ebx, ebx
jne 0x4f46d5
xor eax, eax
jmp 0x4f46e6
test esi, esi
je 0x4f46de
mov eax, dword [esi + 0xc]
jmp 0x4f46e0
xor eax, eax
imul eax, dword [ebp - 0x2c]
add eax, ebx
mov edx, dword [ebp - 0x1c]
push edx
push eax
mov ecx, edi
call fcn.00467000
test al, al
je 0x4f477e
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x48]
jne 0x4f470f
push 1
lea ecx, [ebp - 0x50]
call fcn.004c32d0
mov eax, dword [ebp - 0x4c]
xor edi, edi
cmp eax, edi
je 0x4f4727
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
cmp esi, edi
je 0x4f4727
inc dword [esi + 4]
add eax, 0xc
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 2
cmp esi, edi
je 0x4f4759
dec dword [esi + 4]
jne 0x4f4753
cmp byte [esi + 8], 0
je 0x4f4748
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x18], eax
cmp eax, 0xc
jb 0x4f4603
mov ebx, dword [ebp - 0x50]
xor edi, edi
mov dword [ebp - 0x1c], edi
mov edx, dword [ebx + 0xc]
test edx, edx
jne 0x4f4793
xor ecx, ecx
jmp 0x4f47a9
push 0x5455d8
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], 1
call fcn.005036c5
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4f479f
mov eax, dword [eax + 0xc]
jmp 0x4f47a1
xor eax, eax
mov ecx, dword [ebx + 0x10]
imul ecx, eax
add ecx, edx
mov esi, dword [ebx]
test esi, esi
jne 0x4f47b3
xor eax, eax
jmp 0x4f47c9
mov eax, dword [ebx + 8]
test eax, eax
je 0x4f47bf
mov edx, dword [eax + 0xc]
jmp 0x4f47c1
xor edx, edx
mov eax, dword [ebx + 4]
imul eax, edx
add eax, esi
mov edx, dword [edi + 0x564bf4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20], edx
mov edx, dword [edi + 0x564bf0]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4f48c0
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x4f48c0
mov ecx, 0x56a451
call fcn.004074f0
mov eax, dword [0x5699e4]
mov ecx, dword [eax]
test ecx, ecx
je 0x4f48c0
mov edx, dword [eax + 8]
test edx, edx
je 0x4f481c
mov edx, dword [edx + 0xc]
jmp 0x4f481e
xor edx, edx
mov esi, dword [eax + 4]
mov eax, dword [0x5684f8]
imul esi, edx
mov edx, dword [eax + 0xc]
add esi, ecx
mov ecx, 0x5684f8
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, str.SurfaceBlt
mov byte [ebp - 4], 7
test eax, 0xffff0000
jne 0x4f48dd
mov ecx, eax
movzx edi, cx
push 0
push edi
call fcn.00401180
add esp, 8
test eax, eax
je 0x4f486d
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.00404a50
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 4]
push edx
push eax
mov byte [ebp - 4], 2
call dword [0x5261dc]
mov esi, eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f48a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
push 0
push 0
push 0
push 0
push ecx
mov ecx, dword [ebp - 0x34]
push edx
push eax
push ecx
call esi
add esp, 0x20
add edi, 8
mov dword [ebp - 0x1c], edi
cmp edi, 0x90
jb 0x4f4773
mov edx, dword [ebx + 0x18]
test edx, edx
jne 0x4f48ee
xor eax, eax
jmp 0x4f4904
push 0xa
push str.SurfaceBlt
lea ecx, [ebp - 0x18]
call fcn.004049b0
jmp 0x4f4870
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x4f48fa
mov ecx, dword [eax + 0xc]
jmp 0x4f48fc
xor ecx, ecx
mov eax, dword [ebx + 0x1c]
imul eax, ecx
add eax, edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x2c], edx
test eax, eax
jne 0x4f491b
xor ecx, ecx
jmp 0x4f4931
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x4f4927
mov edx, dword [ecx + 0xc]
jmp 0x4f4929
xor edx, edx
mov ecx, dword [ebx + 0x1c]
imul ecx, edx
add ecx, eax
mov esi, dword [ebx]
test esi, esi
jne 0x4f493b
xor eax, eax
jmp 0x4f4951
mov eax, dword [ebx + 8]
test eax, eax
je 0x4f4947
mov edx, dword [eax + 0xc]
jmp 0x4f4949
xor edx, edx
mov eax, dword [ebx + 4]
imul eax, edx
add eax, esi
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4f4a39
mov ebx, dword [ecx + 4]
test ebx, ebx
je 0x4f4a39
mov ecx, 0x56a451
call fcn.004074f0
mov eax, dword [0x5699e4]
mov ecx, dword [eax]
test ecx, ecx
je 0x4f4a39
mov edx, dword [eax + 8]
test edx, edx
je 0x4f498f
mov edx, dword [edx + 0xc]
jmp 0x4f4991
xor edx, edx
mov esi, dword [eax + 4]
imul esi, edx
mov edx, dword [0x5684f8]
mov eax, dword [edx + 0xc]
add esi, ecx
mov ecx, 0x5684f8
call eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov ecx, str.SurfaceBlt
mov byte [ebp - 4], 8
test ecx, 0xffff0000
jne 0x4f49e0
mov edx, ecx
movzx edi, dx
push 0
push edi
call fcn.00401180
add esp, 8
test eax, eax
je 0x4f49ef
push edi
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404a50
jmp 0x4f49ef
push 0xa
push str.SurfaceBlt
lea ecx, [ebp - 0x1c]
call fcn.004049b0
mov edi, dword [ebp - 0x1c]
mov eax, dword [esi + 4]
push edi
push eax
mov byte [ebp - 4], 2
call dword [0x5261dc]
mov esi, eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f4a1f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
push 0
push 0
push 0
push 0
push ecx
push edx
push ebx
push eax
call esi
add esp, 0x20
push 0x3c
call fcn.00503a77
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
test esi, esi
je 0x4f4abc
xor ebx, ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
or eax, 0xffffffff
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
lea edi, [esi + 0x2c]
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
mov byte [ebp - 4], 0xa
cmp ecx, eax
je 0x4f4ab3
mov edx, dword [ebp - 0x34]
push edx
push ecx
push eax
push eax
call fcn.004f59a0
mov ecx, dword [ebp - 0x34]
push ecx
mov ebx, eax
mov eax, dword [esi + 0x20]
lea edx, [esi + 0x28]
push edx
push eax
push ebx
call fcn.0048cd80
add esp, 0x20
mov dword [esi + 0x20], ebx
xor ebx, ebx
push edi
call dword [0x526248]
jmp 0x4f4ac0
xor esi, esi
xor ebx, ebx
xor edi, edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
cmp esi, ebx
je 0x4f4b0e
mov edi, esi
push 0x18
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], edi
call fcn.00503a77
add esp, 4
cmp eax, ebx
je 0x4f4af4
mov dword [eax], vtable.yaneuraoGameSDK3rd::YTL::nonarray_ref_object_class_GuiControl::CElement_.0
mov dword [eax + 0x14], esi
jmp 0x4f4af6
xor eax, eax
mov ecx, 1
mov dword [eax + 4], ecx
mov byte [eax + 8], cl
mov dword [eax + 0xc], 0x3c
mov dword [ebp - 0x38], eax
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], eax
cmp eax, ebx
je 0x4f4b29
inc dword [eax + 4]
mov edx, dword [edi + 0x20]
sub edx, dword [edi + 0x1c]
lea ecx, [edi + 0x1c]
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov esi, edx
lea eax, [ebp - 0x68]
shr esi, 0x1f
push eax
mov byte [ebp - 4], 0xc
add esi, edx
call fcn.0044ca40
mov dword [edi], esi
mov esi, dword [ebp - 0x60]
mov byte [ebp - 4], 0xb
cmp esi, ebx
je 0x4f4b7a
dec dword [esi + 4]
jne 0x4f4b7a
cmp byte [esi + 8], 0
je 0x4f4b6f
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
push 0x54
call fcn.00503a77
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0xd
cmp eax, ebx
je 0x4f4bba
mov esi, dword [ebp - 0x38]
sub esp, 0xc
mov edx, esp
mov dword [ebp - 0x28], esp
mov dword [edx], edi
mov dword [edx + 4], ebx
mov dword [edx + 8], esi
cmp esi, ebx
je 0x4f4ba9
inc dword [esi + 4]
mov ecx, dword [ebp - 0x14]
push 1
push ecx
mov ecx, eax
call fcn.004c5c90
mov edi, eax
jmp 0x4f4bbc
xor edi, edi
xor esi, esi
xor ebx, ebx
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
cmp edi, esi
je 0x4f4c0e
mov dword [ebp - 0x64], ebx
mov ebx, edi
push 0x18
mov dword [ebp - 0x68], ebx
call fcn.00503a77
add esp, 4
test eax, eax
je 0x4f4bf4
mov dword [eax], vtable.yaneuraoGameSDK3rd::YTL::nonarray_ref_object_class_GuiControl::Static_.0
mov dword [eax + 0x14], edi
mov esi, eax
jmp 0x4f4bf6
xor esi, esi
mov eax, 1
mov dword [esi + 4], eax
mov byte [esi + 8], al
mov dword [esi + 0xc], 0x54
mov dword [ebp - 0x60], esi
mov dword [esi + 0x10], eax
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], esi
test esi, esi
je 0x4f4c22
inc dword [esi + 4]
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x5c]
add ecx, 0xc
push edx
mov byte [ebp - 4], 0xf
call fcn.0044ca40
mov edi, dword [ebp - 0x54]
or ebx, 0xffffffff
mov byte [ebp - 4], 0xe
test edi, edi
je 0x4f4c61
add dword [edi + 4], ebx
jne 0x4f4c61
cmp byte [edi + 8], 0
je 0x4f4c56
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov byte [ebp - 4], 0xb
test esi, esi
je 0x4f4c87
add dword [esi + 4], ebx
jne 0x4f4c87
cmp byte [esi + 8], 0
je 0x4f4c7c
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 2
test esi, esi
je 0x4f4cb0
add dword [esi + 4], ebx
jne 0x4f4cb0
cmp byte [esi + 8], 0
je 0x4f4ca5
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x44]
push ecx
push edx
push esi
mov byte [ebp - 4], 1
call fcn.0048cd80
push esi
call fcn.005036ba
push 0x48
call fcn.00503a77
xor ebx, ebx
mov esi, eax
xor edi, edi
add esp, 0x18
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
cmp esi, ebx
je 0x4f4d27
mov edi, esi
push 0x18
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], edi
call fcn.00503a77
add esp, 4
cmp eax, ebx
je 0x4f4d0d
mov dword [eax], vtable.yaneuraoGameSDK3rd::YTL::nonarray_ref_object_struct_GuiControl::GUI_CHECKBOX_DATA_.0
mov dword [eax + 0x14], esi
jmp 0x4f4d0f
xor eax, eax
mov ecx, 1
mov dword [eax + 4], ecx
mov byte [eax + 8], cl
mov dword [eax + 0xc], 0x48
mov dword [ebp - 0x38], eax
mov dword [eax + 0x10], ecx
mov ecx, 0x12
mov esi, 0x564c80
mov byte [ebp - 4], 0x10
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x18], 0x564bf0
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
add ecx, 2
mov dword [eax], ecx
push eax
mov dword [eax + 0x3c], edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0xd]
call fcn.004cb320
push 0xc
mov byte [ebp - 4], 0x11
call fcn.00503a77
add esp, 4
test eax, eax
je 0x4f4db0
mov esi, dword [ebp - 0x30]
test esi, esi
jne 0x4f4d83
xor ecx, ecx
jmp 0x4f4d99
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x4f4d8f
mov edx, dword [ecx + 0xc]
jmp 0x4f4d91
xor edx, edx
mov ecx, dword [ebp - 0x2c]
imul ecx, edx
add ecx, esi
mov ecx, dword [ecx + 4]
mov dword [eax], vtable.GuiControl::ClickedEvent.0
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
mov esi, eax
jmp 0x4f4db2
xor esi, esi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x60], edi
test esi, esi
je 0x4f4dfa
mov ebx, esi
push 0x18
mov dword [ebp - 0x68], ebx
call fcn.00503a77
add esp, 4
test eax, eax
je 0x4f4dde
mov dword [eax], vtable.yaneuraoGameSDK3rd::YTL::nonarray_ref_object_class_GuiControl::ClickedEvent_.0
mov dword [eax + 0x14], esi
jmp 0x4f4de0
xor eax, eax
mov ecx, 1
mov dword [eax + 4], ecx
mov byte [eax + 8], cl
mov edi, eax
mov dword [eax + 0xc], 0xc
mov dword [ebp - 0x60], edi
mov dword [eax + 0x10], ecx
sub esp, 0xc
mov eax, esp
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x34], esp
mov dword [eax], ebx
mov dword [eax + 4], 0
mov dword [eax + 8], edi
test edi, edi
je 0x4f4e19
inc dword [edi + 4]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jne 0x4f4e24
xor eax, eax
jmp 0x4f4e38
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x4f4e30
mov eax, dword [eax + 0xc]
jmp 0x4f4e32
xor eax, eax
imul eax, dword [ebp - 0x2c]
add eax, ecx
mov ecx, eax
call fcn.004aef10
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x44], eax
test eax, eax
je 0x4f4e58
inc dword [eax + 4]
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
mov byte [ebp - 4], 0x13
call fcn.0044ca40
mov esi, dword [ebp - 0x44]
mov byte [ebp - 4], 0x12
test esi, esi
je 0x4f4e9e
dec dword [esi + 4]
jne 0x4f4e94
cmp byte [esi + 8], 0
je 0x4f4e89
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 1
mov ecx, esi
call eax
xor ecx, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x4c], ecx
jmp 0x4f4ea0
xor ecx, ecx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], edi
cmp edi, ecx
je 0x4f4eb0
inc dword [edi + 4]
mov esi, dword [ebp - 0x14]
mov edx, dword [esi + 0x7c]
xor ebx, ebx
cmp edx, ecx
je 0x4f4ed8
mov eax, dword [esi + 0x84]
cmp eax, ebx
je 0x4f4ecb
mov eax, dword [eax + 0xc]
jmp 0x4f4ecd
xor eax, eax
mov ecx, dword [esi + 0x80]
imul ecx, eax
add ecx, edx
lea edx, [ebp - 0x5c]
push edx
mov byte [ebp - 4], 0x14
call fcn.0044ca40
mov esi, dword [ebp - 0x54]
mov byte [ebp - 4], 0x12
cmp esi, ebx
je 0x4f4f14
dec dword [esi + 4]
jne 0x4f4f0e
cmp byte [esi + 8], 0
je 0x4f4f03
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 4], 0x11
cmp edi, ebx
je 0x4f4f40
dec dword [edi + 4]
jne 0x4f4f3a
cmp byte [edi + 8], 0
je 0x4f4f2f
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x68], ebx
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0x10
cmp eax, ebx
je 0x4f4f77
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], ebx
jne 0x4f4f71
cmp byte [ecx + 8], 0
je 0x4f4f61
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x4f4f71
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], 8
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 0x12
jb 0x4f4d44
mov esi, dword [ebp - 0x38]
mov byte [ebp - 4], 1
test esi, esi
je 0x4f4fb4
dec dword [esi + 4]
jne 0x4f4fb4
cmp byte [esi + 8], 0
je 0x4f4fa9
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
push 4
call fcn.00503a77
add esp, 4
test eax, eax
je 0x4f4fca
mov dword [eax], vtable.SystemInfomation::GameInputState.0
jmp 0x4f4fcc
xor eax, eax
mov edi, dword [ebp - 0x14]
push eax
lea ecx, [edi + 0x1c]
call fcn.004af2f0
mov esi, 0x5659c8
mov ebx, 4
push esi
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0xd]
call fcn.004c8db0
push eax
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 0x15
call fcn.0044ca40
mov eax, dword [ebp - 0x60]
mov byte [ebp - 4], 1
test eax, eax
je 0x4f5036
dec dword [eax + 4]
cmp dword [eax + 4], 0
mov ecx, eax
jne 0x4f502e
cmp byte [ecx + 8], 0
je 0x4f501e
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x4f502e
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
xor eax, eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x68], eax
add esi, 0x10
dec ebx
jne 0x4f4fe2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret