Function at 0x10045160
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
push esi
mov esi, dword [0x1016b3d4]
mov eax, ecx
mov dword [esp + 0x58], eax
push edi
test esi, esi
je 0x10046329
cmp byte [0x1016b3a5], 0
je 0x10046329
test eax, eax
jne 0x100451ad
cmp byte [0x1016b3a6], cl
jne 0x10046329
mov eax, dword [sym.imp.GDI32.dll_SetRectRgn]
xorps xmm0, xmm0
push 0
push 0
push 0
push 0
push dword [0x1016b4ac]
mov dword [esp + 0x30], 0
mov byte [0x1016b3a5], 0
mov byte [0x1016b3a6], 1
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 0x1004529b
mov ecx, dword [eax]
or ecx, dword [esi + 0xbc]
jmp 0x100452a5
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 0x10045352
mov ch, byte [esi + 0x3c]
test ch, ch
je 0x100452f1
test edx, edx
je 0x100452ed
cmp byte [edx + 0xd4], 0
je 0x100452e3
mov eax, dword [esi + 0x30]
cmp eax, dword [edx + 0x34]
jne 0x100452e3
mov eax, 1
jmp 0x100452e5
xor eax, eax
test eax, eax
mov ah, byte [esp + 0x13]
je 0x100452f1
mov cl, 1
jmp 0x100452f3
xor cl, cl
cmp byte [0x1016b3a4], 0
mov al, cl
mov byte [esi + 0xd4], cl
je 0x10045323
test edx, edx
je 0x10045323
cmp dword [esi + 0x38], 0
je 0x10045323
mov ecx, dword [esi + 0x38]
cmp dword [ecx + 0x1c], 0
mov ch, byte [esi + 0x3c]
je 0x10045323
mov byte [esi + 0xd4], 0
xor al, al
cmp al, ah
je 0x10045352
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 0x1004536d
test byte [edx + 0xc0], 0x10
je 0x1004536d
movzx eax, al
mov dword [esi + 0xdc], eax
jmp 0x100453ed
cmp al, ah
je 0x10045389
test ah, ah
jne 0x10045396
test byte [esi + 0xbc], 6
jne 0x100453ed
movzx eax, al
mov dword [esi + 0xdc], eax
jmp 0x10045396
test ah, ah
je 0x100453ed
test byte [esi + 0xbc], 6
je 0x100453ed
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 [0x1016b3e0]
call dword [esp + 0x20]
mov eax, dword [0x1016b4ac]
push 2
push dword [0x1016b3e0]
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 0x100459e5
cmp dword [esi + 0x2c], 1
jne 0x10045492
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 xmm0, dword [esi + 0x54]
sub esp, 8
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, dword [esi + 0x50]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
call sym.ExuiKrnln_X32.dll_SetSize_CanvasEx
jmp 0x1004561f
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 0x100454df
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x84], eax
mov eax, dword [ecx + 0x9c]
sub eax, edi
add eax, dword [ecx + 0x84]
mov dword [esi + 0x7c], eax
mov eax, dword [esp + 0x20]
jmp 0x10045502
mov dword [esi + 0x7c], 0
jle 0x100454f8
mov dword [esi + 0x84], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x20], edi
jmp 0x10045506
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 0x1004553e
mov dword [esi + 0x88], eax
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 0xa0]
sub eax, edx
add eax, dword [ecx + 0x88]
jmp 0x10045560
jle 0x10045550
mov dword [esi + 0x88], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], edx
jmp 0x1004555e
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 0x10045590
sub edi, dword [esp + 0x3c]
add edi, dword [esi + 0x50]
jmp 0x1004559b
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 0x100455c6
sub edx, dword [esp + 0x40]
add edx, ecx
jmp 0x100455cc
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 0x10045601
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 0x1004569f
movd xmm0, dword [esi + 0x54]
sub esp, 8
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, dword [esi + 0x50]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push dword [esi + 0xd8]
call sym.ExuiKrnln_X32.dll_SetSize_CanvasEx
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 0x10045715
cmp dword [esp + 0x14], 0
je 0x100456b9
mov ecx, dword [esp + 0x28]
test byte [ecx], 0x10
jne 0x10045715
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 [0x1016b3e0]
call dword [esp + 0x20]
mov eax, dword [0x1016b4ac]
push 2
push dword [0x1016b3e0]
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 0x1004587d
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10154570]
mov ecx, dword [esi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10045744
cvtdq2pd xmm0, xmm0
jmp 0x10045768
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10154570]
mov ecx, dword [esi + 0x50]
movsd qword [esp + 0x28], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10045790
cvtdq2pd xmm0, xmm0
jmp 0x100457ba
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
fstp qword [esp + 0x98]
movsd xmm0, qword [esp + 0x98]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10154570]
mov ecx, dword [esi + 0x4c]
movsd qword [esp + 0x90], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x100457e5
cvtdq2pd xmm0, xmm0
jmp 0x10045809
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10154570]
mov ecx, dword [esi + 0x48]
movsd qword [esp + 0x20], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10045831
cvtdq2pd xmm0, xmm0
jmp 0x10045855
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
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 0x100459e5
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10154570]
mov ecx, dword [esi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x100458ac
cvtdq2pd xmm0, xmm0
jmp 0x100458d0
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10154570]
mov ecx, dword [esi + 0x50]
movsd qword [esp + 0x28], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x100458f8
cvtdq2pd xmm0, xmm0
jmp 0x10045922
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
fstp qword [esp + 0x98]
movsd xmm0, qword [esp + 0x98]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10154570]
mov ecx, dword [esi + 0x4c]
movsd qword [esp + 0x90], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x1004594d
cvtdq2pd xmm0, xmm0
jmp 0x10045971
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10154570]
mov ecx, dword [esi + 0x48]
movsd qword [esp + 0x20], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10045999
cvtdq2pd xmm0, xmm0
jmp 0x100459bd
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101241d0
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 0x10045a9d
cmp dword [esi + 0x24], 0x44c
jne 0x10045a9d
lea eax, [esi + 0x84]
push eax
push dword [0x1016b4ac]
call dword [esp + 0x6c]
test eax, eax
je 0x10045a9d
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 [0x1016b4ac]
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 0x10045af7
mov cl, byte [esi + 0xd4]
mov dword [esi + 0xc4], 1
test cl, cl
je 0x10045af7
mov eax, dword [esi + 0xc0]
test al, 0x10
jne 0x10045af7
cmp dword [edi + 0xc8], 9
jle 0x10045ad6
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 [0x1016b4ac]
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 0x10045b1c
cmp dword [esi + 0x2c], 1
jg 0x10045270
cmp byte [esp + 0xb], 0
je 0x100462fa
test edi, edi
je 0x100462fa
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 [0x1016b4ac]
mov dword [esp + 0x2c], eax
push dword [esi + 0x1c]
call dword [esp + 0x40]
push dword [0x1016b49c]
push dword [0x1016b4ac]
push dword [esi + 0x1c]
call dword [esp + 0x50]
cmp dword [edi + 0x24], 0
jle 0x10045e41
cmp byte [edi + 0xd4], 0
je 0x10045e41
cmp dword [edi + 0x94], 0
jle 0x10045e41
cmp dword [edi + 0x98], 0
jle 0x10045e41
mov eax, dword [edi + 0xd8]
cmp dword [eax + 0x14], 0
je 0x10045e41
cmp dword [edi + 0xc4], 0
je 0x10045db0
cmp byte [edi + 0xe1], 0
jne 0x10045db0
cmp dword [0x1016b504], 0
mov ecx, dword [edi + 0xb8]
mov byte [edi + 0xe1], 1
je 0x10045ccc
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 [0x1016b3e0]
call dword [esp + 0x20]
mov eax, dword [edi + 0xd8]
push dword [0x1016b3e0]
push dword [eax + 0x1c]
call dword [esp + 0x40]
mov eax, dword [edi + 0xd8]
push 0
push dword [0x1016b3e0]
push dword [eax + 0x20]
call dword [0x1016c210]
push dword [0x1016b49c]
mov eax, dword [edi + 0xd8]
push dword [0x1016b3e0]
push dword [eax + 0x1c]
call dword [esp + 0x50]
mov ecx, dword [edi + 0xd8]
test ecx, ecx
je 0x10045c91
cmp dword [0x1016b504], 0
je 0x10045c91
mov eax, dword [ecx + 0x28]
test eax, eax
jg 0x10045c91
inc eax
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x94]
sub eax, edx
push ecx
mov ecx, dword [esp + 0x94]
mov dword [esp], 0x3f800000
push 0
push eax
mov eax, dword [esp + 0xa4]
sub eax, ecx
push eax
push edx
push ecx
push dword [edi + 0xd8]
call sym.ExuiKrnln_X32.dll_SetClipRect_CanvasEx
jmp 0x10045d04
push ecx
push dword [eax + 0x1c]
call dword [esp + 0x40]
mov eax, dword [edi + 0xd8]
push 0
push dword [edi + 0xb8]
push dword [eax + 0x20]
call dword [0x1016c210]
push dword [0x1016b49c]
mov eax, dword [edi + 0xd8]
push dword [edi + 0xb8]
push dword [eax + 0x1c]
call dword [esp + 0x50]
mov eax, dword [edi + 0xd8]
push eax
push dword [eax + 0x14]
push dword [eax + 0x20]
push dword [eax + 0x1c]
mov eax, dword [edi + 0x44]
push 0x3f0
push edi
call eax
cmp dword [0x1016b504], 0
je 0x10045d7b
push dword [edi + 0xd8]
call sym.ExuiKrnln_X32.dll_ResetClip_CanvasEx
mov ecx, dword [edi + 0xd8]
mov dword [esp + 0x90], ecx
test ecx, ecx
je 0x10045d7b
cmp dword [0x1016b504], 0
je 0x10045d7b
mov eax, dword [ecx + 0x28]
cmp eax, 1
jl 0x10045d7b
dec eax
push ecx
mov dword [ecx + 0x28], eax
call sym.ExuiKrnln_X32.dll_ResetClip_CanvasEx
mov ecx, dword [esp + 0x90]
push 0
push 0
mov eax, dword [ecx + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov dword [0x1016b4f8], 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 0x10045e41
mov eax, dword [edi + 0xd8]
push eax
push dword [eax + 0x14]
push dword [eax + 0x1c]
mov eax, dword [edi + 0x44]
push dword [esi + 0x1c]
push 0x3f1
push edi
call eax
test eax, eax
jne 0x10045e41
mov eax, dword [edi + 0x64]
cmp eax, 0x100
jge 0x10045e1b
cmp dword [esp + 0x28], 0x100
jge 0x10045e1b
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 + 0x1c]
push ecx
push edx
push 0
push 0
push dword [esi + 0x1c]
call dword [0x1016c1ec]
jmp 0x10045e41
mov eax, dword [edi + 0xd8]
push 0xcc0020
push 0
push 0
push dword [eax + 0x1c]
push dword [edi + 0x54]
push dword [edi + 0x50]
push 0
push 0
push dword [esi + 0x1c]
call dword [esp + 0x94]
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x10046253
mov edi, dword [esp + 0x20]
cmp dword [esi + 0x2c], 1
jle 0x1004624f
cmp byte [esi + 0xd4], 0
je 0x10046244
cmp dword [esi + 0x94], 0
jle 0x10046244
cmp dword [esi + 0x98], 0
jle 0x10046244
mov eax, dword [esi + 0xd8]
cmp dword [eax + 0x14], 0
je 0x10046244
cmp dword [esi + 0xc4], 0
je 0x1004609c
cmp byte [esi + 0xe1], 0
jne 0x1004609c
cmp dword [esi + 0xe4], 0
mov byte [esi + 0xe1], 1
jne 0x10045ff0
cmp dword [0x1016b504], 0
mov ecx, dword [esi + 0xb8]
je 0x10045fb8
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 [0x1016b3e0]
call dword [esp + 0x20]
mov eax, dword [esi + 0xd8]
push dword [0x1016b3e0]
push dword [eax + 0x1c]
call dword [esp + 0x40]
mov eax, dword [esi + 0xd8]
push 0
push dword [0x1016b3e0]
push dword [eax + 0x20]
call dword [0x1016c210]
push dword [0x1016b49c]
mov eax, dword [esi + 0xd8]
push dword [0x1016b3e0]
push dword [eax + 0x1c]
call dword [esp + 0x50]
mov ecx, dword [esi + 0xd8]
test ecx, ecx
je 0x10045f7d
cmp dword [0x1016b504], 0
je 0x10045f7d
mov eax, dword [ecx + 0x28]
test eax, eax
jg 0x10045f7d
inc eax
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x94]
sub eax, edx
push ecx
mov ecx, dword [esp + 0x94]
mov dword [esp], 0x3f800000
push 0
push eax
mov eax, dword [esp + 0xa4]
sub eax, ecx
push eax
push edx
push ecx
push dword [esi + 0xd8]
call sym.ExuiKrnln_X32.dll_SetClipRect_CanvasEx
jmp 0x10045ff0
push ecx
push dword [eax + 0x1c]
call dword [esp + 0x40]
mov eax, dword [esi + 0xd8]
push 0
push dword [esi + 0xb8]
push dword [eax + 0x20]
call dword [0x1016c210]
push dword [0x1016b49c]
mov eax, dword [esi + 0xd8]
push dword [esi + 0xb8]
push dword [eax + 0x1c]
call dword [esp + 0x50]
mov eax, dword [esi + 0xd8]
push eax
push dword [eax + 0x14]
push dword [eax + 0x20]
push dword [eax + 0x1c]
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 [0x1016b504], 0
je 0x1004608b
push dword [esi + 0xd8]
call sym.ExuiKrnln_X32.dll_ResetClip_CanvasEx
mov ecx, dword [esi + 0xd8]
mov dword [esp + 0x90], ecx
test ecx, ecx
je 0x1004608b
cmp dword [0x1016b504], 0
je 0x1004608b
mov eax, dword [ecx + 0x28]
cmp eax, 1
jl 0x1004608b
dec eax
push ecx
mov dword [ecx + 0x28], eax
call sym.ExuiKrnln_X32.dll_ResetClip_CanvasEx
mov ecx, dword [esp + 0x90]
push 0
push 0
mov eax, dword [ecx + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov dword [0x1016b4f8], eax
mov dword [esi + 0xc4], 0
mov byte [esi + 0xe1], 0
cmp byte [0x1016b3a7], 0
lea eax, [esi + 0x84]
je 0x100460c2
push dword [0x1016b3c0]
push eax
push dword [edi + 0x1c]
call dword [esp + 0x80]
lea eax, [esi + 0x84]
cmp dword [esi + 0xdc], 0
mov ecx, dword [esi + 0x64]
je 0x100461a1
test ecx, ecx
je 0x10046192
mov eax, dword [esi + 0xd8]
push eax
push dword [eax + 0x14]
push dword [eax + 0x1c]
mov eax, dword [esi + 0x44]
push dword [edi + 0x1c]
push 0x3f1
push esi
call eax
test eax, eax
jne 0x10046192
mov eax, dword [esi + 0x64]
cmp eax, 0x100
jge 0x10046155
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 + 0x1c]
push ecx
push edx
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [edi + 0x1c]
call dword [0x1016c1ec]
mov dword [esi + 0xdc], 0
jmp 0x10046244
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 + 0x1c]
push ecx
push edx
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [edi + 0x1c]
call dword [esp + 0x94]
mov dword [esi + 0xdc], 0
jmp 0x10046244
test ecx, ecx
je 0x10046244
push eax
push dword [0x1016b4ac]
call dword [esp + 0x6c]
test eax, eax
je 0x10046244
mov eax, dword [esi + 0x64]
cmp eax, 0x100
jge 0x10046207
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 + 0x1c]
push ecx
push edx
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [edi + 0x1c]
call dword [0x1016c1ec]
jmp 0x10046244
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 + 0x1c]
push ecx
push edx
push dword [esi + 0x88]
push dword [esi + 0x84]
push dword [edi + 0x1c]
call dword [esp + 0x94]
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x10045e50
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x20]
push 0
push dword [eax + 0x1c]
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 0x100462eb
push str.Tab_RefreshCallBack
push ecx
call dword [esp + 0x50]
test eax, eax
jne 0x100462fa
mov eax, dword [esp + 0x28]
cmp eax, 0xff
jle 0x100462a3
mov eax, dword [edi + 0x28]
push 0x83
push dword [0x1016b4ac]
push 0
push eax
call dword [esp + 0x7c]
jmp 0x100462fa
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 + 0x1c]
lea eax, [esp + 0x94]
push eax
push 0
push 0
push dword [edi + 0x28]
call dword [esp + 0x9c]
jmp 0x100462fa
push 1
push str.Tab_NeedUpdate
push ecx
call dword [esp + 0x88]
test esi, esi
je 0x10046322
push 0
push 0
push 0
push 0
push dword [0x1016b4ac]
call dword [esp + 0x20]
mov dword [esp + 0x5c], 0
mov byte [esp + 0xb], 0
jmp 0x10045267
mov byte [0x1016b3a6], 0
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.10120a11
mov esp, ebp
pop ebp
ret