Function at 0x10046250
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 [0x1017745c], 0
mov eax, ecx
push esi
push edi
mov dword [esp + 0x5c], eax
je 0x1004740d
cmp dword [0x10177450], 0
je 0x1004740d
test eax, eax
jne 0x1004629c
cmp dword [0x10177474], ecx
jne 0x1004740d
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x10177474
call esi
push 0
push 0x10177450
call esi
mov eax, dword [sym.imp.GDI32.dll_SetRectRgn]
xorps xmm0, xmm0
mov esi, dword [0x1017745c]
push 0
push 0
push 0
push 0
push dword [0x10177538]
mov dword [esp + 0x30], 0
mov byte [esp + 0x33], 1
movlpd qword [esp + 0x9c], xmm0
movlpd qword [esp + 0x94], xmm0
mov byte [esp + 0x1f], 0
mov dword [esp + 0x20], eax
call eax
mov eax, dword [sym.imp.GDI32.dll_CombineRgn]
mov dword [esp + 0x34], eax
mov eax, dword [sym.imp.USER32.dll_GetPropW]
mov dword [esp + 0x48], eax
mov eax, dword [sym.imp.GDI32.dll_RectInRegion]
mov dword [esp + 0x64], eax
mov eax, dword [sym.imp.GDI32.dll_SelectClipRgn]
mov dword [esp + 0x38], eax
mov eax, dword [sym.imp.GDI32.dll_FillRgn]
mov dword [esp + 0x44], eax
mov eax, dword [sym.imp.GDI32.dll_GetRgnBox]
mov dword [esp + 0x60], eax
mov eax, dword [sym.imp.GDI32.dll_BitBlt]
mov dword [esp + 0x70], eax
mov eax, dword [sym.imp.USER32.dll_FillRect]
mov dword [esp + 0x74], eax
mov eax, dword [sym.imp.GDI32.dll_StretchBlt]
mov dword [esp + 0x68], eax
mov eax, dword [sym.imp.USER32.dll_RedrawWindow]
mov dword [esp + 0x6c], eax
mov eax, dword [sym.imp.USER32.dll_UpdateLayeredWindow]
mov dword [esp + 0x78], eax
mov eax, dword [sym.imp.USER32.dll_SetPropW]
mov dword [esp + 0x7c], eax
mov edi, esi
mov dword [esp + 0x4c], edi
nop dword [eax]
cmp dword [esi + 0x2c], 1
mov edx, dword [esi + 0x20]
mov dword [esp + 0x14], edx
mov dword [esi + 0xdc], 0
lea eax, [edx + 0xc0]
mov dword [esp + 0x28], eax
jle 0x1004639b
mov ecx, dword [eax]
or ecx, dword [esi + 0xbc]
jmp 0x100463a5
mov ecx, dword [esi + 0xbc]
mov dword [esp + 0x28], eax
mov dword [esi + 0xc0], ecx
mov ah, byte [esi + 0xd4]
mov byte [esp + 0x13], ah
mov al, ah
test cl, 8
je 0x10046452
mov ch, byte [esi + 0x3c]
test ch, ch
je 0x100463f1
test edx, edx
je 0x100463ed
cmp byte [edx + 0xd4], 0
je 0x100463e3
mov eax, dword [esi + 0x30]
cmp eax, dword [edx + 0x34]
jne 0x100463e3
mov eax, 1
jmp 0x100463e5
xor eax, eax
test eax, eax
mov ah, byte [esp + 0x13]
je 0x100463f1
mov cl, 1
jmp 0x100463f3
xor cl, cl
cmp byte [0x10177410], 0
mov al, cl
mov byte [esi + 0xd4], cl
je 0x10046423
test edx, edx
je 0x10046423
cmp dword [esi + 0x38], 0
je 0x10046423
mov ecx, dword [esi + 0x38]
cmp dword [ecx + 0x1c], 0
mov ch, byte [esi + 0x3c]
je 0x10046423
mov byte [esi + 0xd4], 0
xor al, al
cmp al, ah
je 0x10046452
push 0
xor eax, eax
test ch, ch
push 0
push dword [esi + 0xbc]
setne al
push eax
mov eax, dword [esi + 0x44]
push 0x3f3
push esi
call eax
mov al, byte [esi + 0xd4]
mov edx, dword [esp + 0x14]
mov ah, byte [esp + 0x13]
test edx, edx
je 0x1004646d
test byte [edx + 0xc0], 0x10
je 0x1004646d
movzx eax, al
mov dword [esi + 0xdc], eax
jmp 0x100464ed
cmp al, ah
je 0x10046489
test ah, ah
jne 0x10046496
test byte [esi + 0xbc], 6
jne 0x100464ed
movzx eax, al
mov dword [esi + 0xdc], eax
jmp 0x10046496
test ah, ah
je 0x100464ed
test byte [esi + 0xbc], 6
je 0x100464ed
push dword [esi + 0x90]
or dword [esi + 0xc0], 0x10
push dword [esi + 0x8c]
mov byte [esp + 0x13], 1
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [0x10177468]
call dword [esp + 0x20]
mov eax, dword [0x10177538]
push 2
push dword [0x10177468]
push eax
push eax
call dword [esp + 0x44]
push 0
push 0
push 0
push 0
push dword [esi + 0xb4]
call dword [esp + 0x20]
mov edx, dword [esp + 0x14]
test byte [esi + 0xc0], 6
je 0x10046aca
cmp dword [esi + 0x2c], 1
jne 0x10046585
mov eax, dword [esi + 0x50]
mov dword [esi + 0x94], eax
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 0x54]
push str.Tab_CanvasEx
mov dword [esi + 0x98], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x78], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x7c], 0
push dword [edi + 0x28]
mov dword [esp + 0x64], 2
call dword [esp + 0x50]
movd xmm2, dword [esi + 0x54]
mov ecx, eax
movd xmm1, dword [esi + 0x50]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.10028ca0
jmp 0x10046712
mov edi, dword [edx + 0x74]
add edi, dword [esi + 0x48]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x74], edi
mov edx, dword [edx + 0x78]
add edx, dword [esi + 0x4c]
mov dword [esi + 0x78], edx
mov ecx, dword [eax + 0x84]
mov eax, dword [eax + 0x9c]
add eax, ecx
mov dword [esp + 0x20], eax
cmp edi, eax
jge 0x100465d2
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x84], eax
mov eax, dword [ecx + 0x84]
sub eax, edi
add eax, dword [ecx + 0x9c]
mov dword [esi + 0x7c], eax
mov eax, dword [esp + 0x20]
jmp 0x100465f5
mov dword [esi + 0x7c], 0
jle 0x100465eb
mov dword [esi + 0x84], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x20], edi
jmp 0x100465f9
mov dword [esi + 0x84], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x88]
mov eax, dword [eax + 0xa0]
add eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], eax
cmp edx, eax
jge 0x10046631
mov dword [esi + 0x88], eax
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 0x88]
sub eax, edx
add eax, dword [ecx + 0xa0]
jmp 0x10046653
jle 0x10046643
mov dword [esi + 0x88], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], edx
jmp 0x10046651
mov dword [esi + 0x88], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esi + 0x80], eax
mov eax, dword [ecx + 0x8c]
sub eax, dword [ecx + 0xa4]
mov dword [esp + 0x90], eax
mov eax, dword [esi + 0x50]
add eax, edi
cmp eax, dword [esp + 0x90]
jg 0x10046683
sub edi, dword [esp + 0x3c]
add edi, dword [esi + 0x50]
jmp 0x1004668e
mov edi, dword [esp + 0x90]
sub edi, dword [esp + 0x3c]
mov dword [esp + 0x90], edi
mov dword [esi + 0x94], edi
mov edi, dword [ecx + 0x90]
sub edi, dword [ecx + 0xa8]
mov ecx, dword [esi + 0x54]
lea eax, [edx + ecx]
cmp eax, edi
jg 0x100466b9
sub edx, dword [esp + 0x40]
add edx, ecx
jmp 0x100466bf
mov edx, edi
sub edx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x14]
mov dword [esi + 0x98], edx
add ecx, dword [esi + 0x78]
mov eax, dword [eax + 0x90]
sub eax, dword [edi + 0xa8]
cmp ecx, eax
mov ecx, dword [esp + 0x50]
jne 0x100466f4
mov eax, dword [esi + 0x78]
mov edx, dword [esi + 0x54]
sub eax, ecx
add edx, eax
mov dword [esi + 0x98], edx
mov eax, dword [esp + 0x90]
add eax, dword [esp + 0x20]
mov edi, dword [esp + 0x4c]
mov dword [esi + 0x8c], eax
lea eax, [edx + ecx]
mov dword [esi + 0x90], eax
test byte [esi + 0xbc], 4
je 0x10046784
movd xmm2, dword [esi + 0x54]
movd xmm1, dword [esi + 0x50]
mov ecx, dword [esi + 0xd8]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.10028ca0
or dword [esi + 0xbc], 1
or dword [esi + 0xc0], 1
mov dword [edi + 0xc8], 0xa
push dword [esi + 0x54]
push dword [esi + 0x50]
push 0
push 0
push dword [esi + 0xb8]
call dword [esp + 0x20]
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [esi + 0xb4]
call dword [esp + 0x20]
mov al, byte [esi + 0xd4]
test al, al
je 0x100467fa
cmp dword [esp + 0x14], 0
je 0x1004679e
mov ecx, dword [esp + 0x28]
test byte [ecx], 0x10
jne 0x100467fa
push dword [esi + 0x90]
or dword [esi + 0xc0], 0x10
push dword [esi + 0x8c]
movzx eax, al
push dword [esi + 0x88]
mov dword [esi + 0xdc], eax
push dword [esi + 0x84]
mov byte [esp + 0x1b], 1
push dword [0x10177468]
call dword [esp + 0x20]
mov eax, dword [0x10177538]
push 2
push dword [0x10177468]
push eax
push eax
call dword [esp + 0x44]
push 0
push 0
push 0
push 0
push dword [esi + 0xb4]
call dword [esp + 0x20]
test byte [esi + 0xbc], 2
je 0x10046962
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10161668]
mov ecx, dword [esi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10046829
cvtdq2pd xmm0, xmm0
jmp 0x1004684d
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10161668]
mov ecx, dword [esi + 0x50]
movsd qword [esp + 0x28], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10046875
cvtdq2pd xmm0, xmm0
jmp 0x1004689f
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
fstp qword [esp + 0x98]
movsd xmm0, qword [esp + 0x98]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10161668]
mov ecx, dword [esi + 0x4c]
movsd qword [esp + 0x90], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x100468ca
cvtdq2pd xmm0, xmm0
jmp 0x100468ee
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10161668]
mov ecx, dword [esi + 0x48]
movsd qword [esp + 0x20], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10046916
cvtdq2pd xmm0, xmm0
jmp 0x1004693a
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
fstp qword [esp + 0x58]
movsd xmm0, qword [esp + 0x58]
add esp, 8
cvttsd2si eax, qword [esp + 0x28]
push eax
cvttsd2si eax, qword [esp + 0x94]
push eax
cvttsd2si eax, qword [esp + 0x28]
push eax
cvttsd2si eax, xmm0
push eax
mov eax, dword [esi + 0x44]
push 0x3ee
push esi
call eax
test byte [esi + 0xbc], 4
je 0x10046aca
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10161668]
mov ecx, dword [esi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10046991
cvtdq2pd xmm0, xmm0
jmp 0x100469b5
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10161668]
mov ecx, dword [esi + 0x50]
movsd qword [esp + 0x28], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x100469dd
cvtdq2pd xmm0, xmm0
jmp 0x10046a07
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
fstp qword [esp + 0x98]
movsd xmm0, qword [esp + 0x98]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10161668]
mov ecx, dword [esi + 0x4c]
movsd qword [esp + 0x90], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10046a32
cvtdq2pd xmm0, xmm0
jmp 0x10046a56
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10161668]
mov ecx, dword [esi + 0x48]
movsd qword [esp + 0x20], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10046a7e
cvtdq2pd xmm0, xmm0
jmp 0x10046aa2
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
fstp qword [esp + 0x58]
movsd xmm0, qword [esp + 0x58]
add esp, 8
cvttsd2si eax, qword [esp + 0x28]
push eax
cvttsd2si eax, qword [esp + 0x94]
push eax
cvttsd2si eax, qword [esp + 0x28]
push eax
cvttsd2si eax, xmm0
push eax
mov eax, dword [esi + 0x44]
push 0x3ef
push esi
call eax
cmp byte [esi + 0xd4], 0
je 0x10046b82
cmp dword [esi + 0x24], 0x44c
jne 0x10046b82
lea eax, [esi + 0x84]
push eax
push dword [0x10177538]
call dword [esp + 0x6c]
test eax, eax
je 0x10046b82
movzx eax, byte [esi + 0xd4]
or dword [esi + 0xbc], 1
or dword [esi + 0xc0], 0x11
mov dword [esi + 0xdc], eax
mov dword [edi + 0xc8], 0xa
push dword [esi + 0x54]
mov byte [esp + 0xf], 1
push dword [esi + 0x50]
push 0
push 0
push dword [esi + 0xb8]
call dword [esp + 0x20]
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [esi + 0xb4]
call dword [esp + 0x20]
mov eax, dword [0x10177538]
push 2
push dword [esi + 0xb4]
push eax
push eax
call dword [esp + 0x44]
push 0
push 0
push 0
push 0
push dword [esi + 0xb4]
call dword [esp + 0x20]
test byte [esi + 0xbc], 1
je 0x10046bdc
mov cl, byte [esi + 0xd4]
mov dword [esi + 0xc4], 1
test cl, cl
je 0x10046bdc
mov eax, dword [esi + 0xc0]
test al, 0x10
jne 0x10046bdc
cmp dword [edi + 0xc8], 9
jle 0x10046bbb
or eax, 0x10
mov dword [esi + 0xc0], eax
push 2
push dword [esi + 0xb4]
movzx eax, cl
mov dword [esi + 0xdc], eax
mov eax, dword [0x10177538]
push eax
push eax
mov byte [esp + 0x1b], 1
call dword [esp + 0x44]
mov dword [esi + 0xc8], 0
mov dword [esi + 0xbc], 0
mov esi, dword [esi + 0x1c]
test esi, esi
je 0x10046c01
cmp dword [esi + 0x2c], 1
jg 0x10046370
cmp byte [esp + 0xb], 0
je 0x100473db
test edi, edi
je 0x100473db
push str.Tab_CanvasEx
push dword [edi + 0x28]
call dword [esp + 0x50]
push str.Layered
push dword [edi + 0x28]
mov esi, eax
mov dword [esp + 0x28], esi
call dword [esp + 0x50]
push dword [0x10177538]
mov dword [esp + 0x2c], eax
push dword [esi + 0x20]
call dword [esp + 0x40]
push dword [0x10177528]
push dword [0x10177538]
push dword [esi + 0x20]
call dword [esp + 0x50]
cmp dword [edi + 0x24], 0
jle 0x10046f24
cmp byte [edi + 0xd4], 0
je 0x10046f24
cmp dword [edi + 0x94], 0
jle 0x10046f24
cmp dword [edi + 0x98], 0
jle 0x10046f24
mov eax, dword [edi + 0xd8]
cmp dword [eax + 0x14], 0
je 0x10046f24
cmp dword [edi + 0xc4], 0
je 0x10046e93
cmp byte [edi + 0xe1], 0
jne 0x10046e93
cmp dword [0x1017757c], 0
mov ecx, dword [edi + 0xb8]
mov byte [edi + 0xe1], 1
je 0x10046db0
lea eax, [esp + 0x90]
xorps xmm0, xmm0
push eax
push ecx
movaps xmmword [esp + 0x98], xmm0
call dword [esp + 0x68]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [0x10177468]
call dword [esp + 0x20]
mov eax, dword [edi + 0xd8]
push dword [0x10177468]
push dword [eax + 0x20]
call dword [esp + 0x40]
mov eax, dword [edi + 0xd8]
push 0
push dword [0x10177468]
push dword [eax + 0x24]
call dword [0x101782a4]
push dword [0x10177528]
mov eax, dword [edi + 0xd8]
push dword [0x10177468]
push dword [eax + 0x20]
call dword [esp + 0x50]
mov ecx, dword [edi + 0xd8]
test ecx, ecx
je 0x10046d76
cmp dword [0x1017757c], 0
je 0x10046d76
mov eax, dword [ecx + 0x2c]
test eax, eax
jg 0x10046d76
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 + 0xd8]
call fcn.10029b70
jmp 0x10046de8
push ecx
push dword [eax + 0x20]
call dword [esp + 0x40]
mov eax, dword [edi + 0xd8]
push 0
push dword [edi + 0xb8]
push dword [eax + 0x24]
call dword [0x101782a4]
push dword [0x10177528]
mov eax, dword [edi + 0xd8]
push dword [edi + 0xb8]
push dword [eax + 0x20]
call dword [esp + 0x50]
mov eax, dword [edi + 0xd8]
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 [0x1017757c], 0
je 0x10046e5e
mov ecx, dword [edi + 0xd8]
call fcn.100293e0
mov ecx, dword [edi + 0xd8]
mov dword [esp + 0x90], ecx
test ecx, ecx
je 0x10046e5e
cmp dword [0x1017757c], 0
je 0x10046e5e
mov eax, dword [ecx + 0x2c]
cmp eax, 1
jl 0x10046e5e
dec eax
mov dword [ecx + 0x2c], eax
call fcn.100293e0
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 [0x101776cc], eax
push 0
push 0
push 0
push 0
push dword [edi + 0xb4]
call dword [esp + 0x20]
push 0
push 0
push 0
push 0
push dword [edi + 0xb8]
call dword [esp + 0x20]
mov dword [edi + 0xc4], 0
mov byte [edi + 0xe1], 0
cmp dword [edi + 0x64], 0
je 0x10046f24
mov eax, dword [edi + 0xd8]
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 0x10046f24
mov eax, dword [edi + 0x64]
cmp eax, 0x100
jge 0x10046efe
cmp dword [esp + 0x28], 0x100
jge 0x10046efe
mov byte [esp + 0x1e], al
push dword [esp + 0x1c]
mov ecx, dword [edi + 0x54]
mov edx, dword [edi + 0x50]
mov eax, dword [edi + 0xd8]
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 [0x10178278]
jmp 0x10046f24
mov eax, dword [edi + 0xd8]
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 + 0x94]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x10047334
mov edi, dword [esp + 0x20]
cmp dword [esi + 0x2c], 1
jle 0x10047330
cmp byte [esi + 0xd4], 0
je 0x10047325
cmp dword [esi + 0x94], 0
jle 0x10047325
cmp dword [esi + 0x98], 0
jle 0x10047325
mov eax, dword [esi + 0xd8]
cmp dword [eax + 0x14], 0
je 0x10047325
cmp dword [esi + 0xc4], 0
je 0x1004717d
cmp byte [esi + 0xe1], 0
jne 0x1004717d
cmp dword [esi + 0xe4], 0
mov byte [esi + 0xe1], 1
jne 0x100470d2
cmp dword [0x1017757c], 0
mov ecx, dword [esi + 0xb8]
je 0x1004709a
lea eax, [esp + 0x90]
xorps xmm0, xmm0
push eax
push ecx
movaps xmmword [esp + 0x98], xmm0
call dword [esp + 0x68]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [0x10177468]
call dword [esp + 0x20]
mov eax, dword [esi + 0xd8]
push dword [0x10177468]
push dword [eax + 0x20]
call dword [esp + 0x40]
mov eax, dword [esi + 0xd8]
push 0
push dword [0x10177468]
push dword [eax + 0x24]
call dword [0x101782a4]
push dword [0x10177528]
mov eax, dword [esi + 0xd8]
push dword [0x10177468]
push dword [eax + 0x20]
call dword [esp + 0x50]
mov ecx, dword [esi + 0xd8]
test ecx, ecx
je 0x10047060
cmp dword [0x1017757c], 0
je 0x10047060
mov eax, dword [ecx + 0x2c]
test eax, eax
jg 0x10047060
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 + 0xd8]
call fcn.10029b70
jmp 0x100470d2
push ecx
push dword [eax + 0x20]
call dword [esp + 0x40]
mov eax, dword [esi + 0xd8]
push 0
push dword [esi + 0xb8]
push dword [eax + 0x24]
call dword [0x101782a4]
push dword [0x10177528]
mov eax, dword [esi + 0xd8]
push dword [esi + 0xb8]
push dword [eax + 0x20]
call dword [esp + 0x50]
mov eax, dword [esi + 0xd8]
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
push 0
push 0
push 0
push 0
push dword [esi + 0xb4]
call dword [esp + 0x20]
push 0
push 0
push 0
push 0
push dword [esi + 0xb8]
call dword [esp + 0x20]
cmp dword [0x1017757c], 0
je 0x1004716c
mov ecx, dword [esi + 0xd8]
call fcn.100293e0
mov ecx, dword [esi + 0xd8]
mov dword [esp + 0x90], ecx
test ecx, ecx
je 0x1004716c
cmp dword [0x1017757c], 0
je 0x1004716c
mov eax, dword [ecx + 0x2c]
cmp eax, 1
jl 0x1004716c
dec eax
mov dword [ecx + 0x2c], eax
call fcn.100293e0
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 [0x101776cc], eax
mov dword [esi + 0xc4], 0
mov byte [esi + 0xe1], 0
cmp byte [0x10177411], 0
lea eax, [esi + 0x84]
je 0x100471a3
push dword [0x1017742c]
push eax
push dword [edi + 0x20]
call dword [esp + 0x80]
lea eax, [esi + 0x84]
cmp dword [esi + 0xdc], 0
mov ecx, dword [esi + 0x64]
je 0x10047282
test ecx, ecx
je 0x10047273
mov eax, dword [esi + 0xd8]
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 0x10047273
mov eax, dword [esi + 0x64]
cmp eax, 0x100
jge 0x10047236
mov byte [esp + 0x1e], al
push dword [esp + 0x1c]
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x94]
mov eax, dword [esi + 0xd8]
push ecx
push edx
push dword [esi + 0x80]
push dword [esi + 0x7c]
push dword [eax + 0x20]
push ecx
push edx
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [edi + 0x20]
call dword [0x10178278]
mov dword [esi + 0xdc], 0
jmp 0x10047325
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x94]
mov eax, dword [esi + 0xd8]
push 0xcc0020
push ecx
push edx
push dword [esi + 0x80]
push dword [esi + 0x7c]
push dword [eax + 0x20]
push ecx
push edx
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [edi + 0x20]
call dword [esp + 0x94]
mov dword [esi + 0xdc], 0
jmp 0x10047325
test ecx, ecx
je 0x10047325
push eax
push dword [0x10177538]
call dword [esp + 0x6c]
test eax, eax
je 0x10047325
mov eax, dword [esi + 0x64]
cmp eax, 0x100
jge 0x100472e8
mov byte [esp + 0x1e], al
push dword [esp + 0x1c]
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x94]
mov eax, dword [esi + 0xd8]
push ecx
push edx
push dword [esi + 0x80]
push dword [esi + 0x7c]
push dword [eax + 0x20]
push ecx
push edx
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [edi + 0x20]
call dword [0x10178278]
jmp 0x10047325
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x94]
mov eax, dword [esi + 0xd8]
push 0xcc0020
push ecx
push edx
push dword [esi + 0x80]
push dword [esi + 0x7c]
push dword [eax + 0x20]
push ecx
push edx
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [edi + 0x20]
call dword [esp + 0x94]
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x10046f33
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x20]
push 0
push dword [eax + 0x20]
call dword [esp + 0x40]
push str.Tab_UpdateState
push dword [edi + 0x28]
call dword [esp + 0x50]
mov ecx, dword [edi + 0x28]
test eax, eax
jne 0x100473cc
push str.Tab_RefreshCallBack
push ecx
call dword [esp + 0x50]
test eax, eax
jne 0x100473db
mov eax, dword [esp + 0x28]
cmp eax, 0xff
jle 0x10047384
mov eax, dword [edi + 0x28]
push 0x83
push dword [0x10177538]
push 0
push eax
call dword [esp + 0x7c]
jmp 0x100473db
mov byte [esp + 0x1e], 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 + 0x20]
push eax
push 0
lea eax, [esp + 0x94]
push eax
mov eax, dword [esp + 0x30]
push dword [eax + 0x20]
lea eax, [esp + 0x94]
push eax
push 0
push 0
push dword [edi + 0x28]
call dword [esp + 0x9c]
jmp 0x100473db
push 1
push str.Tab_NeedUpdate
push ecx
call dword [esp + 0x88]
test esi, esi
je 0x10047403
push 0
push 0
push 0
push 0
push dword [0x10177538]
call dword [esp + 0x20]
mov dword [esp + 0x5c], 0
mov byte [esp + 0xb], 0
jmp 0x10046366
mov dword [0x10177474], 0
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.1012d671
mov esp, ebp
pop ebp
ret