Function at 0x10050050
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 [0x1018a5c0], 0
mov eax, ecx
push esi
push edi
mov dword [esp + 0x74], eax
je 0x10051247
cmp dword [0x1018a5b4], 0
je 0x10051247
test eax, eax
jne 0x1005009c
cmp dword [0x1018a5d8], ecx
jne 0x10051247
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x1018a5d8
mov dword [esp + 0x84], esi
call esi
push 0
push 0x1018a5b4
call esi
mov eax, dword [sym.imp.GDI32.dll_SetRectRgn]
xorps xmm0, xmm0
mov esi, dword [0x1018a5c0]
push 0
push 0
push 0
push 0
push dword [0x1018a698]
mov dword [esp + 0x2c], 0
mov byte [esp + 0x2f], 1
movlpd qword [esp + 0x9c], xmm0
movlpd qword [esp + 0x94], xmm0
mov byte [esp + 0x22], 0
mov byte [esp + 0x21], 0
mov dword [esp + 0x24], 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 + 0x40], 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 + 0x34], eax
mov eax, dword [sym.imp.GDI32.dll_FillRgn]
mov dword [esp + 0x3c], 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 + 0x48], ecx
mov dword [esi + 0xf0], 0
test ecx, ecx
je 0x1005019b
mov edx, dword [ecx + 0xd4]
or edx, dword [esi + 0xd0]
jmp 0x100501a1
mov edx, dword [esi + 0xd0]
mov dword [esi + 0xd4], edx
mov ah, byte [esi + 0xe8]
mov byte [esp + 0xf], ah
mov al, ah
test dl, 8
je 0x1005024a
mov dh, byte [esi + 0x3c]
test dh, dh
je 0x100501ed
test ecx, ecx
je 0x100501e9
cmp byte [ecx + 0xe8], 0
je 0x100501df
mov eax, dword [esi + 0x30]
cmp eax, dword [ecx + 0x34]
jne 0x100501df
mov eax, 1
jmp 0x100501e1
xor eax, eax
test eax, eax
mov ah, byte [esp + 0xf]
je 0x100501ed
mov dl, 1
jmp 0x100501ef
xor dl, dl
cmp byte [0x1018a574], 0
mov al, dl
mov byte [esi + 0xe8], dl
je 0x1005021a
test ecx, ecx
je 0x1005021a
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x1005021a
cmp dword [ecx + 0x1c], 0
je 0x1005021a
mov byte [esi + 0xe8], 0
xor al, al
cmp al, ah
je 0x10050245
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 + 0xf]
mov byte [esp + 0xe], 1
mov ecx, dword [esi + 0xd4]
test cl, 6
je 0x10050870
test ah, ah
je 0x100502a9
cmp dword [esi + 0x9c], 0
je 0x100502a9
cmp dword [esi + 0xa0], 0
je 0x100502a9
push dword [esi + 0x98]
mov byte [esp + 0x11], 1
push dword [esi + 0x94]
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [0x1018a5cc]
call dword [esp + 0x24]
mov eax, dword [0x1018a698]
push 2
push dword [0x1018a5cc]
push eax
push eax
call dword [esp + 0x2c]
mov edx, dword [esp + 0x48]
test edx, edx
je 0x1005043a
mov eax, dword [esi + 0x48]
add eax, dword [edx + 0x84]
mov dword [esp + 0x38], 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 + 0x20], eax
cmp ecx, edi
jge 0x10050303
mov dword [esi + 0x8c], edi
mov eax, dword [edx + 0xac]
sub eax, ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
jmp 0x10050317
mov dword [esi + 0x8c], ecx
mov edi, ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xa4], ecx
mov ecx, dword [edx + 0xb0]
mov dword [esp + 0x44], ecx
cmp eax, ecx
jge 0x1005034f
mov dword [esi + 0x90], ecx
mov ecx, dword [edx + 0xb0]
sub ecx, eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x14]
jmp 0x1005035f
mov dword [esi + 0x90], eax
xor ecx, ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], eax
mov dword [esi + 0xa8], ecx
mov eax, dword [esi + 0x50]
mov ecx, dword [edx + 0xb4]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x14]
cmp eax, ecx
jg 0x1005038e
mov ecx, dword [esp + 0x38]
sub ecx, edi
add ecx, dword [esp + 0x14]
jmp 0x10050390
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 + 0x20]
mov dword [esp + 0x48], eax
lea eax, [edx + edi]
cmp eax, ecx
jg 0x100503c1
mov ecx, edx
sub ecx, dword [esp + 0x44]
add ecx, edi
jmp 0x100503c5
sub ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x14]
mov dword [esi + 0xa0], ecx
add ecx, dword [esp + 0x50]
mov eax, dword [esi + 0x74]
add eax, dword [esp + 0x38]
cmp dword [esp + 0x28], eax
mov dword [esi + 0x98], ecx
cmovge eax, dword [esp + 0x28]
mov dword [esi + 0xac], eax
mov eax, dword [esi + 0x78]
add eax, edx
cmp dword [esp + 0x50], eax
cmovge eax, dword [esp + 0x50]
sub edi, dword [esi + 0x7c]
mov dword [esi + 0xb0], eax
mov eax, dword [esp + 0x38]
add eax, edi
mov edi, dword [esp + 0x48]
cmp edi, eax
cmovg edi, eax
sub edx, dword [esi + 0x80]
mov eax, dword [esi + 0x54]
add eax, edx
mov dword [esi + 0xb4], edi
mov edi, dword [esp + 0x54]
cmp ecx, eax
cmovg ecx, eax
mov dword [esi + 0xb8], ecx
jmp 0x100504d7
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 + 0x48]
movd xmm2, dword [esi + 0x54]
mov ecx, eax
movd xmm1, dword [esi + 0x50]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.1002aec0
test byte [esi + 0xd0], 4
je 0x10050527
movd xmm2, dword [esi + 0x54]
movd xmm1, dword [esi + 0x50]
mov ecx, dword [esi + 0xec]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.1002aec0
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 + 0x24]
cmp dword [esi + 0x9c], 0
jle 0x10050599
cmp dword [esi + 0xa0], 0
jle 0x10050599
cmp byte [esi + 0xe8], 0
je 0x10050599
mov eax, dword [esi + 0xd4]
test al, 0x10
jne 0x10050599
push dword [esi + 0x98]
or eax, 0x10
mov byte [esp + 0x11], 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 [0x1018a5cc]
call dword [esp + 0x24]
mov eax, dword [0x1018a698]
push 2
push dword [0x1018a5cc]
push eax
push eax
call dword [esp + 0x2c]
test byte [esi + 0xd0], 2
je 0x10050701
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10173b08]
mov ecx, dword [esi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x100505c8
cvtdq2pd xmm0, xmm0
jmp 0x100505f2
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101427a0
fstp qword [esp + 0x98]
movsd xmm0, qword [esp + 0x98]
add esp, 8
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10173b08]
mov ecx, dword [esi + 0x50]
movsd qword [esp + 0x90], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x1005061d
cvtdq2pd xmm0, xmm0
jmp 0x10050641
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101427a0
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
add esp, 8
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10173b08]
mov ecx, dword [esi + 0x4c]
movsd qword [esp + 0x28], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10050669
cvtdq2pd xmm0, xmm0
jmp 0x1005068d
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101427a0
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
add esp, 8
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10173b08]
mov ecx, dword [esi + 0x48]
movsd qword [esp + 0x20], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x100506b5
cvtdq2pd xmm0, xmm0
jmp 0x100506d9
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101427a0
fstp qword [esp + 0x50]
movsd xmm0, qword [esp + 0x50]
add esp, 8
cvttsd2si eax, qword [esp + 0x90]
push eax
cvttsd2si eax, qword [esp + 0x2c]
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 + 0xd0], 4
je 0x10050869
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10173b08]
mov ecx, dword [esi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10050730
cvtdq2pd xmm0, xmm0
jmp 0x1005075a
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101427a0
fstp qword [esp + 0x98]
movsd xmm0, qword [esp + 0x98]
add esp, 8
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10173b08]
mov ecx, dword [esi + 0x50]
movsd qword [esp + 0x90], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x10050785
cvtdq2pd xmm0, xmm0
jmp 0x100507a9
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101427a0
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
add esp, 8
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10173b08]
mov ecx, dword [esi + 0x4c]
movsd qword [esp + 0x28], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x100507d1
cvtdq2pd xmm0, xmm0
jmp 0x100507f5
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101427a0
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
add esp, 8
movss xmm1, dword [edi + 0x120]
ucomiss xmm1, dword [0x10173b08]
mov ecx, dword [esi + 0x48]
movsd qword [esp + 0x20], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x1005081d
cvtdq2pd xmm0, xmm0
jmp 0x10050841
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101427a0
fstp qword [esp + 0x50]
movsd xmm0, qword [esp + 0x50]
add esp, 8
cvttsd2si eax, qword [esp + 0x90]
push eax
cvttsd2si eax, qword [esp + 0x2c]
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
mov byte [esp + 0xe], 1
jmp 0x100508d2
cmp al, ah
je 0x100508d2
cmp dword [esi + 0x9c], 0
je 0x100508d2
cmp dword [esi + 0xa0], 0
je 0x100508d2
push dword [esi + 0x98]
movzx eax, al
or ecx, 0x10
push dword [esi + 0x94]
mov byte [esp + 0x15], 1
push dword [esi + 0x90]
mov dword [esi + 0xf0], eax
push dword [esi + 0x8c]
mov dword [esi + 0xd4], ecx
push dword [0x1018a5cc]
call dword [esp + 0x24]
mov eax, dword [0x1018a698]
push 2
push dword [0x1018a5cc]
push eax
push eax
call dword [esp + 0x2c]
mov ecx, dword [esi + 0xd4]
and ecx, 0x10
je 0x100508ea
movzx eax, byte [esi + 0xe8]
mov dword [esi + 0xf0], eax
cmp byte [esi + 0xe8], 0
je 0x100509b5
cmp dword [esi + 0x64], 0
je 0x100509b5
cmp dword [esi + 0x24], 0x44c
jne 0x100509b5
cmp dword [esi + 0x9c], 0
jle 0x100509b5
cmp dword [esi + 0xa0], 0
jle 0x100509b5
test ecx, ecx
jne 0x100509b5
lea eax, [esi + 0x8c]
push eax
push dword [0x1018a698]
call dword [esp + 0x64]
test eax, eax
je 0x100509b5
push dword [esi + 0x54]
or dword [esi + 0xd0], 1
push dword [esi + 0x50]
mov byte [esp + 0x15], 1
push 0
push 0
push dword [esi + 0xc8]
mov dword [esi + 0xf0], 1
mov dword [esi + 0xdc], 0xa
call dword [esp + 0x24]
push dword [esi + 0x98]
push dword [esi + 0x94]
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [esi + 0xc4]
call dword [esp + 0x24]
mov eax, dword [0x1018a698]
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 0x10050a21
cmp dword [esi + 0x9c], 0
mov dword [esi + 0xd8], 1
jle 0x10050a21
cmp dword [esi + 0xa0], 0
jle 0x10050a21
cmp byte [esi + 0xe8], 0
je 0x10050a21
mov eax, dword [esi + 0xd4]
test al, 0x10
jne 0x10050a21
mov dword [esi + 0xf0], 1
cmp dword [edi + 0xdc], 9
mov byte [esp + 0xd], 1
jle 0x10050a0e
or eax, 0x10
mov dword [esi + 0xd4], eax
mov eax, dword [0x1018a698]
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 0x10050a3c
cmp dword [esi + 0x2c], 1
jg 0x10050178
cmp byte [esp + 0xd], 0
je 0x10051216
push str.Tab_CanvasEx
push dword [edi + 0x28]
call dword [esp + 0x48]
push str.Layered
push dword [edi + 0x28]
mov esi, eax
mov dword [esp + 0x1c], esi
call dword [esp + 0x48]
push dword [0x1018a698]
mov dword [esp + 0x2c], eax
push dword [esi + 0x20]
call dword [esp + 0x3c]
push dword [0x1018a688]
push dword [0x1018a698]
push dword [esi + 0x20]
call dword [esp + 0x48]
cmp dword [edi + 0x24], 0
jle 0x10050d82
cmp byte [edi + 0xe8], 0
je 0x10050d82
cmp dword [edi + 0x9c], 0
jle 0x10050d82
cmp dword [edi + 0xa0], 0
jle 0x10050d82
mov eax, dword [edi + 0xec]
cmp dword [eax + 0x14], 0
je 0x10050d82
cmp dword [edi + 0xd8], 0
je 0x10050cf1
cmp byte [edi + 0xf5], 0
jne 0x10050cf1
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 + 0x24]
push 0
push 0
push 0
push 0
push dword [edi + 0xc4]
call dword [esp + 0x24]
cmp dword [0x1018a6e8], 0
mov eax, dword [edi + 0xcc]
mov byte [edi + 0xf5], 1
je 0x10050c2c
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 [0x1018a5cc]
call dword [esp + 0x24]
mov eax, dword [edi + 0xec]
push dword [0x1018a5cc]
push dword [eax + 0x20]
call dword [esp + 0x3c]
mov eax, dword [edi + 0xec]
push 0
push dword [0x1018a5cc]
push dword [eax + 0x24]
call dword [0x1018ba90]
push dword [0x1018a688]
mov eax, dword [edi + 0xec]
push dword [0x1018a5cc]
push dword [eax + 0x20]
call dword [esp + 0x48]
mov ecx, dword [edi + 0xec]
test ecx, ecx
je 0x10050bf2
cmp dword [0x1018a6e8], 0
je 0x10050bf2
mov eax, dword [ecx + 0x2c]
test eax, eax
jg 0x10050bf2
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.1002be50
jmp 0x10050c6a
push eax
mov eax, dword [edi + 0xec]
push dword [eax + 0x20]
call dword [esp + 0x3c]
mov eax, dword [edi + 0xec]
push 0
push dword [edi + 0xcc]
push dword [eax + 0x24]
call dword [0x1018ba90]
push dword [0x1018a688]
mov eax, dword [edi + 0xec]
push dword [edi + 0xcc]
push dword [eax + 0x20]
call dword [esp + 0x48]
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 [0x1018a6e8], 0
je 0x10050ce0
mov ecx, dword [edi + 0xec]
call fcn.1002b6c0
mov ecx, dword [edi + 0xec]
mov dword [esp + 0x90], ecx
test ecx, ecx
je 0x10050ce0
cmp dword [0x1018a6e8], 0
je 0x10050ce0
mov eax, dword [ecx + 0x2c]
cmp eax, 1
jl 0x10050ce0
dec eax
mov dword [ecx + 0x2c], eax
call fcn.1002b6c0
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 [0x1018a6ec], eax
mov dword [edi + 0xd8], 0
mov byte [edi + 0xf5], 0
cmp dword [edi + 0x64], 0
je 0x10050d82
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 0x10050d82
mov eax, dword [edi + 0x64]
cmp eax, 0x100
jge 0x10050d5c
cmp dword [esp + 0x28], 0x100
jge 0x10050d5c
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 [0x1018ba44]
jmp 0x10050d82
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]
mov dword [esp + 0x20], esi
test esi, esi
je 0x10051119
mov edi, dword [esp + 0x14]
cmp dword [esi + 0x2c], 1
jle 0x10051111
cmp byte [esi + 0xe8], 0
je 0x10051106
cmp dword [esi + 0x9c], 0
jle 0x10051106
cmp dword [esi + 0xa0], 0
jle 0x10051106
mov eax, dword [esi + 0xec]
cmp dword [eax + 0x14], 0
je 0x10051106
cmp dword [esi + 0xd8], 0
je 0x1005100a
cmp byte [esi + 0xf5], 0
jne 0x1005100a
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 + 0x24]
push 0
push 0
push 0
push 0
push dword [esi + 0xc4]
call dword [esp + 0x24]
cmp dword [esi + 0xf8], 0
mov byte [esi + 0xf5], 1
jne 0x10050f83
cmp dword [0x1018a6e8], 0
mov eax, dword [esi + 0xcc]
je 0x10050f45
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 [0x1018a5cc]
call dword [esp + 0x24]
mov eax, dword [esi + 0xec]
push dword [0x1018a5cc]
push dword [eax + 0x20]
call dword [esp + 0x3c]
mov eax, dword [esi + 0xec]
push 0
push dword [0x1018a5cc]
push dword [eax + 0x24]
call dword [0x1018ba90]
push dword [0x1018a688]
mov eax, dword [esi + 0xec]
push dword [0x1018a5cc]
push dword [eax + 0x20]
call dword [esp + 0x48]
mov ecx, dword [esi + 0xec]
test ecx, ecx
je 0x10050f0b
cmp dword [0x1018a6e8], 0
je 0x10050f0b
mov eax, dword [ecx + 0x2c]
test eax, eax
jg 0x10050f0b
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.1002be50
jmp 0x10050f83
push eax
mov eax, dword [esi + 0xec]
push dword [eax + 0x20]
call dword [esp + 0x3c]
mov eax, dword [esi + 0xec]
push 0
push dword [esi + 0xcc]
push dword [eax + 0x24]
call dword [0x1018ba90]
push dword [0x1018a688]
mov eax, dword [esi + 0xec]
push dword [esi + 0xcc]
push dword [eax + 0x20]
call dword [esp + 0x48]
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 [0x1018a6e8], 0
je 0x10050ff9
mov ecx, dword [esi + 0xec]
call fcn.1002b6c0
mov ecx, dword [esi + 0xec]
mov dword [esp + 0x90], ecx
test ecx, ecx
je 0x10050ff9
cmp dword [0x1018a6e8], 0
je 0x10050ff9
mov eax, dword [ecx + 0x2c]
cmp eax, 1
jl 0x10050ff9
dec eax
mov dword [ecx + 0x2c], eax
call fcn.1002b6c0
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 [0x1018a6ec], eax
mov dword [esi + 0xd8], 0
mov byte [esi + 0xf5], 0
cmp byte [0x1018a575], 0
lea eax, [esi + 0x8c]
je 0x1005102d
push dword [0x1018a590]
push eax
push dword [edi + 0x20]
call dword [esp + 0x78]
lea eax, [esi + 0x8c]
cmp dword [esi + 0x64], 0
je 0x10051106
cmp dword [esi + 0xf0], 0
je 0x10051065
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 0x10051106
jmp 0x10051078
push eax
push dword [0x1018a698]
call dword [esp + 0x64]
test eax, eax
je 0x10051106
mov eax, dword [esi + 0x64]
cmp eax, 0x100
jge 0x100510c6
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 [0x1018ba44]
jmp 0x10051106
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 0x10050d95
mov edi, dword [esp + 0x54]
mov dword [esp + 0x20], esi
push str.Tab_UpdateState
push dword [edi + 0x28]
call dword [esp + 0x48]
mov ecx, dword [edi + 0x28]
test eax, eax
je 0x1005113d
push 1
push str.Tab_NeedUpdate
push ecx
call dword [esp + 0x7c]
jmp 0x10051216
push str.Tab_RefreshCallBack
push ecx
call dword [esp + 0x48]
test eax, eax
jne 0x10051216
push eax
mov eax, dword [esp + 0x18]
push dword [eax + 0x20]
call dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
cmp eax, 0xff
jle 0x1005117d
mov eax, dword [edi + 0x28]
push 0x83
push dword [0x1018a698]
push 0
push eax
call dword [esp + 0x74]
jmp 0x100511c3
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 + 0x24]
push dword [eax + 0x20]
lea eax, [esp + 0x94]
push eax
push 0
push 0
push dword [edi + 0x28]
call dword [esp + 0x9c]
cmp byte [esp + 0xe], 0
je 0x10051216
mov eax, dword [edi + 0x28]
xor edi, edi
mov edx, dword [0x1018a860]
mov dword [esp + 0x90], eax
test edx, edx
jle 0x10051216
mov esi, eax
mov eax, dword [0x1018a85c]
mov eax, dword [eax + edi*4]
mov ecx, dword [eax + 0x240]
test ecx, ecx
je 0x1005120d
cmp dword [ecx + 0x28], esi
jne 0x1005120d
test byte [eax + 0x260], 2
je 0x1005120d
call fcn.100a5dd0
mov edx, dword [0x1018a860]
inc edi
cmp edi, edx
jl 0x100511e2
mov esi, dword [esp + 0x20]
push 0
test esi, esi
je 0x1005123b
push 0
push 0
push 0
push dword [0x1018a698]
call dword [esp + 0x24]
mov byte [esp + 0xd], 0
mov byte [esp + 0xe], 0
jmp 0x10050172
push 0x1018a5d8
call dword [esp + 0x84]
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.1013eec4
mov esp, ebp
pop ebp
ret