Function at 0x10007990
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x10060040]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x70], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 8
ja case.0x100079c9.7
mov ecx, dword [ebp - 0x13c]
jmp dword [ecx*4 + 0x10009dac]
mov dword [ebp - 0x70], 0
jmp 0x100079e2
mov edx, dword [ebp - 0x70]
add edx, 1
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp + 8]
jge 0x100085dc
imul ecx, dword [ebp - 0x70], 0xa8
add ecx, dword [ebp + 0xc]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
movsx eax, word [edx + 0x1e]
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0
je 0x1000850e
cmp dword [ebp - 0x180], 1
je 0x10007a23
jmp 0x100085d7
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp - 0x68]
add ecx, 0x68
mov dword [ebp - 0x364], ecx
lea edx, [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x78]
movsx ecx, word [eax + 0x1e]
push ecx
mov edx, dword [ebp - 0x78]
movsx eax, word [edx + 0xa6]
push eax
mov ecx, dword [ebp - 0x78]
add ecx, 0xa4
push ecx
mov edx, dword [ebp - 0x78]
add edx, 0xa0
push edx
mov eax, dword [ebp - 0x78]
add eax, 0x20
push eax
mov ecx, dword [ebp - 0x364]
call fcn.100065e0
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
jne 0x10007a87
jmp 0x100085d7
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx]
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x88], ecx
cmp dword [ebp + 0x14], 0
jne 0x10007ac1
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 8]
push eax
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x8c]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.10007420
mov eax, dword [ebp - 0x78]
movzx ecx, byte [eax + 0x1d]
and ecx, 1
je 0x10007b5e
mov edx, dword [ebp - 0xb4]
movzx eax, word [edx + 8]
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0xb4]
movzx edx, word [ecx + 0xa]
mov dword [ebp - 0x188], edx
cmp dword [ebp - 0x184], 0
jne 0x10007b03
cmp dword [ebp - 0x188], 0
je 0x10007b29
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x184]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x88]
sub ecx, dword [ebp - 0x188]
mov dword [ebp - 0x88], ecx
jmp 0x10007b5e
mov edx, dword [ebp - 0xb4]
movzx eax, word [edx + 4]
cmp eax, 0xa0
jle 0x10007b5e
mov ecx, dword [ebp - 0x8c]
sub ecx, 0xa0
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x88]
sub edx, 0xc0
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x78]
movzx ecx, byte [eax + 0x1d]
and ecx, 2
jne 0x10007b90
mov edx, dword [ebp - 0x6c]
movzx eax, word [edx + 4]
add eax, dword [ebp - 0x8c]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x6c]
movzx edx, word [ecx + 6]
add edx, dword [ebp - 0x88]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0xb4]
add eax, 0x20
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x78]
movzx edx, byte [ecx + 0x1c]
mov dword [ebp - 0x18c], edx
cmp dword [ebp - 0x18c], 6
ja case.default.0x10007bbf
mov eax, dword [ebp - 0x18c]
jmp dword [eax*4 + 0x10009dd0]
mov ecx, 2
shl ecx, 0
mov edx, dword [ebp - 0xb4]
movzx eax, word [edx + ecx + 0x14]
cmp eax, 1
jne 0x10007d20
mov dword [ebp - 0x190], 0
mov ecx, dword [ebp - 0x68]
add ecx, 4
mov dword [ebp - 0x458], ecx
lea edx, [ebp - 0x190]
push edx
mov ecx, dword [ebp - 0x458]
call dword [sym.imp.Engine.dll_public:_void____thiscall_KCanvas::LockCanvas_int__]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
je 0x10007d1e
mov eax, dword [ebp - 0x68]
add eax, 4
mov dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x6c]
movzx edx, word [ecx + 2]
mov dword [ebp - 0x45c], edx
mov eax, dword [ebp - 0x6c]
movzx ecx, word [eax]
mov dword [ebp - 0x460], ecx
mov edx, dword [ebp - 0x6c]
add edx, 8
mov dword [ebp - 0x464], edx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x468], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x198], ecx
mov edx, dword [ebp - 0x190]
mov dword [ebp - 0x19c], edx
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_int___thiscall_KCanvas::GetHeight_void_]
mov dword [ebp - 0x1a0], eax
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_int___thiscall_KCanvas::GetWidth_void_]
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x1a8], ecx
mov edx, dword [ebp - 0x78]
mov al, byte [edx + 0x1b]
mov byte [ebp - 0xc5], al
push 0
mov ecx, dword [ebp - 0x45c]
push ecx
mov edx, dword [ebp - 0x460]
push edx
mov eax, dword [ebp - 0x464]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp - 0x468]
push edx
mov eax, dword [ebp - 0x198]
push eax
mov ecx, dword [ebp - 0x19c]
push ecx
mov edx, dword [ebp - 0x1a0]
push edx
mov eax, dword [ebp - 0x1a4]
push eax
mov ecx, dword [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x1a8]
push edx
movzx eax, byte [ebp - 0xc5]
push eax
mov ecx, dword [ebp - 0x1ac]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSpriteAlphaMMX_unsigned_char__unsigned_long_int__void___int__int__int__int__int__void___void___int__int__struct_tagRECT_const__]
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::UnlockCanvas_void_]
jmp 0x10007d74
mov ecx, dword [ebp - 0x68]
add ecx, 4
mov dword [ebp - 0x1b0], ecx
mov edx, dword [ebp - 0x78]
movzx eax, byte [edx + 0x1b]
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x6c]
movzx eax, word [edx + 2]
push eax
mov ecx, dword [ebp - 0x6c]
movzx edx, word [ecx]
push edx
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x1b0]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSpriteAlpha_int__int__int__int__void___void___int_]
jmp case.default.0x10007bbf
mov edx, 2
shl edx, 0
mov eax, dword [ebp - 0xb4]
movzx ecx, word [eax + edx + 0x14]
cmp ecx, 1
jne 0x10007ed3
mov dword [ebp - 0x118], 0
mov edx, dword [ebp - 0x68]
add edx, 4
mov dword [ebp - 0x1b4], edx
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x1b4]
call dword [sym.imp.Engine.dll_public:_void____thiscall_KCanvas::LockCanvas_int__]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x10007ed1
mov ecx, dword [ebp - 0x68]
add ecx, 4
mov dword [ebp - 0x1dc], ecx
mov edx, dword [ebp - 0x6c]
movzx eax, word [edx + 2]
mov dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x6c]
movzx edx, word [ecx]
mov dword [ebp - 0x1bc], edx
mov eax, dword [ebp - 0x6c]
add eax, 8
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x1c4], ecx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x1c8], edx
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x1cc], eax
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_int___thiscall_KCanvas::GetHeight_void_]
mov dword [ebp - 0x1d0], eax
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_int___thiscall_KCanvas::GetWidth_void_]
mov dword [ebp - 0x1d4], eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x1d8], edx
mov eax, dword [ebp - 0x78]
mov cl, byte [eax + 0x1b]
mov byte [ebp - 0xb9], cl
push 0
mov edx, dword [ebp - 0x1b8]
push edx
mov eax, dword [ebp - 0x1bc]
push eax
mov ecx, dword [ebp - 0x1c0]
push ecx
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0x1c4]
push eax
mov ecx, dword [ebp - 0x1c8]
push ecx
mov edx, dword [ebp - 0x1cc]
push edx
mov eax, dword [ebp - 0x1d0]
push eax
mov ecx, dword [ebp - 0x1d4]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [ebp - 0x1d8]
push eax
movzx ecx, byte [ebp - 0xb9]
push ecx
mov ecx, dword [ebp - 0x1dc]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSpriteAlphaMMX_unsigned_char__unsigned_long_int__void___int__int__int__int__int__void___void___int__int__struct_tagRECT_const__]
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::UnlockCanvas_void_]
jmp 0x10007f16
mov edx, dword [ebp - 0x68]
add edx, 4
mov dword [ebp - 0x1e0], edx
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x6c]
movzx eax, word [edx + 2]
push eax
mov ecx, dword [ebp - 0x6c]
movzx edx, word [ecx]
push edx
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x1e0]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSprite3LevelAlpha_int__int__int__int__void___void__]
jmp case.default.0x10007bbf
mov edx, 2
shl edx, 0
mov eax, dword [ebp - 0xb4]
movzx ecx, word [eax + edx + 0x14]
cmp ecx, 1
jne 0x10008075
mov dword [ebp - 0x120], 0
mov edx, dword [ebp - 0x68]
add edx, 4
mov dword [ebp - 0x1e4], edx
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x1e4]
call dword [sym.imp.Engine.dll_public:_void____thiscall_KCanvas::LockCanvas_int__]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x10008073
mov ecx, dword [ebp - 0x68]
add ecx, 4
mov dword [ebp - 0x20c], ecx
mov edx, dword [ebp - 0x6c]
movzx eax, word [edx + 2]
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x6c]
movzx edx, word [ecx]
mov dword [ebp - 0x1ec], edx
mov eax, dword [ebp - 0x6c]
add eax, 8
mov dword [ebp - 0x1f0], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x1f4], ecx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x1f8], edx
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_int___thiscall_KCanvas::GetHeight_void_]
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_int___thiscall_KCanvas::GetWidth_void_]
mov dword [ebp - 0x204], eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x208], edx
mov eax, dword [ebp - 0x78]
mov cl, byte [eax + 0x1b]
mov byte [ebp - 0xba], cl
push 0
mov edx, dword [ebp - 0x1e8]
push edx
mov eax, dword [ebp - 0x1ec]
push eax
mov ecx, dword [ebp - 0x1f0]
push ecx
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0x1f4]
push eax
mov ecx, dword [ebp - 0x1f8]
push ecx
mov edx, dword [ebp - 0x1fc]
push edx
mov eax, dword [ebp - 0x200]
push eax
mov ecx, dword [ebp - 0x204]
push ecx
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x208]
push eax
movzx ecx, byte [ebp - 0xba]
push ecx
mov ecx, dword [ebp - 0x20c]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSpriteAlphaMMX_unsigned_char__unsigned_long_int__void___int__int__int__int__int__void___void___int__int__struct_tagRECT_const__]
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::UnlockCanvas_void_]
jmp 0x100080b8
mov edx, dword [ebp - 0x68]
add edx, 4
mov dword [ebp - 0x210], edx
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x6c]
movzx eax, word [edx + 2]
push eax
mov ecx, dword [ebp - 0x6c]
movzx edx, word [ecx]
push edx
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x210]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSprite_int__int__int__int__void___void__]
jmp case.default.0x10007bbf
mov edx, 2
shl edx, 0
mov eax, dword [ebp - 0xb4]
movzx ecx, word [eax + edx + 0x14]
cmp ecx, 1
jne 0x10008217
mov dword [ebp - 0x128], 0
mov edx, dword [ebp - 0x68]
add edx, 4
mov dword [ebp - 0x214], edx
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x214]
call dword [sym.imp.Engine.dll_public:_void____thiscall_KCanvas::LockCanvas_int__]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je 0x10008215
mov ecx, dword [ebp - 0x68]
add ecx, 4
mov dword [ebp - 0x23c], ecx
mov edx, dword [ebp - 0x6c]
movzx eax, word [edx + 2]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x6c]
movzx edx, word [ecx]
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp - 0x6c]
add eax, 8
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x224], ecx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x228], edx
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_int___thiscall_KCanvas::GetHeight_void_]
mov dword [ebp - 0x230], eax
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_int___thiscall_KCanvas::GetWidth_void_]
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x238], edx
mov eax, dword [ebp - 0x78]
mov cl, byte [eax + 0x1b]
mov byte [ebp - 0xbb], cl
push 0
mov edx, dword [ebp - 0x218]
push edx
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0xac]
push edx
mov eax, dword [ebp - 0x224]
push eax
mov ecx, dword [ebp - 0x228]
push ecx
mov edx, dword [ebp - 0x22c]
push edx
mov eax, dword [ebp - 0x230]
push eax
mov ecx, dword [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x12c]
push edx
mov eax, dword [ebp - 0x238]
push eax
movzx ecx, byte [ebp - 0xbb]
push ecx
mov ecx, dword [ebp - 0x23c]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSpriteAlphaMMX_unsigned_char__unsigned_long_int__void___int__int__int__int__int__void___void___int__int__struct_tagRECT_const__]
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::UnlockCanvas_void_]
jmp 0x1000826b
mov edx, dword [ebp - 0x68]
add edx, 4
mov dword [ebp - 0x240], edx
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax + 0x1b]
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp - 0x6c]
add edx, 8
push edx
mov eax, dword [ebp - 0x6c]
movzx ecx, word [eax + 2]
push ecx
mov edx, dword [ebp - 0x6c]
movzx eax, word [edx]
push eax
mov ecx, dword [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
mov ecx, dword [ebp - 0x240]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSpriteAlpha_int__int__int__int__void___void___int_]
jmp case.default.0x10007bbf
mov eax, dword [ebp - 0x68]
add eax, 4
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp - 0x6c]
add ecx, 8
mov dword [ebp - 0x248], ecx
mov edx, dword [sym.imp.Engine.dll_unsigned_short_int____cdecl___int__int__int__g_RGB]
mov eax, dword [edx]
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x78]
movzx edx, byte [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x78]
movzx ecx, byte [eax + 0x19]
push ecx
mov edx, dword [ebp - 0x78]
movzx eax, byte [edx + 0x1a]
push eax
call dword [ebp - 0x244]
add esp, 0xc
movzx ecx, ax
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x6c]
movzx eax, word [edx + 2]
mov dword [ebp - 0x250], eax
mov ecx, dword [ebp - 0x6c]
movzx edx, word [ecx]
mov dword [ebp - 0x254], edx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x25c], ecx
mov edx, dword [ebp - 0x248]
push edx
mov eax, dword [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 0x250]
push ecx
mov edx, dword [ebp - 0x254]
push edx
mov eax, dword [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
mov ecx, dword [ebp - 0x260]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSpriteBorder_int__int__int__int__int__void__]
jmp case.default.0x10007bbf
mov edx, dword [ebp - 0x68]
add edx, 0x68
mov dword [ebp - 0x264], edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x78]
movsx eax, word [edx + 0xa4]
push eax
mov ecx, dword [ebp - 0x264]
call fcn.100063e0
mov dword [ebp - 0xac], eax
mov ecx, 2
shl ecx, 0
mov edx, dword [ebp - 0xb4]
movzx eax, word [edx + ecx + 0x14]
cmp eax, 1
jne 0x100084b5
mov dword [ebp - 0x130], 0
mov ecx, dword [ebp - 0x68]
add ecx, 4
mov dword [ebp - 0x268], ecx
lea edx, [ebp - 0x130]
push edx
mov ecx, dword [ebp - 0x268]
call dword [sym.imp.Engine.dll_public:_void____thiscall_KCanvas::LockCanvas_int__]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x100084b3
mov eax, dword [ebp - 0x68]
add eax, 4
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x6c]
movzx edx, word [ecx + 2]
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp - 0x6c]
movzx ecx, word [eax]
mov dword [ebp - 0x270], ecx
mov edx, dword [ebp - 0x6c]
add edx, 8
mov dword [ebp - 0x274], edx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x27c], ecx
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x280], edx
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_int___thiscall_KCanvas::GetHeight_void_]
mov dword [ebp - 0x284], eax
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_int___thiscall_KCanvas::GetWidth_void_]
mov dword [ebp - 0x288], eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x28c], ecx
mov edx, dword [ebp - 0x78]
mov al, byte [edx + 0x1b]
mov byte [ebp - 0xca], al
push 0
mov ecx, dword [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x270]
push edx
mov eax, dword [ebp - 0x274]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp - 0x278]
push edx
mov eax, dword [ebp - 0x27c]
push eax
mov ecx, dword [ebp - 0x280]
push ecx
mov edx, dword [ebp - 0x284]
push edx
mov eax, dword [ebp - 0x288]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x28c]
push edx
movzx eax, byte [ebp - 0xca]
push eax
mov ecx, dword [ebp - 0x290]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSpriteAlphaMMX_unsigned_char__unsigned_long_int__void___int__int__int__int__int__void___void___int__int__struct_tagRECT_const__]
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::UnlockCanvas_void_]
jmp case.default.0x10007bbf
mov ecx, dword [ebp - 0x68]
add ecx, 4
mov dword [ebp - 0x294], ecx
mov edx, dword [ebp - 0x78]
movzx eax, byte [edx + 0x1b]
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x6c]
movzx eax, word [edx + 2]
push eax
mov ecx, dword [ebp - 0x6c]
movzx edx, word [ecx]
push edx
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x294]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSpriteAlpha_int__int__int__int__void___void___int_]
jmp 0x100085d7
mov edx, dword [ebp - 0x68]
add edx, 0x68
mov dword [ebp - 0x298], edx
lea eax, [ebp - 0x470]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x78]
add ecx, 0xa4
push ecx
mov edx, dword [ebp - 0x78]
add edx, 0xa0
push edx
mov eax, dword [ebp - 0x78]
add eax, 0x20
push eax
mov ecx, dword [ebp - 0x298]
call fcn.100065e0
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
je 0x100085d7
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx]
mov dword [ebp - 0x168], edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x138], ecx
cmp dword [ebp + 0x14], 0
jne 0x10008594
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 8]
push eax
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0x168]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.10007420
mov eax, dword [ebp - 0x68]
add eax, 4
mov dword [ebp - 0x29c], eax
mov ecx, dword [ebp - 0xec]
add ecx, 8
push ecx
mov edx, dword [ebp - 0xec]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0xec]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x168]
push ecx
mov ecx, dword [ebp - 0x29c]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawBitmap16_int__int__int__int__void__]
jmp 0x100079d9
jmp case.0x100079c9.7
mov edx, dword [ebp - 0x68]
add edx, 4
mov dword [ebp - 0x2a0], edx
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x2a0]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::GetClipRect_struct_tagRECT__]
mov dword [ebp - 0x70], 0
jmp 0x1000860f
mov ecx, dword [ebp - 0x70]
add ecx, 1
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
cmp edx, dword [ebp + 8]
jge 0x10008cc5
imul eax, dword [ebp - 0x70], 0xd0
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x68
mov dword [ebp - 0x2a4], ecx
lea edx, [ebp - 0x80]
push edx
mov eax, dword [ebp - 0x7c]
movsx ecx, word [eax + 0x1e]
push ecx
mov edx, dword [ebp - 0x7c]
movsx eax, word [edx + 0xa6]
push eax
mov ecx, dword [ebp - 0x7c]
add ecx, 0xa4
push ecx
mov edx, dword [ebp - 0x7c]
add edx, 0xa0
push edx
mov eax, dword [ebp - 0x7c]
add eax, 0x20
push eax
mov ecx, dword [ebp - 0x2a4]
call fcn.100065e0
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0
jne 0x10008685
jmp 0x10008cc5
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xa0], ecx
cmp dword [ebp + 0x14], 0
jne 0x100086bf
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 8]
push eax
lea ecx, [ebp - 0xa0]
push ecx
lea edx, [ebp - 0x9c]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.10007420
mov eax, dword [ebp - 0x7c]
movzx ecx, byte [eax + 0x1d]
and ecx, 2
jne 0x100086f1
mov edx, dword [ebp - 0x80]
movzx eax, word [edx + 4]
add eax, dword [ebp - 0x9c]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x80]
movzx edx, word [ecx + 6]
add edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x9c]
sub eax, dword [edx + 0xa8]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0xa0]
sub edx, dword [ecx + 0xac]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x9c]
add ecx, dword [eax + 0xb0]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0xa0]
add eax, dword [edx + 0xb4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x54]
jge 0x1000875f
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x4c]
jle 0x1000876d
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x50]
jge 0x1000877b
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x48]
jle 0x10008789
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x68]
add eax, 4
mov dword [ebp - 0x2a8], eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x2a8]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::SetClipRect_struct_tagRECT__]
mov edx, dword [ebp - 0xf0]
add edx, 0x20
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0x7c]
movzx ecx, byte [eax + 0x1c]
mov dword [ebp - 0x140], ecx
cmp dword [ebp - 0x140], 6
ja case.0x100087d4.3
mov edx, dword [ebp - 0x140]
jmp dword [edx*4 + 0x10009dec]
mov eax, 2
shl eax, 0
mov ecx, dword [ebp - 0xf0]
movzx edx, word [ecx + eax + 0x14]
cmp edx, 1
jne 0x10008937
mov dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x68]
add eax, 4
mov dword [ebp - 0x2ac], eax
lea ecx, [ebp - 0x144]
push ecx
mov ecx, dword [ebp - 0x2ac]
call dword [sym.imp.Engine.dll_public:_void____thiscall_KCanvas::LockCanvas_int__]
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
je 0x10008935
mov edx, dword [ebp - 0x68]
add edx, 4
mov dword [ebp - 0x2d4], edx
mov eax, dword [ebp - 0x80]
movzx ecx, word [eax + 2]
mov dword [ebp - 0x2b0], ecx
mov edx, dword [ebp - 0x80]
movzx eax, word [edx]
mov dword [ebp - 0x2b4], eax
mov ecx, dword [ebp - 0x80]
add ecx, 8
mov dword [ebp - 0x2b8], ecx
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x2bc], edx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x2c0], eax
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x2c4], ecx
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_int___thiscall_KCanvas::GetHeight_void_]
mov dword [ebp - 0x2c8], eax
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_int___thiscall_KCanvas::GetWidth_void_]
mov dword [ebp - 0x2cc], eax
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x2d0], eax
mov ecx, dword [ebp - 0x7c]
mov dl, byte [ecx + 0x1b]
mov byte [ebp - 0xc9], dl
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x2b0]
push ecx
mov edx, dword [ebp - 0x2b4]
push edx
mov eax, dword [ebp - 0x2b8]
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0x2bc]
push edx
mov eax, dword [ebp - 0x2c0]
push eax
mov ecx, dword [ebp - 0x2c4]
push ecx
mov edx, dword [ebp - 0x2c8]
push edx
mov eax, dword [ebp - 0x2cc]
push eax
mov ecx, dword [ebp - 0x148]
push ecx
mov edx, dword [ebp - 0x2d0]
push edx
movzx eax, byte [ebp - 0xc9]
push eax
mov ecx, dword [ebp - 0x2d4]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSpriteAlphaMMX_unsigned_char__unsigned_long_int__void___int__int__int__int__int__void___void___int__int__struct_tagRECT_const__]
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::UnlockCanvas_void_]
jmp 0x1000898b
mov ecx, dword [ebp - 0x68]
add ecx, 4
mov dword [ebp - 0x2d8], ecx
mov edx, dword [ebp - 0x7c]
movzx eax, byte [edx + 0x1b]
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0x80]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x80]
movzx eax, word [edx + 2]
push eax
mov ecx, dword [ebp - 0x80]
movzx edx, word [ecx]
push edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
mov ecx, dword [ebp - 0x2d8]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSpriteAlpha_int__int__int__int__void___void___int_]
jmp case.0x100087d4.3
mov edx, dword [ebp - 0x68]
add edx, 4
mov dword [ebp - 0x2dc], edx
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0x80]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x80]
movzx eax, word [edx + 2]
push eax
mov ecx, dword [ebp - 0x80]
movzx edx, word [ecx]
push edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
mov ecx, dword [ebp - 0x2dc]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSprite3LevelAlpha_int__int__int__int__void___void__]
jmp case.0x100087d4.3
mov edx, dword [ebp - 0x68]
add edx, 4
mov dword [ebp - 0x2e0], edx
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0x80]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x80]
movzx eax, word [edx + 2]
push eax
mov ecx, dword [ebp - 0x80]
movzx edx, word [ecx]
push edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
mov ecx, dword [ebp - 0x2e0]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSprite_int__int__int__int__void___void__]
jmp case.0x100087d4.3
mov edx, dword [ebp - 0x68]
add edx, 4
mov dword [ebp - 0x300], edx
mov eax, dword [ebp - 0x80]
add eax, 8
mov dword [ebp - 0x2e8], eax
mov ecx, dword [sym.imp.Engine.dll_unsigned_short_int____cdecl___int__int__int__g_RGB]
mov edx, dword [ecx]
mov dword [ebp - 0x2e4], edx
mov eax, dword [ebp - 0x7c]
movzx ecx, byte [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x7c]
movzx eax, byte [edx + 0x19]
push eax
mov ecx, dword [ebp - 0x7c]
movzx edx, byte [ecx + 0x1a]
push edx
call dword [ebp - 0x2e4]
add esp, 0xc
movzx eax, ax
mov dword [ebp - 0x2ec], eax
mov ecx, dword [ebp - 0x80]
movzx edx, word [ecx + 2]
mov dword [ebp - 0x2f0], edx
mov eax, dword [ebp - 0x80]
movzx ecx, word [eax]
mov dword [ebp - 0x2f4], ecx
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x2f8], edx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x2fc], eax
mov ecx, dword [ebp - 0x2e8]
push ecx
mov edx, dword [ebp - 0x2ec]
push edx
mov eax, dword [ebp - 0x2f0]
push eax
mov ecx, dword [ebp - 0x2f4]
push ecx
mov edx, dword [ebp - 0x2f8]
push edx
mov eax, dword [ebp - 0x2fc]
push eax
mov ecx, dword [ebp - 0x300]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSpriteBorder_int__int__int__int__int__void__]
jmp case.0x100087d4.3
mov ecx, dword [ebp - 0x68]
add ecx, 0x68
mov dword [ebp - 0x304], ecx
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x7c]
movsx edx, word [ecx + 0xa4]
push edx
mov ecx, dword [ebp - 0x304]
call fcn.100063e0
mov dword [ebp - 0xc0], eax
mov eax, 2
shl eax, 0
mov ecx, dword [ebp - 0xf0]
movzx edx, word [ecx + eax + 0x14]
cmp edx, 1
jne 0x10008c6c
mov dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x68]
add eax, 4
mov dword [ebp - 0x308], eax
lea ecx, [ebp - 0x14c]
push ecx
mov ecx, dword [ebp - 0x308]
call dword [sym.imp.Engine.dll_public:_void____thiscall_KCanvas::LockCanvas_int__]
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0
je 0x10008c6a
mov edx, dword [ebp - 0x68]
add edx, 4
mov dword [ebp - 0x330], edx
mov eax, dword [ebp - 0x80]
movzx ecx, word [eax + 2]
mov dword [ebp - 0x30c], ecx
mov edx, dword [ebp - 0x80]
movzx eax, word [edx]
mov dword [ebp - 0x310], eax
mov ecx, dword [ebp - 0x80]
add ecx, 8
mov dword [ebp - 0x314], ecx
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x318], edx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x31c], eax
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x320], ecx
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_int___thiscall_KCanvas::GetHeight_void_]
mov dword [ebp - 0x324], eax
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_int___thiscall_KCanvas::GetWidth_void_]
mov dword [ebp - 0x328], eax
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 0x7c]
mov dl, byte [ecx + 0x1b]
mov byte [ebp - 0xc6], dl
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x30c]
push ecx
mov edx, dword [ebp - 0x310]
push edx
mov eax, dword [ebp - 0x314]
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0x318]
push edx
mov eax, dword [ebp - 0x31c]
push eax
mov ecx, dword [ebp - 0x320]
push ecx
mov edx, dword [ebp - 0x324]
push edx
mov eax, dword [ebp - 0x328]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
mov edx, dword [ebp - 0x32c]
push edx
movzx eax, byte [ebp - 0xc6]
push eax
mov ecx, dword [ebp - 0x330]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSpriteAlphaMMX_unsigned_char__unsigned_long_int__void___int__int__int__int__int__void___void___int__int__struct_tagRECT_const__]
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::UnlockCanvas_void_]
jmp case.0x100087d4.3
mov ecx, dword [ebp - 0x68]
add ecx, 4
mov dword [ebp - 0x334], ecx
mov edx, dword [ebp - 0x7c]
movzx eax, byte [edx + 0x1b]
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0x80]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x80]
movzx eax, word [edx + 2]
push eax
mov ecx, dword [ebp - 0x80]
movzx edx, word [ecx]
push edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
mov ecx, dword [ebp - 0x334]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSpriteAlpha_int__int__int__int__void___void___int_]
jmp 0x10008606
mov edx, dword [ebp - 0x68]
add edx, 4
mov dword [ebp - 0x338], edx
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x338]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::SetClipRect_struct_tagRECT__]
jmp case.0x100079c9.7
mov ecx, dword [ebp - 0x68]
add ecx, 4
mov dword [ebp - 0x33c], ecx
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x33c]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::GetClipRect_struct_tagRECT__]
mov dword [ebp - 0x70], 0
jmp 0x10008d14
mov eax, dword [ebp - 0x70]
add eax, 1
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [ebp + 8]
jge 0x1000953f
imul edx, dword [ebp - 0x70], 0xb8
add edx, dword [ebp + 0xc]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
movsx ecx, word [eax + 0x1e]
mov dword [ebp - 0x154], ecx
cmp dword [ebp - 0x154], 0
je 0x100093ab
cmp dword [ebp - 0x154], 1
je 0x10008d55
jmp 0x1000953a
mov edx, dword [ebp - 0x68]
add edx, 0x68
mov dword [ebp - 0x340], edx
lea eax, [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x74]
movsx edx, word [ecx + 0x1e]
push edx
mov eax, dword [ebp - 0x74]
movsx ecx, word [eax + 0xa6]
push ecx
mov edx, dword [ebp - 0x74]
add edx, 0xa4
push edx
mov eax, dword [ebp - 0x74]
add eax, 0xa0
push eax
mov ecx, dword [ebp - 0x74]
add ecx, 0x20
push ecx
mov ecx, dword [ebp - 0x340]
call fcn.100065e0
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
jne 0x10008db4
jmp 0x1000953a
mov edx, dword [ebp - 0x74]
mov eax, dword [edx]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x98], edx
cmp dword [ebp + 0x14], 0
jne 0x10008dee
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 8]
push ecx
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.10007420
mov ecx, dword [ebp - 0x74]
movzx edx, byte [ecx + 0x1d]
and edx, 1
je 0x10008e2a
mov eax, dword [ebp - 0xd0]
movzx ecx, word [eax + 8]
mov edx, dword [ebp - 0x94]
sub edx, ecx
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0xd0]
movzx ecx, word [eax + 0xa]
mov edx, dword [ebp - 0x98]
sub edx, ecx
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x74]
movzx ecx, byte [eax + 0x1d]
and ecx, 2
jne 0x10008e62
mov edx, dword [ebp - 0x84]
movzx eax, word [edx + 4]
add eax, dword [ebp - 0x94]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x84]
movzx edx, word [ecx + 6]
add edx, dword [ebp - 0x98]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x94]
sub eax, dword [edx + 0xa8]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x98]
sub edx, dword [ecx + 0xac]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x94]
add ecx, dword [eax + 0xb0]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x98]
add eax, dword [edx + 0xb4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x14]
jge 0x10008ed0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0xc]
jle 0x10008ede
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x10]
jge 0x10008eec
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 8]
jle 0x10008efa
mov edx, dword [ebp - 8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x68]
add eax, 4
mov dword [ebp - 0x344], eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x344]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::SetClipRect_struct_tagRECT__]
mov edx, dword [ebp - 0xd0]
add edx, 0x20
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0x74]
movzx ecx, byte [eax + 0x1c]
mov dword [ebp - 0x158], ecx
cmp dword [ebp - 0x158], 6
ja case.0x10008f45.3
mov edx, dword [ebp - 0x158]
jmp dword [edx*4 + 0x10009e08]
mov eax, 2
shl eax, 0
mov ecx, dword [ebp - 0xd0]
movzx edx, word [ecx + eax + 0x14]
cmp edx, 1
jne 0x100090b1
mov dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x68]
add eax, 4
mov dword [ebp - 0x348], eax
lea ecx, [ebp - 0x15c]
push ecx
mov ecx, dword [ebp - 0x348]
call dword [sym.imp.Engine.dll_public:_void____thiscall_KCanvas::LockCanvas_int__]
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0
je 0x100090af
mov edx, dword [ebp - 0x68]
add edx, 4
mov dword [ebp - 0x370], edx
mov eax, dword [ebp - 0x84]
movzx ecx, word [eax + 2]
mov dword [ebp - 0x34c], ecx
mov edx, dword [ebp - 0x84]
movzx eax, word [edx]
mov dword [ebp - 0x350], eax
mov ecx, dword [ebp - 0x84]
add ecx, 8
mov dword [ebp - 0x354], ecx
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x358], edx
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x35c], eax
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x360], ecx
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_int___thiscall_KCanvas::GetHeight_void_]
mov dword [ebp - 0x3ec], eax
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_int___thiscall_KCanvas::GetWidth_void_]
mov dword [ebp - 0x368], eax
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x36c], eax
mov ecx, dword [ebp - 0x74]
mov dl, byte [ecx + 0x1b]
mov byte [ebp - 0xc8], dl
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x34c]
push ecx
mov edx, dword [ebp - 0x350]
push edx
mov eax, dword [ebp - 0x354]
push eax
mov ecx, dword [ebp - 0xc4]
push ecx
mov edx, dword [ebp - 0x358]
push edx
mov eax, dword [ebp - 0x35c]
push eax
mov ecx, dword [ebp - 0x360]
push ecx
mov edx, dword [ebp - 0x3ec]
push edx
mov eax, dword [ebp - 0x368]
push eax
mov ecx, dword [ebp - 0x160]
push ecx
mov edx, dword [ebp - 0x36c]
push edx
movzx eax, byte [ebp - 0xc8]
push eax
mov ecx, dword [ebp - 0x370]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSpriteAlphaMMX_unsigned_char__unsigned_long_int__void___int__int__int__int__int__void___void___int__int__struct_tagRECT_const__]
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::UnlockCanvas_void_]
jmp 0x1000910e
mov ecx, dword [ebp - 0x68]
add ecx, 4
mov dword [ebp - 0x374], ecx
mov edx, dword [ebp - 0x74]
movzx eax, byte [edx + 0x1b]
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x84]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x84]
movzx eax, word [edx + 2]
push eax
mov ecx, dword [ebp - 0x84]
movzx edx, word [ecx]
push edx
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x94]
push ecx
mov ecx, dword [ebp - 0x374]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSpriteAlpha_int__int__int__int__void___void___int_]
jmp case.0x10008f45.3
mov edx, dword [ebp - 0x68]
add edx, 4
mov dword [ebp - 0x378], edx
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x84]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x84]
movzx eax, word [edx + 2]
push eax
mov ecx, dword [ebp - 0x84]
movzx edx, word [ecx]
push edx
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x94]
push ecx
mov ecx, dword [ebp - 0x378]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSprite3LevelAlpha_int__int__int__int__void___void__]
jmp case.0x10008f45.3
mov edx, dword [ebp - 0x68]
add edx, 4
mov dword [ebp - 0x37c], edx
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x84]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x84]
movzx eax, word [edx + 2]
push eax
mov ecx, dword [ebp - 0x84]
movzx edx, word [ecx]
push edx
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x94]
push ecx
mov ecx, dword [ebp - 0x37c]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSprite_int__int__int__int__void___void__]
jmp case.0x10008f45.3
mov edx, dword [ebp - 0x68]
add edx, 0x68
mov dword [ebp - 0x380], edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x74]
movsx eax, word [edx + 0xa4]
push eax
mov ecx, dword [ebp - 0x380]
call fcn.100063e0
mov dword [ebp - 0xc4], eax
mov ecx, 2
shl ecx, 0
mov edx, dword [ebp - 0xd0]
movzx eax, word [edx + ecx + 0x14]
cmp eax, 1
jne 0x10009349
mov dword [ebp - 0x164], 0
mov ecx, dword [ebp - 0x68]
add ecx, 4
mov dword [ebp - 0x384], ecx
lea edx, [ebp - 0x164]
push edx
mov ecx, dword [ebp - 0x384]
call dword [sym.imp.Engine.dll_public:_void____thiscall_KCanvas::LockCanvas_int__]
mov dword [ebp - 0x194], eax
cmp dword [ebp - 0x194], 0
je 0x10009347
mov eax, dword [ebp - 0x68]
add eax, 4
mov dword [ebp - 0x3ac], eax
mov ecx, dword [ebp - 0x84]
movzx edx, word [ecx + 2]
mov dword [ebp - 0x388], edx
mov eax, dword [ebp - 0x84]
movzx ecx, word [eax]
mov dword [ebp - 0x38c], ecx
mov edx, dword [ebp - 0x84]
add edx, 8
mov dword [ebp - 0x390], edx
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x394], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x398], ecx
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x39c], edx
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_int___thiscall_KCanvas::GetHeight_void_]
mov dword [ebp - 0x3a0], eax
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_int___thiscall_KCanvas::GetWidth_void_]
mov dword [ebp - 0x3a4], eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x3a8], ecx
mov edx, dword [ebp - 0x74]
mov al, byte [edx + 0x1b]
mov byte [ebp - 0xc7], al
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x388]
push edx
mov eax, dword [ebp - 0x38c]
push eax
mov ecx, dword [ebp - 0x390]
push ecx
mov edx, dword [ebp - 0xc4]
push edx
mov eax, dword [ebp - 0x394]
push eax
mov ecx, dword [ebp - 0x398]
push ecx
mov edx, dword [ebp - 0x39c]
push edx
mov eax, dword [ebp - 0x3a0]
push eax
mov ecx, dword [ebp - 0x3a4]
push ecx
mov edx, dword [ebp - 0x194]
push edx
mov eax, dword [ebp - 0x3a8]
push eax
movzx ecx, byte [ebp - 0xc7]
push ecx
mov ecx, dword [ebp - 0x3ac]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSpriteAlphaMMX_unsigned_char__unsigned_long_int__void___int__int__int__int__int__void___void___int__int__struct_tagRECT_const__]
mov ecx, dword [ebp - 0x68]
add ecx, 4
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::UnlockCanvas_void_]
jmp case.0x10008f45.3
mov edx, dword [ebp - 0x68]
add edx, 4
mov dword [ebp - 0x3b0], edx
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax + 0x1b]
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
mov ecx, dword [ebp - 0xc4]
push ecx
mov edx, dword [ebp - 0x84]
add edx, 8
push edx
mov eax, dword [ebp - 0x84]
movzx ecx, word [eax + 2]
push ecx
mov edx, dword [ebp - 0x84]
movzx eax, word [edx]
push eax
mov ecx, dword [ebp - 0x98]
push ecx
mov edx, dword [ebp - 0x94]
push edx
mov ecx, dword [ebp - 0x3b0]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawSpriteAlpha_int__int__int__int__void___void___int_]
jmp 0x1000953a
mov eax, dword [ebp - 0x68]
add eax, 0x68
mov dword [ebp - 0x3b4], eax
lea ecx, [ebp - 0x474]
push ecx
mov edx, dword [ebp - 0x74]
movsx eax, word [edx + 0x1e]
push eax
mov ecx, dword [ebp - 0x74]
movsx edx, word [ecx + 0xa6]
push edx
mov eax, dword [ebp - 0x74]
add eax, 0xa4
push eax
mov ecx, dword [ebp - 0x74]
add ecx, 0xa0
push ecx
mov edx, dword [ebp - 0x74]
add edx, 0x20
push edx
mov ecx, dword [ebp - 0x3b4]
call fcn.100065e0
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
je 0x1000953a
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 4]
mov dword [ebp - 0xd4], eax
cmp dword [ebp + 0x14], 0
jne 0x10009443
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 8]
push edx
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.10007420
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0xd8]
sub edx, dword [ecx + 0xa8]
mov dword [ebp - 0xd8], edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xd4]
sub ecx, dword [eax + 0xac]
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0xd8]
add eax, dword [edx + 0xb0]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0xd4]
add edx, dword [ecx + 0xb4]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x14]
jge 0x100094b1
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0xc]
jle 0x100094bf
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x10]
jge 0x100094cd
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 8]
jle 0x100094db
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x68]
add edx, 4
mov dword [ebp - 0x3b8], edx
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x3b8]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::SetClipRect_struct_tagRECT__]
mov ecx, dword [ebp - 0x68]
add ecx, 4
mov dword [ebp - 0x3bc], ecx
mov edx, dword [ebp - 0xf4]
add edx, 8
push edx
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0xf4]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0xd8]
push edx
mov ecx, dword [ebp - 0x3bc]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawBitmap16_int__int__int__int__void__]
jmp 0x10008d0b
mov eax, dword [ebp - 0x68]
add eax, 4
mov dword [ebp - 0x3c0], eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x3c0]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::SetClipRect_struct_tagRECT__]
jmp case.0x100079c9.7
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0x70], 0
jmp 0x1000958a
mov eax, dword [ebp - 0x70]
add eax, 1
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0xb8]
add ecx, 0x10
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0x70]
cmp edx, dword [ebp + 8]
jge 0x10009663
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax]
mov dword [ebp - 0x170], ecx
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x16c], eax
cmp dword [ebp + 0x14], 0
jne 0x100095d9
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx + 8]
push edx
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x170]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.10007420
mov edx, dword [ebp - 0x68]
add edx, 4
mov dword [ebp - 0x3d4], edx
mov eax, dword [sym.imp.Engine.dll_unsigned_short_int____cdecl___int__int__int__g_RGB]
mov ecx, dword [eax]
mov dword [ebp - 0x3c4], ecx
mov edx, dword [ebp - 0xb8]
movzx eax, byte [edx + 0xc]
push eax
mov ecx, dword [ebp - 0xb8]
movzx edx, byte [ecx + 0xd]
push edx
mov eax, dword [ebp - 0xb8]
movzx ecx, byte [eax + 0xe]
push ecx
call dword [ebp - 0x3c4]
add esp, 0xc
movzx edx, ax
mov dword [ebp - 0x3c8], edx
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x3cc], eax
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x3d0], ecx
mov edx, dword [ebp - 0x3c8]
push edx
mov eax, dword [ebp - 0x3cc]
push eax
mov ecx, dword [ebp - 0x3d0]
push ecx
mov ecx, dword [ebp - 0x3d4]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawPixel_int__int__int_]
jmp 0x10009572
jmp case.0x100079c9.7
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x70], 0
jmp 0x10009692
mov eax, dword [ebp - 0x70]
add eax, 1
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x90]
add ecx, 0x1c
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x70]
cmp edx, dword [ebp + 8]
jge 0x100098d0
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax]
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp - 0x90]
mov eax, dword [edx + 4]
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x100], edx
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xfc], ecx
cmp dword [ebp + 0x14], 0
jne 0x1000971f
mov edx, dword [ebp - 0x90]
mov eax, dword [edx + 8]
push eax
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0x108]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.10007420
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax + 0x14]
push ecx
lea edx, [ebp - 0xfc]
push edx
lea eax, [ebp - 0x100]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.10007420
mov ecx, dword [ebp - 0x90]
movzx edx, byte [ecx + 0x1b]
cmp edx, 0xf8
jl 0x100097e6
mov eax, dword [ebp - 0x68]
add eax, 4
mov dword [ebp - 0x3f0], eax
mov ecx, dword [sym.imp.Engine.dll_unsigned_short_int____cdecl___int__int__int__g_RGB]
mov edx, dword [ecx]
mov dword [ebp - 0x3d8], edx
mov eax, dword [ebp - 0x90]
movzx ecx, byte [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x90]
movzx eax, byte [edx + 0x19]
push eax
mov ecx, dword [ebp - 0x90]
movzx edx, byte [ecx + 0x1a]
push edx
call dword [ebp - 0x3d8]
add esp, 0xc
movzx eax, ax
mov dword [ebp - 0x3dc], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x3e0], ecx
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0x3e4], edx
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x3e8], eax
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x46c], ecx
mov edx, dword [ebp - 0x3dc]
push edx
mov eax, dword [ebp - 0x3e0]
push eax
mov ecx, dword [ebp - 0x3e4]
push ecx
mov edx, dword [ebp - 0x3e8]
push edx
mov eax, dword [ebp - 0x46c]
push eax
mov ecx, dword [ebp - 0x3f0]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawLine_int__int__int__int__int_]
jmp 0x100098cb
mov ecx, dword [ebp - 0x90]
movzx edx, byte [ecx + 0x1b]
cmp edx, 8
jl 0x100098cb
mov eax, dword [ebp - 0x68]
add eax, 4
mov dword [ebp - 0x410], eax
mov ecx, dword [ebp - 0x90]
movzx eax, byte [ecx + 0x1b]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov edx, 0x1f
sub edx, eax
mov dword [ebp - 0x3f8], edx
mov eax, dword [sym.imp.Engine.dll_unsigned_short_int____cdecl___int__int__int__g_RGB]
mov ecx, dword [eax]
mov dword [ebp - 0x3f4], ecx
mov edx, dword [ebp - 0x90]
movzx eax, byte [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x90]
movzx edx, byte [ecx + 0x19]
push edx
mov eax, dword [ebp - 0x90]
movzx ecx, byte [eax + 0x1a]
push ecx
call dword [ebp - 0x3f4]
add esp, 0xc
movzx edx, ax
mov dword [ebp - 0x3fc], edx
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x400], eax
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x404], ecx
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x408], edx
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x40c], eax
mov ecx, dword [ebp - 0x3f8]
push ecx
mov edx, dword [ebp - 0x3fc]
push edx
mov eax, dword [ebp - 0x400]
push eax
mov ecx, dword [ebp - 0x404]
push ecx
mov edx, dword [ebp - 0x408]
push edx
mov eax, dword [ebp - 0x40c]
push eax
mov ecx, dword [ebp - 0x410]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawLineAlpha_int__int__int__int__int__int_]
jmp 0x1000967a
jmp case.0x100079c9.7
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0x70], 0
jmp 0x100098ff
mov edx, dword [ebp - 0x70]
add edx, 1
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0xb0]
add eax, 0x1c
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [ebp + 8]
jge 0x10009abd
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx]
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx + 4]
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xe8], eax
cmp dword [ebp + 0x14], 0
jne 0x1000998c
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ecx + 8]
push edx
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xdc]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.10007420
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx + 0x14]
push eax
lea ecx, [ebp - 0xe8]
push ecx
lea edx, [ebp - 0xe4]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.10007420
mov eax, dword [sym.imp.Engine.dll_unsigned_short_int____cdecl___int__int__int__g_RGB]
mov ecx, dword [eax]
mov dword [ebp - 0x414], ecx
mov edx, dword [ebp - 0xb0]
movzx eax, byte [edx + 0x18]
push eax
mov ecx, dword [ebp - 0xb0]
movzx edx, byte [ecx + 0x19]
push edx
mov eax, dword [ebp - 0xb0]
movzx ecx, byte [eax + 0x1a]
push ecx
call dword [ebp - 0x414]
add esp, 0xc
movzx edx, ax
mov dword [ebp - 0xf8], edx
mov eax, dword [ebp - 0x68]
add eax, 4
mov dword [ebp - 0x418], eax
mov ecx, dword [ebp - 0xf8]
push ecx
mov edx, dword [ebp - 0xe0]
push edx
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0xe0]
push ecx
mov edx, dword [ebp - 0xdc]
push edx
mov ecx, dword [ebp - 0x418]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawLine_int__int__int__int__int_]
mov eax, dword [ebp - 0x68]
add eax, 4
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0xf8]
push ecx
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0xe8]
push ecx
mov edx, dword [ebp - 0xdc]
push edx
mov ecx, dword [ebp - 0x41c]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawLine_int__int__int__int__int_]
mov eax, dword [ebp - 0x68]
add eax, 4
mov dword [ebp - 0x420], eax
mov ecx, dword [ebp - 0xf8]
push ecx
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0xdc]
push eax
mov ecx, dword [ebp - 0xe0]
push ecx
mov edx, dword [ebp - 0xdc]
push edx
mov ecx, dword [ebp - 0x420]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawLine_int__int__int__int__int_]
mov eax, dword [ebp - 0x68]
add eax, 4
mov dword [ebp - 0x424], eax
mov ecx, dword [ebp - 0xf8]
push ecx
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0xe4]
push eax
mov ecx, dword [ebp - 0xe0]
push ecx
mov edx, dword [ebp - 0xe4]
push edx
mov ecx, dword [ebp - 0x424]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::DrawLine_int__int__int__int__int_]
jmp 0x100098e7
jmp case.0x100079c9.7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x70], 0
jmp 0x10009aec
mov ecx, dword [ebp - 0x70]
add ecx, 1
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0xa8]
add edx, 0x1c
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp + 8]
jge 0x10009c4d
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx]
mov dword [ebp - 0x110], edx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10c], ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x174], edx
cmp dword [ebp + 0x14], 0
jne 0x10009b79
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 8]
push ecx
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.10007420
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 0x14]
push edx
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x178]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.10007420
mov edx, dword [ebp - 0x68]
add edx, 4
mov dword [ebp - 0x444], edx
mov eax, dword [ebp - 0xa8]
movzx ecx, byte [eax + 0x1b]
mov dword [ebp - 0x42c], ecx
mov edx, dword [sym.imp.Engine.dll_unsigned_short_int____cdecl___int__int__int__g_RGB]
mov eax, dword [edx]
mov dword [ebp - 0x428], eax
mov ecx, dword [ebp - 0xa8]
movzx edx, byte [ecx + 0x18]
push edx
mov eax, dword [ebp - 0xa8]
movzx ecx, byte [eax + 0x19]
push ecx
mov edx, dword [ebp - 0xa8]
movzx eax, byte [edx + 0x1a]
push eax
call dword [ebp - 0x428]
add esp, 0xc
movzx ecx, ax
mov dword [ebp - 0x430], ecx
mov edx, dword [ebp - 0x174]
sub edx, dword [ebp - 0x10c]
mov dword [ebp - 0x434], edx
mov eax, dword [ebp - 0x178]
sub eax, dword [ebp - 0x110]
mov dword [ebp - 0x438], eax
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x43c], ecx
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x440], edx
mov eax, dword [ebp - 0x42c]
push eax
mov ecx, dword [ebp - 0x430]
push ecx
mov edx, dword [ebp - 0x434]
push edx
mov eax, dword [ebp - 0x438]
push eax
mov ecx, dword [ebp - 0x43c]
push ecx
mov edx, dword [ebp - 0x440]
push edx
mov ecx, dword [ebp - 0x444]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::ClearAlpha_int__int__int__int__int__int_]
jmp 0x10009ad4
jmp case.0x100079c9.7
cmp dword [ebp + 0x14], 0
je case.0x100079c9.7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x70], 0
jmp 0x10009c89
mov ecx, dword [ebp - 0x70]
add ecx, 1
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0xa4]
add edx, 0xa8
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp + 8]
jge case.0x100079c9.7
mov ecx, dword [ebp - 0xa4]
movsx edx, word [ecx + 0x1e]
test edx, edx
jne 0x10009d96
mov eax, dword [ebp - 0x68]
add eax, 0x68
mov dword [ebp - 0x448], eax
lea ecx, [ebp - 0x17c]
push ecx
push 0
push 0
mov edx, dword [ebp - 0xa4]
add edx, 0xa4
push edx
mov eax, dword [ebp - 0xa4]
add eax, 0xa0
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x20
push ecx
mov ecx, dword [ebp - 0x448]
call fcn.100065e0
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
je 0x10009d96
cmp dword [ebp - 0x17c], 0
je 0x10009d5c
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x68]
add ecx, 4
mov dword [ebp - 0x450], ecx
lea edx, [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x17c]
push eax
mov ecx, dword [ebp - 0x450]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KCanvas::BltSurface_struct_IDirectDrawSurface___struct_tagRECT__]
jmp 0x10009d96
mov ecx, dword [ebp - 0x68]
add ecx, 0x68
mov dword [ebp - 0x454], ecx
mov edx, dword [ebp - 0xa4]
add edx, 0xa4
push edx
mov eax, dword [ebp - 0xa4]
add eax, 0xa0
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x20
push ecx
mov ecx, dword [ebp - 0x454]
call fcn.10005ae0
jmp 0x10009c6e
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000b219
mov esp, ebp
pop ebp
ret 0x10