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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc4], eax
cmp dword [0x10191700], 0
mov eax, ecx
push esi
push edi
mov dword [esp + 0x88], eax
je 0x10052966
cmp dword [0x101916f4], 0
je 0x10052966
test eax, eax
jne 0x100515df
cmp dword [0x10191718], ecx
jne 0x10052966
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x10191718
mov dword [esp + 0xa4], esi
call esi
push 0
push 0x101916f4
call esi
mov eax, dword [sym.imp.GDI32.dll_SetRectRgn]
xorps xmm0, xmm0
mov esi, dword [0x10191700]
push 0
push 0
push 0
push 0
push dword [0x101917dc]
mov dword [esp + 0x30], 0
mov byte [esp + 0x33], 1
movlpd qword [esp + 0xbc], xmm0
movlpd qword [esp + 0xb4], xmm0
mov byte [esp + 0x27], 0
mov byte [esp + 0x26], 0
mov dword [esp + 0x2c], eax
call eax
mov eax, dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, esi
mov dword [esp + 0x74], eax
mov eax, dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esp + 0x78], eax
mov eax, dword [sym.imp.GDI32.dll_CombineRgn]
mov dword [esp + 0x28], eax
mov eax, dword [sym.imp.USER32.dll_GetPropW]
mov dword [esp + 0x54], eax
mov eax, dword [sym.imp.GDI32.dll_RectInRegion]
mov dword [esp + 0x68], eax
mov eax, dword [sym.imp.GDI32.dll_SelectClipRgn]
mov dword [esp + 0x3c], eax
mov eax, dword [sym.imp.GDI32.dll_FillRgn]
mov dword [esp + 0x50], eax
mov eax, dword [sym.imp.GDI32.dll_GetRgnBox]
mov dword [esp + 0x64], eax
mov eax, dword [sym.imp.GDI32.dll_BitBlt]
mov dword [esp + 0x7c], eax
mov eax, dword [sym.imp.USER32.dll_FillRect]
mov dword [esp + 0x80], eax
mov eax, dword [sym.imp.GDI32.dll_StretchBlt]
mov dword [esp + 0x6c], eax
mov eax, dword [sym.imp.USER32.dll_SetPropW]
mov dword [esp + 0x84], eax
mov eax, dword [sym.imp.USER32.dll_RedrawWindow]
mov dword [esp + 0x70], eax
mov eax, dword [sym.imp.USER32.dll_UpdateLayeredWindow]
mov dword [esp + 0x8c], eax
mov eax, dword [sym.imp.GDI32.dll_CreateRectRgn]
mov dword [esp + 0x90], eax
mov eax, dword [sym.imp.USER32.dll_SetWindowRgn]
mov dword [esp + 0x94], eax
mov eax, dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esp + 0x48], edi
mov dword [esp + 0x98], eax
nop word [eax + eax]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x58], ecx
mov dword [esi + 0xf0], 0
test ecx, ecx
je 0x10051723
mov eax, dword [ecx + 0xd4]
or eax, dword [esi + 0xd0]
jmp 0x10051729
mov eax, dword [esi + 0xd0]
mov dword [esi + 0xd4], eax
mov dh, byte [esi + 0xe8]
mov byte [esp + 0x2f], dh
mov dl, dh
test al, 8
je 0x10051848
cmp byte [esi + 0x3c], 0
je 0x1005176f
test ecx, ecx
je 0x1005176b
cmp byte [ecx + 0xe8], 0
je 0x10051765
mov eax, dword [esi + 0x30]
cmp eax, dword [ecx + 0x34]
jne 0x10051765
mov eax, 1
jmp 0x10051767
xor eax, eax
test eax, eax
je 0x1005176f
mov al, 1
jmp 0x10051771
xor al, al
cmp byte [0x101916b4], 0
mov ah, al
mov byte [esi + 0xe8], al
mov dl, al
je 0x100517a0
test ecx, ecx
je 0x100517a0
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x100517a0
cmp dword [ecx + 0x1c], 0
je 0x100517a0
xor ah, ah
mov byte [esi + 0xe8], 0
xor dl, dl
cmp ah, dh
je 0x10051843
cmp dword [esi + 0x168], 0
je 0x1005181b
test byte [esi + 0x164], 2
je 0x1005181b
lea eax, [esp + 0xb0]
xorps xmm0, xmm0
push eax
push dword [esi + 0x28]
movaps xmmword [esp + 0xb8], xmm0
call dword [esp + 0x7c]
cmp byte [esi + 0xe8], 0
mov ecx, 0x40
mov eax, 0x83
cmovne eax, ecx
push eax
push dword [esi + 0x54]
mov eax, dword [esi + 0x88]
push dword [esi + 0x50]
add eax, dword [esp + 0xc0]
push eax
mov eax, dword [esi + 0x84]
add eax, dword [esp + 0xc0]
push eax
push dword [esi + 0x28]
push dword [esi + 0x168]
call dword [esp + 0x94]
push 0
xor eax, eax
cmp byte [esi + 0x3c], al
push 0
push dword [esi + 0xd0]
setne al
push eax
mov eax, dword [esi + 0x44]
push 0x3f3
push esi
call eax
mov dl, byte [esi + 0xe8]
mov dh, byte [esp + 0x2f]
mov byte [esp + 0x13], 1
mov ecx, dword [esi + 0xd4]
test cl, 6
je 0x10051e6c
test dh, dh
je 0x100518a7
cmp dword [esi + 0x9c], 0
je 0x100518a7
cmp dword [esi + 0xa0], 0
je 0x100518a7
push dword [esi + 0x98]
mov byte [esp + 0x16], 1
push dword [esi + 0x94]
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [0x1019170c]
call dword [esp + 0x2c]
mov eax, dword [0x101917dc]
push 2
push dword [0x1019170c]
push eax
push eax
call dword [esp + 0x38]
mov edx, dword [esp + 0x58]
test edx, edx
je 0x10051a36
mov eax, dword [esi + 0x48]
add eax, dword [edx + 0x84]
mov dword [esp + 0x4c], eax
mov ecx, eax
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x4c]
add eax, dword [edx + 0x88]
mov dword [esi + 0x88], eax
mov edi, dword [edx + 0xac]
mov dword [esp + 0x30], eax
cmp ecx, edi
jge 0x10051901
mov dword [esi + 0x8c], edi
mov eax, dword [edx + 0xac]
sub eax, ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
jmp 0x10051915
mov dword [esi + 0x8c], ecx
mov edi, ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xa4], ecx
mov ecx, dword [edx + 0xb0]
mov dword [esp + 0x40], ecx
cmp eax, ecx
jge 0x1005194d
mov dword [esi + 0x90], ecx
mov ecx, dword [edx + 0xb0]
sub ecx, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x14]
jmp 0x1005195d
mov dword [esi + 0x90], eax
xor ecx, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esi + 0xa8], ecx
mov eax, dword [esi + 0x50]
mov ecx, dword [edx + 0xb4]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x14]
cmp eax, ecx
jg 0x1005198c
mov ecx, dword [esp + 0x4c]
sub ecx, edi
add ecx, dword [esp + 0x14]
jmp 0x1005198e
sub ecx, edi
lea eax, [ecx + edi]
mov dword [esi + 0x9c], ecx
mov edi, dword [esi + 0x54]
mov dword [esi + 0x94], eax
mov ecx, dword [edx + 0xb8]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x58], eax
lea eax, [edx + edi]
cmp eax, ecx
jg 0x100519bf
mov ecx, edx
sub ecx, dword [esp + 0x40]
add ecx, edi
jmp 0x100519c3
sub ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov dword [esi + 0xa0], ecx
add ecx, dword [esp + 0x44]
mov eax, dword [esi + 0x74]
add eax, dword [esp + 0x4c]
cmp dword [esp + 0x20], eax
mov dword [esi + 0x98], ecx
cmovge eax, dword [esp + 0x20]
mov dword [esi + 0xac], eax
mov eax, dword [esi + 0x78]
add eax, edx
cmp edi, eax
cmovl edi, eax
mov eax, dword [esp + 0x4c]
sub eax, dword [esi + 0x7c]
add eax, dword [esp + 0x14]
cmp dword [esp + 0x58], eax
mov dword [esi + 0xb0], edi
cmovle eax, dword [esp + 0x58]
sub edx, dword [esi + 0x80]
mov edi, dword [esp + 0x48]
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0x54]
add eax, edx
cmp ecx, eax
cmovg ecx, eax
mov dword [esi + 0xb8], ecx
jmp 0x10051ad3
mov eax, dword [esi + 0x50]
mov dword [esi + 0x9c], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0x54]
push str.Tab_CanvasEx
mov dword [esi + 0xa0], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0x88], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xa4], 0
push dword [edi + 0x28]
call dword [esp + 0x5c]
movd xmm2, dword [esi + 0x54]
mov ecx, eax
movd xmm1, dword [esi + 0x50]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.1002aab0
test byte [esi + 0xd0], 4
je 0x10051b23
movd xmm2, dword [esi + 0x54]
movd xmm1, dword [esi + 0x50]
mov ecx, dword [esi + 0xec]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.1002aab0
push dword [esi + 0x54]
or dword [esi + 0xd0], 1
push dword [esi + 0x50]
or dword [esi + 0xd4], 1
push 0
push 0
push dword [esi + 0xc8]
mov dword [esi + 0xdc], 0xa
call dword [esp + 0x2c]
cmp dword [esi + 0x9c], 0
jle 0x10051b95
cmp dword [esi + 0xa0], 0
jle 0x10051b95
cmp byte [esi + 0xe8], 0
je 0x10051b95
mov eax, dword [esi + 0xd4]
test al, 0x10
jne 0x10051b95
push dword [esi + 0x98]
or eax, 0x10
mov byte [esp + 0x16], 1
push dword [esi + 0x94]
mov dword [esi + 0xf0], 1
push dword [esi + 0x90]
mov dword [esi + 0xd4], eax
push dword [esi + 0x8c]
push dword [0x1019170c]
call dword [esp + 0x2c]
mov eax, dword [0x101917dc]
push 2
push dword [0x1019170c]
push eax
push eax
call dword [esp + 0x38]
test byte [esi + 0xd0], 2
je 0x10051cfd
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10179e90]
mov ecx, dword [esi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10051bc4
cvtdq2pd xmm0, xmm0
jmp 0x10051bee
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
fstp qword [esp + 0xb8]
movsd xmm0, qword [esp + 0xb8]
add esp, 8
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10179e90]
mov ecx, dword [esi + 0x50]
movsd qword [esp + 0xb0], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10051c19
cvtdq2pd xmm0, xmm0
jmp 0x10051c3d
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
add esp, 8
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10179e90]
mov ecx, dword [esi + 0x4c]
movsd qword [esp + 0x20], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10051c65
cvtdq2pd xmm0, xmm0
jmp 0x10051c89
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
fstp qword [esp + 0x38]
movsd xmm0, qword [esp + 0x38]
add esp, 8
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10179e90]
mov ecx, dword [esi + 0x48]
movsd qword [esp + 0x30], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10051cb1
cvtdq2pd xmm0, xmm0
jmp 0x10051cd5
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
fstp qword [esp + 0x60]
movsd xmm0, qword [esp + 0x60]
add esp, 8
cvttsd2si eax, qword [esp + 0xb0]
push eax
cvttsd2si eax, qword [esp + 0x24]
push eax
cvttsd2si eax, qword [esp + 0x38]
push eax
cvttsd2si eax, xmm0
push eax
mov eax, dword [esi + 0x44]
push 0x3ee
push esi
call eax
test byte [esi + 0xd0], 4
je 0x10051e65
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10179e90]
mov ecx, dword [esi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10051d2c
cvtdq2pd xmm0, xmm0
jmp 0x10051d56
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
fstp qword [esp + 0xb8]
movsd xmm0, qword [esp + 0xb8]
add esp, 8
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10179e90]
mov ecx, dword [esi + 0x50]
movsd qword [esp + 0xb0], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10051d81
cvtdq2pd xmm0, xmm0
jmp 0x10051da5
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
add esp, 8
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10179e90]
mov ecx, dword [esi + 0x4c]
movsd qword [esp + 0x20], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10051dcd
cvtdq2pd xmm0, xmm0
jmp 0x10051df1
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
fstp qword [esp + 0x38]
movsd xmm0, qword [esp + 0x38]
add esp, 8
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10179e90]
mov ecx, dword [esi + 0x48]
movsd qword [esp + 0x30], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10051e19
cvtdq2pd xmm0, xmm0
jmp 0x10051e3d
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10147630
fstp qword [esp + 0x60]
movsd xmm0, qword [esp + 0x60]
add esp, 8
cvttsd2si eax, qword [esp + 0xb0]
push eax
cvttsd2si eax, qword [esp + 0x24]
push eax
cvttsd2si eax, qword [esp + 0x38]
push eax
cvttsd2si eax, xmm0
push eax
mov eax, dword [esi + 0x44]
push 0x3ef
push esi
call eax
mov byte [esp + 0x13], 1
jmp 0x10051ece
cmp dl, dh
je 0x10051ece
cmp dword [esi + 0x9c], 0
je 0x10051ece
cmp dword [esi + 0xa0], 0
je 0x10051ece
push dword [esi + 0x98]
movzx eax, dl
or ecx, 0x10
push dword [esi + 0x94]
mov byte [esp + 0x1a], 1
push dword [esi + 0x90]
mov dword [esi + 0xf0], eax
push dword [esi + 0x8c]
mov dword [esi + 0xd4], ecx
push dword [0x1019170c]
call dword [esp + 0x2c]
mov eax, dword [0x101917dc]
push 2
push dword [0x1019170c]
push eax
push eax
call dword [esp + 0x38]
mov ecx, dword [esi + 0xd4]
test cl, 0x10
je 0x10051ee6
movzx eax, byte [esi + 0xe8]
mov dword [esi + 0xf0], eax
cmp byte [esi + 0xe8], 0
je 0x10051fb2
cmp dword [esi + 0x64], 0
je 0x10051fb2
cmp dword [esi + 0x24], 0x44c
jne 0x10051fb2
cmp dword [esi + 0x9c], 0
jle 0x10051fb2
cmp dword [esi + 0xa0], 0
jle 0x10051fb2
test cl, 0x10
jne 0x10051fb2
lea eax, [esi + 0x8c]
push eax
push dword [0x101917dc]
call dword [esp + 0x70]
test eax, eax
je 0x10051fb2
push dword [esi + 0x54]
or dword [esi + 0xd0], 1
push dword [esi + 0x50]
mov byte [esp + 0x1a], 1
push 0
push 0
push dword [esi + 0xc8]
mov dword [esi + 0xf0], 1
mov dword [esi + 0xdc], 0xa
call dword [esp + 0x2c]
push dword [esi + 0x98]
push dword [esi + 0x94]
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [esi + 0xc4]
call dword [esp + 0x2c]
mov eax, dword [0x101917dc]
or dword [esi + 0xd4], 0x11
push 2
push dword [esi + 0xc4]
push eax
push eax
call dword [esp + 0x38]
test byte [esi + 0xd0], 1
je 0x1005201e
cmp dword [esi + 0x9c], 0
mov dword [esi + 0xd8], 1
jle 0x1005201e
cmp dword [esi + 0xa0], 0
jle 0x1005201e
cmp byte [esi + 0xe8], 0
je 0x1005201e
mov eax, dword [esi + 0xd4]
test al, 0x10
jne 0x1005201e
mov dword [esi + 0xf0], 1
cmp dword [edi + 0xdc], 9
mov byte [esp + 0x12], 1
jle 0x1005200b
or eax, 0x10
mov dword [esi + 0xd4], eax
mov eax, dword [0x101917dc]
push 2
push dword [esi + 0xc4]
push eax
push eax
call dword [esp + 0x38]
mov dword [esi + 0xd0], 0
mov esi, dword [esi + 0x1c]
test esi, esi
je 0x10052039
cmp dword [esi + 0x2c], 1
jg 0x10051700
cmp byte [esp + 0x12], 0
je 0x1005292f
push str.Tab_CanvasEx
push dword [edi + 0x28]
call dword [esp + 0x5c]
push str.Layered
push dword [edi + 0x28]
mov esi, eax
mov dword [esp + 0x1c], esi
call dword [esp + 0x5c]
push dword [0x101917dc]
mov dword [esp + 0x24], eax
push dword [esi + 0x20]
call dword [esp + 0x44]
push dword [0x101917cc]
push dword [0x101917dc]
push dword [esi + 0x20]
call dword [esp + 0x5c]
cmp dword [edi + 0x24], 0
jle 0x1005237f
cmp byte [edi + 0xe8], 0
je 0x1005237f
cmp dword [edi + 0x9c], 0
jle 0x1005237f
cmp dword [edi + 0xa0], 0
jle 0x1005237f
mov eax, dword [edi + 0xec]
cmp dword [eax + 0x14], 0
je 0x1005237f
cmp dword [edi + 0xd8], 0
je 0x100522ee
cmp byte [edi + 0xf5], 0
jne 0x100522ee
push 5
push 0
push dword [edi + 0xc8]
push dword [edi + 0xcc]
call dword [esp + 0x38]
and dword [edi + 0xd0], 0xfffffffe
push 0
push 0
push 0
push 0
push dword [edi + 0xc8]
mov dword [edi + 0xdc], 0
call dword [esp + 0x2c]
push 0
push 0
push 0
push 0
push dword [edi + 0xc4]
call dword [esp + 0x2c]
cmp dword [0x1019182c], 0
mov eax, dword [edi + 0xcc]
mov byte [edi + 0xf5], 1
je 0x10052229
lea ecx, [esp + 0xb0]
xorps xmm0, xmm0
push ecx
push eax
movaps xmmword [esp + 0xb8], xmm0
call dword [esp + 0x6c]
push dword [esp + 0xbc]
push dword [esp + 0xbc]
push dword [esp + 0xbc]
push dword [esp + 0xbc]
push dword [0x1019170c]
call dword [esp + 0x2c]
mov eax, dword [edi + 0xec]
push dword [0x1019170c]
push dword [eax + 0x20]
call dword [esp + 0x44]
mov eax, dword [edi + 0xec]
push 0
push dword [0x1019170c]
push dword [eax + 0x24]
call dword [0x10192b48]
push dword [0x101917cc]
mov eax, dword [edi + 0xec]
push dword [0x1019170c]
push dword [eax + 0x20]
call dword [esp + 0x5c]
mov ecx, dword [edi + 0xec]
test ecx, ecx
je 0x100521ef
cmp dword [0x1019182c], 0
je 0x100521ef
mov eax, dword [ecx + 0x2c]
test eax, eax
jg 0x100521ef
inc eax
mov dword [ecx + 0x2c], eax
mov eax, dword [ecx + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov eax, dword [esp + 0xbc]
mov edx, dword [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0xb8]
sub eax, ecx
mov dword [esp], 0x3f800000
push 0
push eax
mov eax, dword [esp + 0xc4]
sub eax, edx
push eax
push ecx
mov ecx, dword [edi + 0xec]
call fcn.1002ba60
jmp 0x10052267
push eax
mov eax, dword [edi + 0xec]
push dword [eax + 0x20]
call dword [esp + 0x44]
mov eax, dword [edi + 0xec]
push 0
push dword [edi + 0xcc]
push dword [eax + 0x24]
call dword [0x10192b48]
push dword [0x101917cc]
mov eax, dword [edi + 0xec]
push dword [edi + 0xcc]
push dword [eax + 0x20]
call dword [esp + 0x5c]
mov eax, dword [edi + 0xec]
push eax
push dword [eax + 0x14]
push dword [eax + 0x24]
push dword [eax + 0x20]
mov eax, dword [edi + 0x44]
push 0x3f0
push edi
call eax
cmp dword [0x1019182c], 0
je 0x100522dd
mov ecx, dword [edi + 0xec]
call fcn.1002b2b0
mov ecx, dword [edi + 0xec]
mov dword [esp + 0xb0], ecx
test ecx, ecx
je 0x100522dd
cmp dword [0x1019182c], 0
je 0x100522dd
mov eax, dword [ecx + 0x2c]
cmp eax, 1
jl 0x100522dd
dec eax
mov dword [ecx + 0x2c], eax
call fcn.1002b2b0
mov ecx, dword [esp + 0xb0]
push 0
push 0
mov eax, dword [ecx + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov dword [0x10191988], eax
mov dword [edi + 0xd8], 0
mov byte [edi + 0xf5], 0
cmp dword [edi + 0x64], 0
je 0x1005237f
mov eax, dword [edi + 0xec]
push eax
push dword [eax + 0x14]
push dword [eax + 0x20]
mov eax, dword [edi + 0x44]
push dword [esi + 0x20]
push 0x3f1
push edi
call eax
test eax, eax
jne 0x1005237f
mov eax, dword [edi + 0x64]
cmp eax, 0x100
jge 0x10052359
cmp dword [esp + 0x20], 0x100
jge 0x10052359
mov byte [esp + 0x1e], al
push dword [esp + 0x1c]
mov ecx, dword [edi + 0x54]
mov edx, dword [edi + 0x50]
mov eax, dword [edi + 0xec]
push ecx
push edx
push 0
push 0
push dword [eax + 0x20]
push ecx
push edx
push 0
push 0
push dword [esi + 0x20]
call dword [0x10192b14]
jmp 0x1005237f
mov eax, dword [edi + 0xec]
push 0xcc0020
push 0
push 0
push dword [eax + 0x20]
push dword [edi + 0x54]
push dword [edi + 0x50]
push 0
push 0
push dword [esi + 0x20]
call dword [esp + 0xa0]
mov esi, dword [edi + 0x1c]
mov dword [esp + 0x44], esi
test esi, esi
je 0x10052719
mov edi, dword [esp + 0x14]
cmp dword [esi + 0x2c], 1
jle 0x10052711
cmp byte [esi + 0xe8], 0
je 0x10052706
cmp dword [esi + 0x9c], 0
jle 0x10052706
cmp dword [esi + 0xa0], 0
jle 0x10052706
mov eax, dword [esi + 0xec]
cmp dword [eax + 0x14], 0
je 0x10052706
cmp dword [esi + 0xd8], 0
je 0x10052607
cmp byte [esi + 0xf5], 0
jne 0x10052607
push 5
push 0
push dword [esi + 0xc8]
push dword [esi + 0xcc]
call dword [esp + 0x38]
and dword [esi + 0xd0], 0xfffffffe
push 0
push 0
push 0
push 0
push dword [esi + 0xc8]
mov dword [esi + 0xdc], 0
call dword [esp + 0x2c]
push 0
push 0
push 0
push 0
push dword [esi + 0xc4]
call dword [esp + 0x2c]
cmp dword [esi + 0xf8], 0
mov byte [esi + 0xf5], 1
jne 0x10052580
cmp dword [0x1019182c], 0
mov eax, dword [esi + 0xcc]
je 0x10052542
lea ecx, [esp + 0xb0]
xorps xmm0, xmm0
push ecx
push eax
movaps xmmword [esp + 0xb8], xmm0
call dword [esp + 0x6c]
push dword [esp + 0xbc]
push dword [esp + 0xbc]
push dword [esp + 0xbc]
push dword [esp + 0xbc]
push dword [0x1019170c]
call dword [esp + 0x2c]
mov eax, dword [esi + 0xec]
push dword [0x1019170c]
push dword [eax + 0x20]
call dword [esp + 0x44]
mov eax, dword [esi + 0xec]
push 0
push dword [0x1019170c]
push dword [eax + 0x24]
call dword [0x10192b48]
push dword [0x101917cc]
mov eax, dword [esi + 0xec]
push dword [0x1019170c]
push dword [eax + 0x20]
call dword [esp + 0x5c]
mov ecx, dword [esi + 0xec]
test ecx, ecx
je 0x10052508
cmp dword [0x1019182c], 0
je 0x10052508
mov eax, dword [ecx + 0x2c]
test eax, eax
jg 0x10052508
inc eax
mov dword [ecx + 0x2c], eax
mov eax, dword [ecx + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov eax, dword [esp + 0xbc]
mov edx, dword [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0xb8]
sub eax, ecx
mov dword [esp], 0x3f800000
push 0
push eax
mov eax, dword [esp + 0xc4]
sub eax, edx
push eax
push ecx
mov ecx, dword [esi + 0xec]
call fcn.1002ba60
jmp 0x10052580
push eax
mov eax, dword [esi + 0xec]
push dword [eax + 0x20]
call dword [esp + 0x44]
mov eax, dword [esi + 0xec]
push 0
push dword [esi + 0xcc]
push dword [eax + 0x24]
call dword [0x10192b48]
push dword [0x101917cc]
mov eax, dword [esi + 0xec]
push dword [esi + 0xcc]
push dword [eax + 0x20]
call dword [esp + 0x5c]
mov eax, dword [esi + 0xec]
push eax
push dword [eax + 0x14]
push dword [eax + 0x24]
push dword [eax + 0x20]
mov eax, dword [esi + 0x44]
push 0x3f0
push esi
call eax
cmp dword [0x1019182c], 0
je 0x100525f6
mov ecx, dword [esi + 0xec]
call fcn.1002b2b0
mov ecx, dword [esi + 0xec]
mov dword [esp + 0xb0], ecx
test ecx, ecx
je 0x100525f6
cmp dword [0x1019182c], 0
je 0x100525f6
mov eax, dword [ecx + 0x2c]
cmp eax, 1
jl 0x100525f6
dec eax
mov dword [ecx + 0x2c], eax
call fcn.1002b2b0
mov ecx, dword [esp + 0xb0]
push 0
push 0
mov eax, dword [ecx + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov dword [0x10191988], eax
mov dword [esi + 0xd8], 0
mov byte [esi + 0xf5], 0
cmp byte [0x101916b5], 0
je 0x10052627
push dword [0x101916d0]
lea eax, [esi + 0x8c]
push eax
push dword [edi + 0x20]
call dword [esp + 0x8c]
cmp dword [esi + 0x64], 0
je 0x10052706
cmp dword [esi + 0xf0], 0
je 0x1005265f
mov eax, dword [esi + 0xec]
push eax
push dword [eax + 0x14]
push dword [eax + 0x20]
mov eax, dword [esi + 0x44]
push dword [edi + 0x20]
push 0x3f1
push esi
call eax
test eax, eax
jne 0x10052706
jmp 0x10052678
lea eax, [esi + 0x8c]
push eax
push dword [0x101917dc]
call dword [esp + 0x70]
test eax, eax
je 0x10052706
mov eax, dword [esi + 0x64]
cmp eax, 0x100
jge 0x100526c6
mov byte [esp + 0x1e], al
push dword [esp + 0x1c]
mov ecx, dword [esi + 0xa0]
mov edx, dword [esi + 0x9c]
mov eax, dword [esi + 0xec]
push ecx
push edx
push dword [esi + 0xa8]
push dword [esi + 0xa4]
push dword [eax + 0x20]
push ecx
push edx
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [edi + 0x20]
call dword [0x10192b14]
jmp 0x10052706
mov ecx, dword [esi + 0xa0]
mov edx, dword [esi + 0x9c]
mov eax, dword [esi + 0xec]
push 0xcc0020
push ecx
push edx
push dword [esi + 0xa8]
push dword [esi + 0xa4]
push dword [eax + 0x20]
push ecx
push edx
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [edi + 0x20]
call dword [esp + 0x98]
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x10052392
mov edi, dword [esp + 0x48]
mov dword [esp + 0x44], esi
push str.Tab_UpdateState
push dword [edi + 0x28]
call dword [esp + 0x5c]
mov ecx, dword [edi + 0x28]
test eax, eax
je 0x10052740
push 1
push str.Tab_NeedUpdate
push ecx
call dword [esp + 0x90]
jmp 0x1005292f
push str.Tab_RefreshCallBack
push ecx
call dword [esp + 0x5c]
test eax, eax
jne 0x1005292f
push eax
mov eax, dword [esp + 0x18]
push dword [eax + 0x20]
call dword [esp + 0x44]
mov eax, dword [esp + 0x20]
cmp eax, 0xff
jle 0x10052783
mov eax, dword [edi + 0x28]
push 0x83
push dword [0x101917dc]
push 0
push eax
call dword [esp + 0x80]
jmp 0x100527c9
mov byte [esp + 0x1e], al
mov eax, dword [edi + 0x50]
mov dword [esp + 0xa0], eax
mov eax, dword [edi + 0x54]
push 2
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x20]
push eax
push 0
lea eax, [esp + 0xb4]
push eax
mov eax, dword [esp + 0x24]
push dword [eax + 0x20]
lea eax, [esp + 0xb4]
push eax
push 0
push 0
push dword [edi + 0x28]
call dword [esp + 0xb0]
cmp byte [esp + 0x13], 0
je 0x1005292f
mov ecx, dword [0x10191a34]
xor edx, edx
mov dword [esp + 0x48], edx
test ecx, ecx
jle 0x1005292f
nop dword [eax + eax]
mov eax, dword [0x10191a30]
mov edi, dword [eax + edx*4]
mov dword [esp + 0x58], edi
test byte [edi + 0x164], 2
je 0x1005291e
mov ecx, dword [edi + 0xa8]
mov eax, dword [edi + 0xa0]
mov edx, dword [edi + 0xa4]
add eax, ecx
push eax
mov eax, dword [edi + 0x9c]
mov edi, dword [esp + 0x94]
add eax, edx
push eax
push ecx
push edx
call edi
push 0
push 0
push 0
push 0
mov esi, eax
call edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x58]
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x100528f9
mov ecx, dword [edi + 0x28]
cmp ecx, dword [eax + 0x28]
jne 0x100528f9
cmp byte [edi + 0xe8], 0
je 0x100528ee
cmp dword [edi + 0x58], 1
je 0x100528ee
mov edx, dword [eax + 0x8c]
mov dword [esp + 0x30], edx
cmp edx, dword [edi + 0x94]
jge 0x100528ee
mov edx, dword [edi + 0x8c]
cmp dword [eax + 0x94], edx
jle 0x100528ee
mov ecx, dword [eax + 0x90]
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + 0x98]
cmp dword [eax + 0x90], ecx
jge 0x100528ee
mov ecx, dword [edi + 0x90]
cmp dword [eax + 0x98], ecx
jle 0x100528ee
mov eax, dword [edi + 0x98]
sub eax, dword [esp + 0x20]
sub ecx, dword [esp + 0x20]
sub edx, dword [esp + 0x30]
push eax
mov eax, dword [edi + 0x94]
sub eax, dword [esp + 0x34]
push eax
push ecx
push edx
push dword [esp + 0x24]
call dword [esp + 0x2c]
push 4
push dword [esp + 0x18]
push esi
push esi
call dword [esp + 0x38]
mov eax, dword [esp + 0x58]
mov edi, dword [edi + 0x1c]
test edi, edi
jne 0x10052851
push 1
push esi
push dword [eax + 0x168]
call dword [esp + 0xa0]
push dword [esp + 0x14]
call dword [esp + 0x9c]
mov ecx, dword [0x10191a34]
mov edx, dword [esp + 0x48]
inc edx
mov dword [esp + 0x48], edx
cmp edx, ecx
jl 0x100527f0
mov esi, dword [esp + 0x44]
push 0
test esi, esi
je 0x1005295a
push 0
push 0
push 0
push dword [0x101917dc]
call dword [esp + 0x2c]
mov edi, esi
mov byte [esp + 0x12], 0
mov dword [esp + 0x48], edi
mov byte [esp + 0x13], 0
jmp 0x10051700
push 0x10191718
call dword [esp + 0xa4]
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
xor ecx, esp
call fcn.10143d6a
mov esp, ebp
pop ebp
ret