Function at 0x4918b0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ce7d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x551644]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, ecx
push eax
mov dword [ebp - 0x2c], esi
call fcn.0045b370
xor edi, edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi], vtable.SelectWin::CSelectWin.0
mov dword [ebp - 4], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
lea ebx, [esi + 0x6c]
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov ecx, 0x5538e0
mov byte [ebp - 4], 9
call fcn.00405720
mov ecx, dword [0x552ae4]
mov edx, dword [ecx + 4]
cmp edx, edi
jne 0x49196f
xor esi, esi
jmp 0x491985
mov eax, dword [ecx + 0xc]
cmp eax, edi
je 0x49197b
mov eax, dword [eax + 0xc]
jmp 0x49197d
xor eax, eax
mov esi, dword [ecx + 8]
imul esi, eax
add esi, edx
mov ecx, 0x55380d
call fcn.0046bbd0
mov ecx, dword [0x5537dc]
push 0x51ef98
add esi, 0x7c
push esi
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x30], ecx
call fcn.004728b0
push str.Value
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.00472d80
mov esi, eax
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 9
cmp eax, edi
je 0x4919f2
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], edi
jne 0x4919f2
cmp byte [ecx + 8], 0
je 0x4919e2
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 0x38]
cmp ecx, edi
je 0x4919f2
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, ebx
call fcn.0046b860
mov ecx, dword [ebx]
cmp ecx, edi
jne 0x491a03
xor eax, eax
jmp 0x491a15
mov eax, dword [ebx + 8]
cmp eax, edi
je 0x491a0d
mov edi, dword [eax + 0xc]
mov eax, dword [ebx + 4]
imul eax, edi
add eax, ecx
mov dword [eax], esi
mov dword [ebp - 4], 8
mov bl, 0xc
mov ecx, 0x5538e0
mov byte [ebp - 4], bl
call fcn.00405720
mov ecx, dword [0x552ae4]
mov edx, dword [ecx + 4]
test edx, edx
jne 0x491a4b
xor esi, esi
jmp 0x491a61
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x491a57
mov eax, dword [eax + 0xc]
jmp 0x491a59
xor eax, eax
mov esi, dword [ecx + 8]
imul esi, eax
add esi, edx
mov ecx, 0x55380d
call fcn.0046bbd0
mov ecx, dword [0x5537dc]
push 0x51ef88
add esi, 0x7c
push esi
lea edx, [ebp - 0x40]
push edx
mov edi, ecx
call fcn.004728b0
push str.Value
lea eax, [ebp - 0x40]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xd
call fcn.00472d80
mov edi, eax
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], bl
test eax, eax
je 0x491acc
dec dword [eax + 4]
cmp dword [eax + 4], 0
mov ecx, eax
jne 0x491acc
cmp byte [ecx + 8], 0
je 0x491abc
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x491acc
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov esi, dword [ebp - 0x2c]
lea ecx, [esi + 0x78]
call fcn.0046b860
mov edx, dword [esi + 0x78]
test edx, edx
jne 0x491ae2
xor eax, eax
jmp 0x491afb
mov eax, dword [esi + 0x80]
test eax, eax
je 0x491af1
mov ecx, dword [eax + 0xc]
jmp 0x491af3
xor ecx, ecx
mov eax, dword [esi + 0x7c]
imul eax, ecx
add eax, edx
mov dword [eax], edi
mov dword [ebp - 4], 8
mov bl, 0xf
mov ecx, 0x5538e0
mov byte [ebp - 4], bl
call fcn.00405720
mov ecx, dword [0x552ae4]
mov edx, dword [ecx + 4]
test edx, edx
jne 0x491b31
xor esi, esi
jmp 0x491b47
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x491b3d
mov eax, dword [eax + 0xc]
jmp 0x491b3f
xor eax, eax
mov esi, dword [ecx + 8]
imul esi, eax
add esi, edx
mov ecx, 0x55380d
call fcn.0046bbd0
mov ecx, dword [0x5537dc]
push 0x51ef78
add esi, 0x7c
push esi
lea edx, [ebp - 0x40]
push edx
mov edi, ecx
call fcn.004728b0
push str.Value
lea eax, [ebp - 0x40]
push eax
mov ecx, edi
mov byte [ebp - 4], 0x10
call fcn.00472d80
mov edi, eax
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], bl
test eax, eax
je 0x491bb2
dec dword [eax + 4]
cmp dword [eax + 4], 0
mov ecx, eax
jne 0x491bb2
cmp byte [ecx + 8], 0
je 0x491ba2
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x491bb2
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov esi, dword [ebp - 0x2c]
lea ecx, [esi + 0x84]
call fcn.0046b860
mov edx, dword [esi + 0x84]
test edx, edx
jne 0x491bce
xor eax, eax
jmp 0x491bea
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x491bdd
mov ecx, dword [eax + 0xc]
jmp 0x491bdf
xor ecx, ecx
mov eax, dword [esi + 0x88]
imul eax, ecx
add eax, edx
mov dword [eax], edi
mov dword [ebp - 4], 8
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x40], 0xffffffff
mov ecx, 0x5538e0
call fcn.00405720
mov edx, dword [0x552ae4]
mov esi, dword [edx + 4]
test esi, esi
jne 0x491c25
xor eax, eax
jmp 0x491c3b
mov eax, dword [edx + 0xc]
test eax, eax
je 0x491c31
mov ecx, dword [eax + 0xc]
jmp 0x491c33
xor ecx, ecx
mov eax, dword [edx + 8]
imul eax, ecx
add eax, esi
cmp dword [eax + 0x94], 0
je 0x491e05
mov bl, 0x12
mov ecx, 0x5538e0
mov byte [ebp - 4], bl
call fcn.00405720
mov ecx, dword [0x552ae4]
mov edx, dword [ecx + 4]
test edx, edx
jne 0x491c68
xor esi, esi
jmp 0x491c7e
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x491c74
mov eax, dword [eax + 0xc]
jmp 0x491c76
xor eax, eax
mov esi, dword [ecx + 8]
imul esi, eax
add esi, edx
mov ecx, 0x55380d
call fcn.0046bbd0
mov ecx, dword [0x5537dc]
push 0x51eed4
push 0x51ef70
add esi, 0x94
push esi
lea edx, [ebp - 0x34]
push edx
call fcn.004730b0
mov eax, dword [ebp - 0x34]
push 0x517abc
push eax
mov byte [ebp - 4], 0x13
call fcn.004f5934
add esp, 8
test eax, eax
setne al
test al, al
je 0x491d4d
mov edi, dword [ebp - 0x34]
mov ecx, 0x5538e0
call fcn.00405720
mov ecx, dword [0x552ae4]
mov edx, dword [ecx + 4]
test edx, edx
jne 0x491ce8
xor esi, esi
jmp 0x491cfe
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x491cf4
mov eax, dword [eax + 0xc]
jmp 0x491cf6
xor eax, eax
mov esi, dword [ecx + 8]
imul esi, eax
add esi, edx
mov ecx, 0x55380d
call fcn.0046bbd0
mov ecx, dword [0x5537dc]
push str.Value
push edi
add esi, 0x7c
push esi
call fcn.00473200
mov esi, dword [ebp - 0x2c]
lea ecx, [esi + 0x34]
mov edi, eax
call fcn.0046b860
mov edx, dword [esi + 0x34]
test edx, edx
jne 0x491d35
xor eax, eax
jmp 0x491d4b
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x491d41
mov ecx, dword [eax + 0xc]
jmp 0x491d43
xor ecx, ecx
mov eax, dword [esi + 0x38]
imul eax, ecx
add eax, edx
mov dword [eax], edi
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x491d6f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 8
mov ecx, 0x5538e0
mov byte [ebp - 4], 0x15
call fcn.00405720
mov ecx, dword [0x552ae4]
mov edx, dword [ecx + 4]
test edx, edx
jne 0x491da2
xor esi, esi
jmp 0x491db8
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x491dae
mov eax, dword [eax + 0xc]
jmp 0x491db0
xor eax, eax
mov esi, dword [ecx + 8]
imul esi, eax
add esi, edx
mov ecx, 0x55380d
call fcn.0046bbd0
mov ecx, dword [0x5537dc]
push 0x51eec0
push 0x51ef70
add esi, 0x94
push esi
call fcn.00473160
mov dword [ebp - 4], 8
test eax, eax
js 0x491e05
shl eax, 8
mov ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x40], ecx
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x64]
push eax
mov ecx, ebx
mov byte [ebx + 0xc], 0
call fcn.004195a0
push 0x20
call fcn.004f4670
add esp, 4
mov dword [ebp - 0x44], eax
xor edi, edi
mov byte [ebp - 4], 0x17
cmp eax, edi
je 0x491e5a
push 0x459b50
push 0x468e90
push 1
lea esi, [eax + 4]
push 0x1c
push esi
mov dword [eax], 1
call fcn.004f6091
jmp 0x491e5c
xor esi, esi
mov ecx, dword [ebx + 0x2c]
mov byte [ebp - 4], 8
cmp ecx, edi
je 0x491e8e
dec dword [ecx + 4]
jne 0x491e88
cmp byte [ecx + 8], 0
je 0x491e78
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [ebx + 0x2c]
cmp ecx, edi
je 0x491e88
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [ebx + 0x2c], edi
mov dword [ebx + 0x24], edi
mov ecx, dword [ebx + 0x2c]
cmp ecx, edi
je 0x491e9e
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
push 0x18
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x24], esi
call fcn.004f4b27
add esp, 4
cmp eax, edi
je 0x491ebd
mov dword [eax], vtable.yaneuraoGameSDK3rd::YTL::array_ref_object_class_SelectWin::CSelectWin::window__.0
mov dword [eax + 0x14], esi
jmp 0x491ebf
xor eax, eax
mov dword [ebx + 0x2c], eax
mov ecx, 1
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x2c]
mov byte [eax + 8], cl
mov eax, dword [ebx + 0x2c]
mov dword [eax + 0xc], 0x1c
mov eax, dword [ebx + 0x2c]
mov dword [eax + 0x10], ecx
xor eax, eax
xor ecx, ecx
mov dword [ebx + 0x14], eax
xor edx, edx
xor esi, esi
mov dword [ebx + 0x18], ecx
xor edi, edi
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x20], esi
mov dword [ebp - 0x28], edi
lea esp, [esp]
mov eax, dword [ebx + 0x2c]
xor esi, esi
cmp eax, esi
jne 0x491f0d
xor eax, eax
jmp 0x491f10
mov eax, dword [eax + 0x10]
cmp edi, eax
jge 0x492212
push 0x30
call fcn.004f4b27
add esp, 4
cmp eax, esi
je 0x491f42
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], esi
jmp 0x491f44
xor eax, eax
mov esi, dword [ebx + 0x24]
test esi, esi
jne 0x491f4f
xor ecx, ecx
jmp 0x491f67
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x491f5b
mov edx, dword [ecx + 0xc]
jmp 0x491f5d
xor edx, edx
mov ecx, dword [ebx + 0x28]
add ecx, edi
imul ecx, edx
add ecx, esi
push eax
call fcn.0046bd40
mov edx, dword [ebx + 0x24]
test edx, edx
jne 0x491f78
xor eax, eax
jmp 0x491f90
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x491f84
mov ecx, dword [eax + 0xc]
jmp 0x491f86
xor ecx, ecx
mov eax, dword [ebx + 0x28]
add eax, edi
imul eax, ecx
add eax, edx
mov edx, dword [eax]
test edx, edx
jne 0x491f9a
xor eax, eax
jmp 0x491fb0
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x491fa6
mov ecx, dword [ecx + 0xc]
jmp 0x491fa8
xor ecx, ecx
mov eax, dword [eax + 4]
imul eax, ecx
add eax, edx
mov esi, dword [ebp - 0x28]
mov edi, esi
shl edi, 4
mov ecx, dword [edi + 0x54a754]
mov edx, dword [edi + 0x54a750]
push ecx
push edx
mov ecx, eax
mov dword [ebp - 0x30], edi
call fcn.0048f490
test al, al
jne 0x491fe9
push 0x533160
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x6c], 1
call fcn.004f4775
mov edx, dword [ebx + 0x24]
test edx, edx
jne 0x491ff4
xor eax, eax
jmp 0x49200c
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x492000
mov ecx, dword [eax + 0xc]
jmp 0x492002
xor ecx, ecx
mov eax, dword [ebx + 0x28]
add eax, esi
imul eax, ecx
add eax, edx
mov edx, dword [eax]
test edx, edx
jne 0x492016
xor eax, eax
jmp 0x49202c
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x492022
mov ecx, dword [ecx + 0xc]
jmp 0x492024
xor ecx, ecx
mov eax, dword [eax + 4]
imul eax, ecx
add eax, edx
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x64]
push ecx
push edx
mov ecx, eax
call fcn.00410f20
test al, al
jne 0x492054
push 0x533160
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], 1
call fcn.004f4775
mov edx, dword [ebx + 0x24]
test edx, edx
jne 0x49205f
xor eax, eax
jmp 0x492077
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x49206b
mov ecx, dword [eax + 0xc]
jmp 0x49206d
xor ecx, ecx
mov eax, dword [ebx + 0x28]
add eax, esi
imul eax, ecx
add eax, edx
mov ecx, dword [edi + 0x54a758]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jne 0x49208b
xor eax, eax
jmp 0x4920a3
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x492097
mov edx, dword [eax + 0xc]
jmp 0x492099
xor edx, edx
mov eax, dword [ebx + 0x28]
add eax, esi
imul eax, edx
add eax, ecx
push 2
lea ecx, [eax + 0x10]
call fcn.0046bad0
xor esi, esi
nop
mov edx, dword [ebx + 0x24]
cmp esi, 2
jae 0x492115
test edx, edx
jne 0x4920c0
xor eax, eax
jmp 0x4920dc
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x4920cc
mov ecx, dword [eax + 0xc]
jmp 0x4920ce
xor ecx, ecx
mov eax, dword [ebx + 0x28]
add eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x30]
imul eax, ecx
add eax, edx
mov edx, dword [eax + 0x10]
test edx, edx
jne 0x4920f1
mov dl, byte [edi + esi + 0x54a75c]
xor eax, eax
mov byte [eax], dl
inc esi
jmp 0x4920b0
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4920fd
mov ecx, dword [ecx + 0xc]
jmp 0x4920ff
xor ecx, ecx
mov eax, dword [eax + 0x14]
add eax, esi
imul eax, ecx
add eax, edx
mov dl, byte [edi + esi + 0x54a75c]
mov byte [eax], dl
inc esi
jmp 0x4920b0
test edx, edx
jne 0x49211d
xor eax, eax
jmp 0x492136
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x492129
mov ecx, dword [eax + 0xc]
jmp 0x49212b
xor ecx, ecx
mov eax, dword [ebx + 0x28]
add eax, dword [ebp - 0x28]
imul eax, ecx
add eax, edx
mov edx, dword [eax]
test edx, edx
jne 0x492140
xor eax, eax
jmp 0x492156
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x49214c
mov ecx, dword [ecx + 0xc]
jmp 0x49214e
xor ecx, ecx
mov eax, dword [eax + 4]
imul eax, ecx
add eax, edx
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x492161
xor eax, eax
jmp 0x492177
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x49216d
mov ecx, dword [ecx + 0xc]
jmp 0x49216f
xor ecx, ecx
mov eax, dword [eax + 0x1c]
imul eax, ecx
add eax, edx
mov ecx, dword [ebx + 0x24]
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
test ecx, ecx
jne 0x492188
xor eax, eax
jmp 0x4921a1
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x492194
mov edx, dword [eax + 0xc]
jmp 0x492196
xor edx, edx
mov eax, dword [ebx + 0x28]
add eax, dword [ebp - 0x28]
imul eax, edx
add eax, ecx
mov edx, dword [eax]
test edx, edx
jne 0x4921ab
xor eax, eax
jmp 0x4921c1
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4921b7
mov ecx, dword [ecx + 0xc]
jmp 0x4921b9
xor ecx, ecx
mov eax, dword [eax + 4]
imul eax, ecx
add eax, edx
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x4921cc
xor eax, eax
jmp 0x4921e2
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4921d8
mov ecx, dword [ecx + 0xc]
jmp 0x4921da
xor ecx, ecx
mov eax, dword [eax + 0x1c]
imul eax, ecx
add eax, edx
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
add esi, ecx
mov dword [ebp - 0x24], ecx
add edi, eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], eax
lea eax, [ebx + 0x14]
push ecx
push eax
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
call dword [sym.imp.USER32.dll_UnionRect]
inc dword [ebp - 0x28]
mov edi, dword [ebp - 0x28]
jmp 0x491f00
push 0xec
call fcn.004f4670
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0x18
cmp eax, esi
je 0x492249
push 0x459d50
push fcn.0047d4c0
push 2
lea esi, [eax + 4]
push 0x74
push esi
mov dword [eax], 2
call fcn.004f6091
jmp 0x49224b
xor esi, esi
mov ecx, dword [ebx + 0x64]
xor edi, edi
mov byte [ebp - 4], 8
cmp ecx, edi
je 0x49227f
dec dword [ecx + 4]
jne 0x492279
cmp byte [ecx + 8], 0
je 0x492269
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [ebx + 0x64]
cmp ecx, edi
je 0x492279
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [ebx + 0x64], edi
mov dword [ebx + 0x5c], edi
mov ecx, dword [ebx + 0x64]
cmp ecx, edi
je 0x49228f
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
push 0x18
mov dword [ebx + 0x60], edi
mov dword [ebx + 0x5c], esi
call fcn.004f4b27
add esp, 4
cmp eax, edi
je 0x4922ae
mov dword [eax], vtable.yaneuraoGameSDK3rd::YTL::array_ref_object_class_CGUIButton_.0
mov dword [eax + 0x14], esi
jmp 0x4922b0
xor eax, eax
mov dword [ebx + 0x64], eax
mov dword [eax + 4], 1
mov eax, dword [ebx + 0x64]
mov byte [eax + 8], 1
mov eax, dword [ebx + 0x64]
mov dword [eax + 0xc], 0x74
mov eax, dword [ebx + 0x64]
push 0x4c
mov dword [eax + 0x10], 2
call fcn.004f4670
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 0x19
cmp eax, edi
je 0x492309
push fcn.004120d0
push fcn.00412010
push 2
lea esi, [eax + 4]
push 0x24
push esi
mov dword [eax], 2
call fcn.004f6091
jmp 0x49230b
xor esi, esi
mov ecx, dword [ebx + 0x58]
mov byte [ebp - 4], 8
cmp ecx, edi
je 0x49233d
dec dword [ecx + 4]
jne 0x492337
cmp byte [ecx + 8], 0
je 0x492327
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [ebx + 0x58]
cmp ecx, edi
je 0x492337
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [ebx + 0x58], edi
mov dword [ebx + 0x50], edi
mov ecx, dword [ebx + 0x58]
cmp ecx, edi
je 0x49234d
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
push 0x18
mov dword [ebx + 0x54], edi
mov dword [ebx + 0x50], esi
call fcn.004f4b27
add esp, 4
cmp eax, edi
je 0x49236c
mov dword [eax], vtable.yaneuraoGameSDK3rd::YTL::array_ref_object_class_Graphics::CSurface_.0
mov dword [eax + 0x14], esi
jmp 0x49236e
xor eax, eax
mov dword [ebx + 0x58], eax
mov dword [eax + 4], 1
mov eax, dword [ebx + 0x58]
mov byte [eax + 8], 1
mov eax, dword [ebx + 0x58]
mov dword [eax + 0xc], 0x24
mov eax, dword [ebx + 0x58]
mov dword [eax + 0x10], 2
xor esi, esi
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x34], esi
cmp eax, edi
jne 0x4923a3
xor eax, eax
jmp 0x4923a6
mov eax, dword [eax + 0x10]
cmp esi, eax
jge 0x492939
mov ecx, dword [ebx + 0x5c]
cmp ecx, edi
jne 0x4923b9
xor edi, edi
jmp 0x4923d1
mov eax, dword [ebx + 0x64]
cmp eax, edi
je 0x4923c5
mov eax, dword [eax + 0xc]
jmp 0x4923c7
xor eax, eax
mov edi, dword [ebx + 0x60]
add edi, esi
imul edi, eax
add edi, ecx
xor eax, eax
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x48], eax
lea esp, [esp]
lea ecx, [esi + esi*4]
cmp eax, 7
jae 0x492812
lea edx, [eax + ecx*2]
mov eax, dword [edx*4 + 0x54a700]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x492801
xor eax, eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x38], eax
mov eax, dword [vtable.CCriticalSection.0]
mov edx, dword [eax]
mov ecx, 0x5452c8
mov esi, vtable.CCriticalLock.0
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], ecx
call edx
mov edi, 1
mov dword [ebp - 0x38], edi
mov eax, dword [0x552af0]
mov byte [ebp - 4], 0x1b
test eax, eax
jne 0x492469
push 0x1f0
call fcn.004f4b27
mov ecx, eax
add esp, 4
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 0x1c
test ecx, ecx
je 0x492462
call fcn.00415650
jmp 0x492464
xor eax, eax
mov dword [0x552af0], eax
mov dword [ebp - 0x40], esi
mov byte [ebp - 4], 0x1a
xor esi, esi
cmp esi, edi
jge 0x492488
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov eax, dword [0x552af0]
inc esi
jmp 0x492472
mov edx, dword [eax + 0x18]
test edx, edx
jne 0x492493
xor edi, edi
jmp 0x4924a9
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x49249f
mov ecx, dword [ecx + 0xc]
jmp 0x4924a1
xor ecx, ecx
mov edi, dword [eax + 0x1c]
imul edi, ecx
add edi, edx
cmp dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x44], ecx
jne 0x49262d
push 0x24
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp - 0x60], esi
mov byte [ebp - 4], 0x1d
test esi, esi
je 0x492613
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], vtable.Graphics::CSurface.0
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x1c], eax
cmp dword [esi + 4], 0
mov byte [ebp - 4], 0x1e
je 0x4925d5
mov ecx, 0x5537a9
call fcn.004047e0
mov ecx, dword [esi + 4]
mov dword [ebp - 0x78], ecx
mov ecx, dword [0x552adc]
mov eax, dword [ecx]
test eax, eax
je 0x4925d5
mov edx, dword [ecx + 8]
test edx, edx
je 0x492540
mov edx, dword [edx + 0xc]
jmp 0x492542
xor edx, edx
mov edi, dword [ecx + 4]
imul edi, edx
mov edx, dword [0x5515b0]
add edi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
mov ecx, str.SurfaceRelease
mov byte [ebp - 4], 0x1f
test ecx, 0xffff0000
jne 0x492602
mov edx, ecx
movzx ebx, dx
push 0
push ebx
call fcn.00401180
add esp, 8
test eax, eax
je 0x492593
push ebx
push eax
lea ecx, [ebp - 0x28]
call fcn.00404950
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov ecx, dword [edi + 4]
push eax
push ecx
mov byte [ebp - 4], 0x1e
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4925c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x78]
push ecx
call edi
mov edi, dword [ebp - 0x5c]
add esp, 4
xor ecx, ecx
xor eax, eax
push ecx
mov dword [esi + 4], ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x14], ecx
push 0x517abc
lea ecx, [esi + 0x1c]
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov byte [esi + 0x18], al
call fcn.004048b0
mov dword [esi + 0x20], 0
jmp 0x492615
push 0xe
push str.SurfaceRelease
lea ecx, [ebp - 0x28]
call fcn.004048b0
jmp 0x492596
xor esi, esi
push esi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x1a
call fcn.0040cd60
mov esi, dword [ebp - 0x54]
test esi, esi
jne 0x49262d
xor eax, eax
jmp 0x492644
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x492639
mov eax, dword [eax + 0xc]
jmp 0x49263b
xor eax, eax
imul eax, dword [ebp - 0x50]
mov esi, dword [ebp - 0x54]
add eax, esi
mov edx, dword [ebp - 0x44]
push edx
push eax
mov ecx, edi
call fcn.0048eb70
test al, al
jne 0x492669
push 0x533160
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x74], 1
call fcn.004f4775
mov edi, dword [ebp - 0x30]
cmp byte [edi + 4], 0
je 0x49269a
test esi, esi
jne 0x49267a
xor eax, eax
jmp 0x49268e
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x492686
mov eax, dword [eax + 0xc]
jmp 0x492688
xor eax, eax
imul eax, dword [ebp - 0x50]
add eax, esi
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov edx, dword [edi]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x58]
push edx
push eax
call fcn.004789f0
test al, al
jne 0x4927d0
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
mov ecx, dword [edi]
push ecx
lea edx, [ebp - 0x30]
push str.__CSelectWin____s
push edx
mov byte [ebp - 4], 0x20
call fcn.0040c320
mov eax, dword [vtable.CCriticalSection.0]
mov edx, dword [eax]
mov ecx, 0x5452ec
add esp, 0xc
mov dword [ebp - 0x40], vtable.CCriticalLock.0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 0
call edx
mov edi, 1
mov dword [ebp - 0x38], edi
xor ebx, ebx
mov byte [ebp - 4], 0x21
cmp dword [0x552af4], ebx
jne 0x492787
push 0x64
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp - 0x60], esi
mov byte [ebp - 4], 0x22
cmp esi, ebx
je 0x49277f
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
call edx
add eax, 0x10
mov dword [esi + 0x10], eax
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
call edx
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
jmp 0x492781
xor esi, esi
mov dword [0x552af4], esi
mov byte [ebp - 4], 0x20
xor esi, esi
lea ecx, [ecx]
cmp esi, edi
jge 0x4927a1
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
inc esi
jmp 0x492790
mov ecx, dword [0x552af4]
mov eax, dword [ecx + 0x10]
push 0x10
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ecx + 0x28]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x533160
lea ecx, [ebp - 0x7c]
push ecx
mov dword [ebp - 0x7c], 2
call fcn.004f4775
mov esi, dword [ebp - 0x4c]
xor edi, edi
mov byte [ebp - 4], 8
cmp esi, edi
je 0x492801
dec dword [esi + 4]
jne 0x4927fb
cmp byte [esi + 8], 0
je 0x4927f0
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 - 0x4c], edi
mov dword [ebp - 0x54], edi
inc dword [ebp - 0x48]
mov edi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x34]
jmp 0x4923e0
mov eax, dword [ecx*8 + 0x54a724]
mov ecx, dword [edi + 0x38]
mov dword [edi + 0x70], eax
mov eax, dword [edi + 0x3c]
xor edx, edx
mov dword [edi + 4], edx
mov byte [edi + 0x20], dl
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
lea eax, [edi + 0x30]
cmp byte [edi + 0x2c], dl
jne 0x492841
lea eax, [edi + 0x24]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push eax
push ecx
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov esi, dword [ebp - 0x18]
sub esi, dword [ebp - 0x20]
mov ecx, 0x553818
call fcn.004175a0
mov eax, dword [0x552af4]
mov ecx, dword [eax + 0x18]
lea eax, [esi - 0x3c]
shr ecx, 1
sar eax, 1
add eax, dword [ebp - 0x20]
sub ecx, 0x25f
mov dword [edi + 0xc], ecx
lea edx, [ecx + 0x4be]
mov dword [edi + 0x10], eax
lea esi, [eax + 0x3c]
lea ecx, [ebp - 0x24]
lea eax, [ebx + 0x14]
push ecx
push eax
mov dword [edi + 0x14], edx
push eax
mov dword [edi + 0x18], esi
mov byte [edi + 8], 0
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [ebx + 0x50]
test eax, eax
jne 0x4928b0
mov esi, dword [ebp - 0x34]
xor ecx, ecx
jmp 0x4928cb
mov ecx, dword [ebx + 0x58]
test ecx, ecx
je 0x4928bc
mov edx, dword [ecx + 0xc]
jmp 0x4928be
xor edx, edx
mov ecx, dword [ebx + 0x54]
mov esi, dword [ebp - 0x34]
add ecx, esi
imul ecx, edx
add ecx, eax
mov edx, dword [0x54a764]
mov eax, dword [0x54a760]
push 1
push 1
push edx
push eax
call fcn.0040fb20
test al, al
jne 0x4928fa
push 0x533160
lea ecx, [ebp - 0x70]
push ecx
mov dword [ebp - 0x70], 1
call fcn.004f4775
mov edx, dword [ebx + 0x50]
test edx, edx
jne 0x492905
xor eax, eax
jmp 0x49291d
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x492911
mov ecx, dword [eax + 0xc]
jmp 0x492913
xor ecx, ecx
mov eax, dword [ebx + 0x54]
add eax, esi
imul eax, ecx
add eax, edx
mov ecx, dword [esi*8 + 0x51dcc0]
mov edx, dword [esi*8 + 0x51dcc4]
inc esi
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
xor edi, edi
jmp 0x492395
or eax, 0xffffffff
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x30], edi
mov byte [ebx + 0x4c], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004f4f8b
mov esp, ebp
pop ebp
ret 4