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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xa4], eax
cmp dword [0x10178470], 0
mov eax, ecx
push esi
push edi
mov dword [esp + 0x74], eax
je 0x10049955
cmp dword [0x10178464], 0
je 0x10049955
test eax, eax
jne 0x1004880c
cmp dword [0x10178488], ecx
jne 0x10049955
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x10178488
mov dword [esp + 0x84], esi
call esi
push 0
push 0x10178464
call esi
mov eax, dword [sym.imp.GDI32.dll_SetRectRgn]
xorps xmm0, xmm0
mov esi, dword [0x10178470]
push 0
push 0
push 0
push 0
push dword [0x10178548]
mov dword [esp + 0x2c], 0
mov byte [esp + 0x2f], 1
movlpd qword [esp + 0x9c], xmm0
movlpd qword [esp + 0x94], xmm0
mov byte [esp + 0x1e], 0
mov dword [esp + 0x20], eax
call eax
mov eax, dword [sym.imp.GDI32.dll_CombineRgn]
mov dword [esp + 0x1c], eax
mov eax, dword [sym.imp.USER32.dll_GetPropW]
mov dword [esp + 0x3c], eax
mov eax, dword [sym.imp.GDI32.dll_RectInRegion]
mov dword [esp + 0x5c], eax
mov eax, dword [sym.imp.GDI32.dll_SelectClipRgn]
mov dword [esp + 0x2c], eax
mov eax, dword [sym.imp.GDI32.dll_FillRgn]
mov dword [esp + 0x38], eax
mov eax, dword [sym.imp.GDI32.dll_GetRgnBox]
mov dword [esp + 0x58], eax
mov eax, dword [sym.imp.GDI32.dll_BitBlt]
mov dword [esp + 0x68], eax
mov eax, dword [sym.imp.USER32.dll_FillRect]
mov dword [esp + 0x6c], eax
mov eax, dword [sym.imp.GDI32.dll_StretchBlt]
mov dword [esp + 0x60], eax
mov eax, dword [sym.imp.USER32.dll_SetPropW]
mov dword [esp + 0x70], eax
mov eax, dword [sym.imp.USER32.dll_RedrawWindow]
mov dword [esp + 0x64], eax
mov eax, dword [sym.imp.USER32.dll_UpdateLayeredWindow]
mov dword [esp + 0x78], eax
mov edi, esi
mov dword [esp + 0x54], edi
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x40], ecx
mov dword [esi + 0xf0], 0
test ecx, ecx
je 0x10048906
mov edx, dword [ecx + 0xd4]
or edx, dword [esi + 0xd0]
jmp 0x1004890c
mov edx, dword [esi + 0xd0]
mov dword [esi + 0xd4], edx
mov ah, byte [esi + 0xe8]
mov byte [esp + 0xb], ah
mov al, ah
test dl, 8
je 0x100489b0
mov dh, byte [esi + 0x3c]
test dh, dh
je 0x10048958
test ecx, ecx
je 0x10048954
cmp byte [ecx + 0xe8], 0
je 0x1004894a
mov eax, dword [esi + 0x30]
cmp eax, dword [ecx + 0x34]
jne 0x1004894a
mov eax, 1
jmp 0x1004894c
xor eax, eax
test eax, eax
mov ah, byte [esp + 0xb]
je 0x10048958
mov dl, 1
jmp 0x1004895a
xor dl, dl
cmp byte [0x10178424], 0
mov al, dl
mov byte [esi + 0xe8], dl
je 0x10048985
test ecx, ecx
je 0x10048985
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x10048985
cmp dword [ecx + 0x1c], 0
je 0x10048985
mov byte [esi + 0xe8], 0
xor al, al
cmp al, ah
je 0x100489b0
push 0
xor eax, eax
test dh, dh
push 0
push dword [esi + 0xd0]
setne al
push eax
mov eax, dword [esi + 0x44]
push 0x3f3
push esi
call eax
mov al, byte [esi + 0xe8]
mov ah, byte [esp + 0xb]
mov ecx, dword [esi + 0xd4]
test cl, 6
je 0x10048fe2
test ah, ah
je 0x10048a0a
cmp dword [esi + 0x9c], 0
je 0x10048a0a
cmp dword [esi + 0xa0], 0
je 0x10048a0a
push dword [esi + 0x98]
push dword [esi + 0x94]
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [0x1017847c]
call dword [esp + 0x20]
mov eax, dword [0x10178548]
push 2
push dword [0x1017847c]
push eax
push eax
call dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
test edx, edx
je 0x10048bb1
mov ecx, dword [edx + 0x84]
add ecx, dword [esi + 0x48]
mov dword [esp + 0x34], ecx
mov eax, ecx
mov dword [esi + 0x84], ecx
mov ecx, dword [edx + 0x88]
add ecx, dword [esi + 0x4c]
mov dword [esi + 0x88], ecx
mov edi, dword [edx + 0xac]
mov dword [esp + 0x44], ecx
cmp eax, edi
jge 0x10048a64
mov dword [esi + 0x8c], edi
mov ecx, dword [edx + 0xac]
sub ecx, eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x44]
jmp 0x10048a78
mov dword [esi + 0x8c], eax
mov edi, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0xa4], eax
mov eax, dword [edx + 0xb0]
cmp ecx, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
jge 0x10048abc
mov edx, dword [esp + 0x30]
mov dword [esi + 0x90], edx
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0xb0]
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
jmp 0x10048ad2
mov dword [esi + 0x90], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xa8], ecx
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x10], ecx
mov ecx, dword [edx + 0xb4]
add eax, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
cmp eax, ecx
jg 0x10048b01
mov ecx, dword [esp + 0x34]
sub ecx, edi
add ecx, dword [esp + 0x10]
jmp 0x10048b03
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 + 0x44]
mov dword [esp + 0x40], eax
lea eax, [edx + edi]
cmp eax, ecx
jg 0x10048b34
mov ecx, edx
sub ecx, dword [esp + 0x30]
add ecx, edi
jmp 0x10048b38
sub ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esi + 0xa0], ecx
add ecx, dword [esp + 0x48]
mov eax, dword [esi + 0x74]
add eax, edx
mov edi, dword [esp + 0x54]
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, dword [esp + 0x44]
cmp dword [esp + 0x48], eax
cmovge eax, dword [esp + 0x48]
sub edx, dword [esi + 0x7c]
mov dword [esi + 0xb0], eax
mov eax, dword [esp + 0x10]
add eax, edx
mov edx, dword [esp + 0x40]
cmp edx, eax
cmovg edx, eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0xb4], edx
mov edx, dword [esi + 0x54]
sub edx, dword [esi + 0x80]
add eax, edx
cmp ecx, eax
cmovg ecx, eax
mov dword [esi + 0xb8], ecx
jmp 0x10048c4e
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 + 0x44]
movd xmm2, dword [esi + 0x54]
mov ecx, eax
movd xmm1, dword [esi + 0x50]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.1002aba0
test byte [esi + 0xd0], 4
je 0x10048c9e
movd xmm2, dword [esi + 0x54]
movd xmm1, dword [esi + 0x50]
mov ecx, dword [esi + 0xec]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.1002aba0
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 + 0x20]
cmp dword [esi + 0x9c], 0
jle 0x10048d10
cmp dword [esi + 0xa0], 0
jle 0x10048d10
cmp byte [esi + 0xe8], 0
je 0x10048d10
mov eax, dword [esi + 0xd4]
test al, 0x10
jne 0x10048d10
push dword [esi + 0x98]
or eax, 0x10
mov byte [esp + 0xe], 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 [0x1017847c]
call dword [esp + 0x20]
mov eax, dword [0x10178548]
push 2
push dword [0x1017847c]
push eax
push eax
call dword [esp + 0x2c]
test byte [esi + 0xd0], 2
je 0x10048e78
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10162660]
mov ecx, dword [esi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10048d3f
cvtdq2pd xmm0, xmm0
jmp 0x10048d69
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
fstp qword [esp + 0x98]
movsd xmm0, qword [esp + 0x98]
add esp, 8
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10162660]
mov ecx, dword [esi + 0x50]
movsd qword [esp + 0x90], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10048d94
cvtdq2pd xmm0, xmm0
jmp 0x10048db8
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
add esp, 8
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10162660]
mov ecx, dword [esi + 0x4c]
movsd qword [esp + 0x20], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10048de0
cvtdq2pd xmm0, xmm0
jmp 0x10048e04
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
add esp, 8
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10162660]
mov ecx, dword [esi + 0x48]
movsd qword [esp + 0x10], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10048e2c
cvtdq2pd xmm0, xmm0
jmp 0x10048e50
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
fstp qword [esp + 0x50]
movsd xmm0, qword [esp + 0x50]
add esp, 8
cvttsd2si eax, qword [esp + 0x90]
push eax
cvttsd2si eax, qword [esp + 0x24]
push eax
cvttsd2si eax, qword [esp + 0x18]
push eax
cvttsd2si eax, xmm0
push eax
mov eax, dword [esi + 0x44]
push 0x3ee
push esi
call eax
test byte [esi + 0xd0], 4
je 0x10049044
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10162660]
mov ecx, dword [esi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10048ea7
cvtdq2pd xmm0, xmm0
jmp 0x10048ed1
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
fstp qword [esp + 0x98]
movsd xmm0, qword [esp + 0x98]
add esp, 8
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10162660]
mov ecx, dword [esi + 0x50]
movsd qword [esp + 0x90], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10048efc
cvtdq2pd xmm0, xmm0
jmp 0x10048f20
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
add esp, 8
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10162660]
mov ecx, dword [esi + 0x4c]
movsd qword [esp + 0x20], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10048f48
cvtdq2pd xmm0, xmm0
jmp 0x10048f6c
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
add esp, 8
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10162660]
mov ecx, dword [esi + 0x48]
movsd qword [esp + 0x10], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10048f94
cvtdq2pd xmm0, xmm0
jmp 0x10048fb8
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10132110
fstp qword [esp + 0x50]
movsd xmm0, qword [esp + 0x50]
add esp, 8
cvttsd2si eax, qword [esp + 0x90]
push eax
cvttsd2si eax, qword [esp + 0x24]
push eax
cvttsd2si eax, qword [esp + 0x18]
push eax
cvttsd2si eax, xmm0
push eax
mov eax, dword [esi + 0x44]
push 0x3ef
push esi
call eax
jmp 0x10049044
cmp al, ah
je 0x10049044
cmp dword [esi + 0x9c], 0
je 0x10049044
cmp dword [esi + 0xa0], 0
je 0x10049044
push dword [esi + 0x98]
movzx eax, al
or ecx, 0x10
push dword [esi + 0x94]
mov byte [esp + 0x12], 1
push dword [esi + 0x90]
mov dword [esi + 0xf0], eax
push dword [esi + 0x8c]
mov dword [esi + 0xd4], ecx
push dword [0x1017847c]
call dword [esp + 0x20]
mov eax, dword [0x10178548]
push 2
push dword [0x1017847c]
push eax
push eax
call dword [esp + 0x2c]
mov ecx, dword [esi + 0xd4]
and ecx, 0x10
je 0x1004905c
movzx eax, byte [esi + 0xe8]
mov dword [esi + 0xf0], eax
cmp byte [esi + 0xe8], 0
je 0x10049127
cmp dword [esi + 0x64], 0
je 0x10049127
cmp dword [esi + 0x24], 0x44c
jne 0x10049127
cmp dword [esi + 0x9c], 0
jle 0x10049127
cmp dword [esi + 0xa0], 0
jle 0x10049127
test ecx, ecx
jne 0x10049127
lea eax, [esi + 0x8c]
push eax
push dword [0x10178548]
call dword [esp + 0x64]
test eax, eax
je 0x10049127
push dword [esi + 0x54]
or dword [esi + 0xd0], 1
push dword [esi + 0x50]
mov byte [esp + 0x12], 1
push 0
push 0
push dword [esi + 0xc8]
mov dword [esi + 0xf0], 1
mov dword [esi + 0xdc], 0xa
call dword [esp + 0x20]
push dword [esi + 0x98]
push dword [esi + 0x94]
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [esi + 0xc4]
call dword [esp + 0x20]
mov eax, dword [0x10178548]
or dword [esi + 0xd4], 0x11
push 2
push dword [esi + 0xc4]
push eax
push eax
call dword [esp + 0x2c]
test byte [esi + 0xd0], 1
je 0x10049193
cmp dword [esi + 0x9c], 0
mov dword [esi + 0xd8], 1
jle 0x10049193
cmp dword [esi + 0xa0], 0
jle 0x10049193
cmp byte [esi + 0xe8], 0
je 0x10049193
mov eax, dword [esi + 0xd4]
test al, 0x10
jne 0x10049193
mov dword [esi + 0xf0], 1
cmp dword [edi + 0xdc], 9
mov byte [esp + 0xa], 1
jle 0x10049180
or eax, 0x10
mov dword [esi + 0xd4], eax
mov eax, dword [0x10178548]
push 2
push dword [esi + 0xc4]
push eax
push eax
call dword [esp + 0x2c]
mov dword [esi + 0xd0], 0
mov esi, dword [esi + 0x1c]
test esi, esi
je 0x100491ae
cmp dword [esi + 0x2c], 1
jg 0x100488e3
cmp byte [esp + 0xa], 0
je 0x10049929
push str.Tab_CanvasEx
push dword [edi + 0x28]
call dword [esp + 0x44]
push str.Layered
push dword [edi + 0x28]
mov esi, eax
mov dword [esp + 0x18], esi
call dword [esp + 0x44]
push dword [0x10178548]
mov dword [esp + 0x24], eax
push dword [esi + 0x20]
call dword [esp + 0x34]
push dword [0x10178538]
push dword [0x10178548]
push dword [esi + 0x20]
call dword [esp + 0x44]
cmp dword [edi + 0x24], 0
jle 0x100494f4
cmp byte [edi + 0xe8], 0
je 0x100494f4
cmp dword [edi + 0x9c], 0
jle 0x100494f4
cmp dword [edi + 0xa0], 0
jle 0x100494f4
mov eax, dword [edi + 0xec]
cmp dword [eax + 0x14], 0
je 0x100494f4
cmp dword [edi + 0xd8], 0
je 0x10049463
cmp byte [edi + 0xf5], 0
jne 0x10049463
push 5
push 0
push dword [edi + 0xc8]
push dword [edi + 0xcc]
call dword [esp + 0x2c]
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 + 0x20]
push 0
push 0
push 0
push 0
push dword [edi + 0xc4]
call dword [esp + 0x20]
cmp dword [0x10178598], 0
mov eax, dword [edi + 0xcc]
mov byte [edi + 0xf5], 1
je 0x1004939e
lea ecx, [esp + 0x90]
xorps xmm0, xmm0
push ecx
push eax
movaps xmmword [esp + 0x98], xmm0
call dword [esp + 0x60]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [0x1017847c]
call dword [esp + 0x20]
mov eax, dword [edi + 0xec]
push dword [0x1017847c]
push dword [eax + 0x20]
call dword [esp + 0x34]
mov eax, dword [edi + 0xec]
push 0
push dword [0x1017847c]
push dword [eax + 0x24]
call dword [0x10179934]
push dword [0x10178538]
mov eax, dword [edi + 0xec]
push dword [0x1017847c]
push dword [eax + 0x20]
call dword [esp + 0x44]
mov ecx, dword [edi + 0xec]
test ecx, ecx
je 0x10049364
cmp dword [0x10178598], 0
je 0x10049364
mov eax, dword [ecx + 0x2c]
test eax, eax
jg 0x10049364
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 + 0x9c]
mov edx, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x98]
sub eax, ecx
mov dword [esp], 0x3f800000
push 0
push eax
mov eax, dword [esp + 0xa4]
sub eax, edx
push eax
push ecx
mov ecx, dword [edi + 0xec]
call fcn.1002bb30
jmp 0x100493dc
push eax
mov eax, dword [edi + 0xec]
push dword [eax + 0x20]
call dword [esp + 0x34]
mov eax, dword [edi + 0xec]
push 0
push dword [edi + 0xcc]
push dword [eax + 0x24]
call dword [0x10179934]
push dword [0x10178538]
mov eax, dword [edi + 0xec]
push dword [edi + 0xcc]
push dword [eax + 0x20]
call dword [esp + 0x44]
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 [0x10178598], 0
je 0x10049452
mov ecx, dword [edi + 0xec]
call fcn.1002b3a0
mov ecx, dword [edi + 0xec]
mov dword [esp + 0x90], ecx
test ecx, ecx
je 0x10049452
cmp dword [0x10178598], 0
je 0x10049452
mov eax, dword [ecx + 0x2c]
cmp eax, 1
jl 0x10049452
dec eax
mov dword [ecx + 0x2c], eax
call fcn.1002b3a0
mov ecx, dword [esp + 0x90]
push 0
push 0
mov eax, dword [ecx + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov dword [0x1017859c], eax
mov dword [edi + 0xd8], 0
mov byte [edi + 0xf5], 0
cmp dword [edi + 0x64], 0
je 0x100494f4
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 0x100494f4
mov eax, dword [edi + 0x64]
cmp eax, 0x100
jge 0x100494ce
cmp dword [esp + 0x20], 0x100
jge 0x100494ce
mov byte [esp + 0x1a], al
push dword [esp + 0x18]
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 [0x10179900]
jmp 0x100494f4
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 + 0x8c]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x10049883
mov edi, dword [esp + 0x10]
cmp dword [esi + 0x2c], 1
jle 0x1004987f
cmp byte [esi + 0xe8], 0
je 0x10049874
cmp dword [esi + 0x9c], 0
jle 0x10049874
cmp dword [esi + 0xa0], 0
jle 0x10049874
mov eax, dword [esi + 0xec]
cmp dword [eax + 0x14], 0
je 0x10049874
cmp dword [esi + 0xd8], 0
je 0x10049778
cmp byte [esi + 0xf5], 0
jne 0x10049778
push 5
push 0
push dword [esi + 0xc8]
push dword [esi + 0xcc]
call dword [esp + 0x2c]
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 + 0x20]
push 0
push 0
push 0
push 0
push dword [esi + 0xc4]
call dword [esp + 0x20]
cmp dword [esi + 0xf8], 0
mov byte [esi + 0xf5], 1
jne 0x100496f1
cmp dword [0x10178598], 0
mov eax, dword [esi + 0xcc]
je 0x100496b3
lea ecx, [esp + 0x90]
xorps xmm0, xmm0
push ecx
push eax
movaps xmmword [esp + 0x98], xmm0
call dword [esp + 0x60]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [0x1017847c]
call dword [esp + 0x20]
mov eax, dword [esi + 0xec]
push dword [0x1017847c]
push dword [eax + 0x20]
call dword [esp + 0x34]
mov eax, dword [esi + 0xec]
push 0
push dword [0x1017847c]
push dword [eax + 0x24]
call dword [0x10179934]
push dword [0x10178538]
mov eax, dword [esi + 0xec]
push dword [0x1017847c]
push dword [eax + 0x20]
call dword [esp + 0x44]
mov ecx, dword [esi + 0xec]
test ecx, ecx
je 0x10049679
cmp dword [0x10178598], 0
je 0x10049679
mov eax, dword [ecx + 0x2c]
test eax, eax
jg 0x10049679
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 + 0x9c]
mov edx, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x98]
sub eax, ecx
mov dword [esp], 0x3f800000
push 0
push eax
mov eax, dword [esp + 0xa4]
sub eax, edx
push eax
push ecx
mov ecx, dword [esi + 0xec]
call fcn.1002bb30
jmp 0x100496f1
push eax
mov eax, dword [esi + 0xec]
push dword [eax + 0x20]
call dword [esp + 0x34]
mov eax, dword [esi + 0xec]
push 0
push dword [esi + 0xcc]
push dword [eax + 0x24]
call dword [0x10179934]
push dword [0x10178538]
mov eax, dword [esi + 0xec]
push dword [esi + 0xcc]
push dword [eax + 0x20]
call dword [esp + 0x44]
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 [0x10178598], 0
je 0x10049767
mov ecx, dword [esi + 0xec]
call fcn.1002b3a0
mov ecx, dword [esi + 0xec]
mov dword [esp + 0x90], ecx
test ecx, ecx
je 0x10049767
cmp dword [0x10178598], 0
je 0x10049767
mov eax, dword [ecx + 0x2c]
cmp eax, 1
jl 0x10049767
dec eax
mov dword [ecx + 0x2c], eax
call fcn.1002b3a0
mov ecx, dword [esp + 0x90]
push 0
push 0
mov eax, dword [ecx + 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov dword [0x1017859c], eax
mov dword [esi + 0xd8], 0
mov byte [esi + 0xf5], 0
cmp byte [0x10178425], 0
lea eax, [esi + 0x8c]
je 0x1004979b
push dword [0x10178440]
push eax
push dword [edi + 0x20]
call dword [esp + 0x78]
lea eax, [esi + 0x8c]
cmp dword [esi + 0x64], 0
je 0x10049874
cmp dword [esi + 0xf0], 0
je 0x100497d3
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 0x10049874
jmp 0x100497e6
push eax
push dword [0x10178548]
call dword [esp + 0x64]
test eax, eax
je 0x10049874
mov eax, dword [esi + 0x64]
cmp eax, 0x100
jge 0x10049834
mov byte [esp + 0x1a], al
push dword [esp + 0x18]
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 [0x10179900]
jmp 0x10049874
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 + 0x8c]
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x10049503
mov edi, dword [esp + 0x54]
push str.Tab_UpdateState
push dword [edi + 0x28]
call dword [esp + 0x44]
mov ecx, dword [edi + 0x28]
test eax, eax
je 0x100498a7
push 1
push str.Tab_NeedUpdate
push ecx
call dword [esp + 0x7c]
jmp 0x10049929
push str.Tab_RefreshCallBack
push ecx
call dword [esp + 0x44]
test eax, eax
jne 0x10049929
push eax
mov eax, dword [esp + 0x14]
push dword [eax + 0x20]
call dword [esp + 0x34]
mov eax, dword [esp + 0x20]
cmp eax, 0xff
jle 0x100498e3
mov eax, dword [edi + 0x28]
push 0x83
push dword [0x10178548]
push 0
push eax
call dword [esp + 0x74]
jmp 0x10049929
mov byte [esp + 0x1a], al
mov eax, dword [edi + 0x50]
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0x54]
push 2
mov dword [esp + 0x88], eax
lea eax, [esp + 0x1c]
push eax
push 0
lea eax, [esp + 0x94]
push eax
mov eax, dword [esp + 0x20]
push dword [eax + 0x20]
lea eax, [esp + 0x94]
push eax
push 0
push 0
push dword [edi + 0x28]
call dword [esp + 0x9c]
push 0
test esi, esi
je 0x10049949
push 0
push 0
push 0
push dword [0x10178548]
call dword [esp + 0x20]
mov byte [esp + 0xa], 0
jmp 0x100488dd
push 0x10178488
call dword [esp + 0x84]
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.1012e953
mov esp, ebp
pop ebp
ret