Function at 0x490ef0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cd2c
mov eax, dword fs:[0]
push eax
sub esp, 0x38
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 ebx, ecx
push eax
mov dword [ebp - 0x2c], ebx
call fcn.0045b370
xor eax, eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx], vtable.SpotWin::CSpotWin.0
mov dword [ebp - 4], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0xffffffff
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
xor ecx, ecx
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], ecx
xor edx, edx
xor esi, esi
mov dword [ebx + 0x1c], edx
mov ecx, 0x5538e0
mov byte [ebp - 4], 3
mov byte [ebx + 0xc], al
mov dword [ebx + 0x20], esi
call fcn.00405720
mov edx, dword [0x552ae4]
mov esi, dword [edx + 4]
test esi, esi
jne 0x490f90
xor eax, eax
jmp 0x490fa6
mov eax, dword [edx + 0xc]
test eax, eax
je 0x490f9c
mov ecx, dword [eax + 0xc]
jmp 0x490f9e
xor ecx, ecx
mov eax, dword [edx + 8]
imul eax, ecx
add eax, esi
mov eax, dword [eax + 0xd0]
test eax, eax
je 0x490fb3
mov eax, dword [eax + 0x10]
push eax
lea ecx, [ebx + 0x24]
call fcn.0045e0d0
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x2c]
test eax, eax
je 0x490fce
mov eax, dword [eax + 0x10]
cmp ebx, eax
jge 0x491158
mov ecx, dword [edx + 0x24]
test ecx, ecx
jne 0x490fe1
xor esi, esi
jmp 0x490ff9
mov eax, dword [edx + 0x2c]
test eax, eax
je 0x490fed
mov eax, dword [eax + 0xc]
jmp 0x490fef
xor eax, eax
mov esi, dword [edx + 0x28]
add esi, ebx
imul esi, eax
add esi, ecx
mov ecx, 0x5538e0
call fcn.00405720
mov edx, dword [0x552ae4]
mov edi, dword [edx + 4]
test edi, edi
jne 0x491014
xor eax, eax
jmp 0x49102a
mov eax, dword [edx + 0xc]
test eax, eax
je 0x491020
mov ecx, dword [eax + 0xc]
jmp 0x491022
xor ecx, ecx
mov eax, dword [edx + 8]
imul eax, ecx
add eax, edi
mov edx, dword [eax + 0xc8]
test edx, edx
jne 0x491038
xor eax, eax
jmp 0x491056
mov ecx, dword [eax + 0xd0]
test ecx, ecx
je 0x491047
mov ecx, dword [ecx + 0xc]
jmp 0x491049
xor ecx, ecx
mov eax, dword [eax + 0xcc]
add eax, ebx
imul eax, ecx
add eax, edx
mov eax, dword [eax]
mov edx, dword [vtable.CCriticalSection.0]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx]
mov ecx, 0x5452c8
mov dword [ebp - 0x38], vtable.CCriticalLock.0
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 0
call eax
mov ebx, 1
mov dword [ebp - 0x30], ebx
mov eax, dword [0x552af0]
mov byte [ebp - 4], 4
test eax, eax
jne 0x4910b8
push 0x1f0
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x4910b1
mov ecx, eax
call fcn.00415650
jmp 0x4910b3
xor eax, eax
mov dword [0x552af0], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x38], vtable.CCriticalLock.0
xor edi, edi
cmp edi, ebx
jge 0x4910db
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x552af0]
inc edi
jmp 0x4910c5
mov edi, dword [eax + 0x18]
test edi, edi
jne 0x4910e6
xor ecx, ecx
jmp 0x4910fc
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4910f2
mov edx, dword [ecx + 0xc]
jmp 0x4910f4
xor edx, edx
mov ecx, dword [eax + 0x1c]
imul ecx, edx
add ecx, edi
mov edx, dword [ebp - 0x3c]
push edx
push esi
call fcn.0048eb70
test al, al
jne 0x49111f
push 0x533160
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 1
call fcn.004f4775
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 8]
mov edi, dword [esi + 0xc]
add edx, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
add edi, ecx
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x24]
add eax, 0x14
push ecx
push eax
push eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edi
call dword [sym.imp.USER32.dll_UnionRect]
inc dword [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
jmp 0x490fc1
xor edi, edi
mov dword [ebp - 0x28], edi
lea ecx, [ecx]
mov ecx, 0x5538e0
call fcn.00405720
mov edx, dword [0x552ae4]
mov esi, dword [edx + 4]
test esi, esi
jne 0x49117b
xor eax, eax
jmp 0x491191
mov eax, dword [edx + 0xc]
test eax, eax
je 0x491187
mov ecx, dword [eax + 0xc]
jmp 0x491189
xor ecx, ecx
mov eax, dword [edx + 8]
imul eax, ecx
add eax, esi
mov eax, dword [eax + 0xdc]
test eax, eax
je 0x49119e
mov eax, dword [eax + 0x10]
cmp edi, eax
jge 0x491469
mov ecx, 0x5538e0
call fcn.00405720
mov edx, dword [0x552ae4]
mov esi, dword [edx + 4]
test esi, esi
jne 0x4911c1
xor eax, eax
jmp 0x4911d7
mov eax, dword [edx + 0xc]
test eax, eax
je 0x4911cd
mov ecx, dword [eax + 0xc]
jmp 0x4911cf
xor ecx, ecx
mov eax, dword [edx + 8]
imul eax, ecx
add eax, esi
mov edx, dword [eax + 0xd4]
test edx, edx
jne 0x4911e5
xor eax, eax
jmp 0x491203
mov ecx, dword [eax + 0xdc]
test ecx, ecx
je 0x4911f4
mov ecx, dword [ecx + 0xc]
jmp 0x4911f6
xor ecx, ecx
mov eax, dword [eax + 0xd8]
add eax, edi
imul eax, ecx
add eax, edx
mov esi, dword [eax]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x49122b
cmp eax, dword [esi - 0x10]
jne 0x49122b
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x49125d
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x491244
call fcn.00401640
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
push eax
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.004f4ab2
add esp, 0x10
add edi, 0x10
mov dword [ebp - 0x3c], edi
mov ecx, 0x5538e0
mov byte [ebp - 4], 6
call fcn.00405720
mov edx, dword [0x552ae4]
mov esi, dword [edx + 4]
xor ebx, ebx
cmp esi, ebx
jne 0x491284
xor eax, eax
jmp 0x49129a
mov eax, dword [edx + 0xc]
cmp eax, ebx
je 0x491290
mov ecx, dword [eax + 0xc]
jmp 0x491292
xor ecx, ecx
mov eax, dword [edx + 8]
imul eax, ecx
add eax, esi
mov edx, dword [eax + 0xd4]
cmp edx, ebx
jne 0x4912a8
xor eax, eax
jmp 0x4912c7
mov ecx, dword [eax + 0xdc]
cmp ecx, ebx
je 0x4912b7
mov ecx, dword [ecx + 0xc]
jmp 0x4912b9
xor ecx, ecx
mov eax, dword [eax + 0xd8]
add eax, dword [ebp - 0x28]
imul eax, ecx
add eax, edx
mov edi, dword [eax + 4]
push 0x10
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp - 0x44], esi
mov byte [ebp - 4], 7
cmp esi, ebx
je 0x491389
mov ecx, 0x5538e0
call fcn.00405720
mov ecx, dword [0x552ae4]
mov edx, dword [ecx + 0x10]
cmp edx, ebx
jne 0x491300
xor ecx, ecx
jmp 0x491316
mov eax, dword [ecx + 0x18]
cmp eax, ebx
je 0x49130c
mov eax, dword [eax + 0xc]
jmp 0x49130e
xor eax, eax
mov ecx, dword [ecx + 0x14]
imul ecx, eax
add ecx, edx
mov edx, dword [ebp - 0x3c]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.004714f0
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
lea ecx, [ebp - 0x20]
cmp esi, ecx
je 0x49134d
mov edx, dword [ebp - 0x20]
mov dword [esi], edx
mov eax, dword [ebp - 0x1c]
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x18]
mov dword [esi + 8], ecx
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x49134d
inc dword [eax + 4]
mov dword [esi + 0xc], edi
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x49138b
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], ebx
jne 0x491381
cmp byte [ecx + 8], 0
je 0x491371
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x491381
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
jmp 0x49138b
xor esi, esi
mov byte [ebp - 4], 6
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
cmp esi, ebx
je 0x4913d8
push 0x18
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], esi
call fcn.004f4b27
add esp, 4
cmp eax, ebx
je 0x4913bb
mov dword [eax], vtable.yaneuraoGameSDK3rd::YTL::nonarray_ref_object_class_SpotWin::CSpotWin::key_value_.0
mov dword [eax + 0x14], esi
jmp 0x4913bd
xor eax, eax
mov edi, 1
mov dword [eax + 4], edi
mov byte [eax + 8], 1
mov dword [eax + 0xc], 0x10
mov dword [ebp - 0x30], eax
mov dword [eax + 0x10], edi
jmp 0x4913dd
mov edi, 1
lea ecx, [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x34
mov byte [ebp - 4], 0xa
call fcn.004a0060
mov esi, dword [ebp - 0x30]
mov byte [ebp - 4], 6
cmp esi, ebx
je 0x49141e
dec dword [esi + 4]
jne 0x491418
cmp byte [esi + 8], 0
je 0x49140e
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push edi
mov ecx, esi
call eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x491441
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x28]
jmp 0x491160
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