Function at 0x4b35f0
Capabilities:
Encode data using base64
Parse pe header
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2e99
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x52bdd0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x154], esi
mov eax, dword [esi + 0x13b8]
cmp eax, 6
jb 0x4b4fd6
jbe 0x4b363f
cmp eax, 0xb
jb 0x4b4fd6
cmp eax, 0xf
jbe 0x4b364d
cmp eax, 0x17
jb 0x4b4fd6
cmp eax, 0x18
je 0x4b4fd6
cmp eax, 0x1f
je 0x4b4fd6
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.mfc120.dll_Ordinal_4822
mov edi, eax
lea ecx, [esi + 0x13b0]
push ecx
mov ecx, edi
mov dword [ebp - 0x164], edi
mov edx, dword [edi]
mov edx, dword [edx + 0x30]
call edx
mov edi, dword [edi]
push 0
mov dword [ebp - 0x18c], eax
call dword [sym.imp.Y747UTLSTD.dll_YUSGetUserSystemColor]
mov ecx, dword [ebp - 0x164]
add esp, 4
push eax
mov eax, dword [edi + 0x38]
call eax
mov dword [ebp - 0x190], eax
mov eax, dword [ebp - 0x164]
push 0xf
mov edi, dword [eax]
call dword [sym.imp.Y747UTLSTD.dll_YUSGetUserSystemColor]
mov ecx, dword [ebp - 0x164]
add esp, 4
mov edx, dword [edi + 0x34]
push eax
call edx
mov edi, dword [ebp - 0x164]
mov ecx, edi
push 1
mov dword [ebp - 0x194], eax
call sub.mfc120.dll_Ordinal_13094
push 0xf
call dword [sym.imp.Y747UTLSTD.dll_YUSGetUserSystemColor]
push 8
mov dword [ebp - 0x158], eax
call sub.mfc120.dll_Ordinal_1502
add esp, 8
mov dword [ebp - 0x14c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4b371d
push dword [ebp - 0x158]
mov ecx, eax
call sub.mfc120.dll_Ordinal_358
mov dword [ebp - 0x188], eax
jmp 0x4b3727
mov dword [ebp - 0x188], 0
push 0
push dword [0x52ec00]
call dword [sym.imp.Y747WINSYS.dll_YWSGetTopAdrs]
add esp, 8
lea ecx, [ebp - 0x184]
call dword [sym.imp.mfc120.dll_Ordinal_316]
lea ecx, [ebp - 0x180]
mov dword [ebp - 4], 1
call dword [sym.imp.mfc120.dll_Ordinal_316]
mov ecx, dword [esi + 0x13b8]
mov byte [ebp - 4], 2
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0
cmp ecx, 0xe
jne 0x4b396f
mov ecx, esi
call fcn.004b6a20
test eax, eax
je 0x4b4fbe
mov edx, dword [esi + 0x13b8]
xor edi, edi
imul eax, edx, 0x88
xor ecx, ecx
mov dword [ebp - 0x150], ecx
cmp di, word [eax + 0x52f1a0]
mov edi, dword [ebp - 0x164]
jae 0x4b4f6f
jmp 0x4b37c0
mov eax, edx
mov dword [ebp - 0x178], 0
shl eax, 4
add eax, edx
lea eax, [ecx + eax*4]
movzx eax, word [eax*2 + 0x52f1e6]
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x17c]
push eax
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSTransPointPixel]
push 0x20
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push 0x201
push dword [0x52ec00]
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
add esp, 0x18
lea ecx, [ebp - 0x184]
call dword [sym.imp.mfc120.dll_Ordinal_4272]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x184]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
mov eax, dword [ebp - 0x150]
lea ecx, [ebp - 0x30]
push 0xa
inc eax
push ecx
push eax
mov dword [ebp - 0x154], eax
call dword [sym.imp.MSVCR120.dll__itoa]
add esp, 0xc
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x184]
push eax
call dword [sym.imp.mfc120.dll_Ordinal_1691]
cmp dword [ebp - 0x150], 0
mov eax, dword [ebp - 0x17c]
jne 0x4b3887
cmp dword [esi + 0x1410], 1
jne 0x4b3882
add eax, 0x46
jmp 0x4b3898
add eax, 0x3c
jmp 0x4b3898
cmp dword [esi + 0x1410], 1
jne 0x4b3895
add eax, 0x22
jmp 0x4b3898
add eax, 0x1e
mov edx, dword [esi + 0x1320]
mov dword [ebp - 0x148], eax
mov eax, edx
sub eax, dword [esi + 0x1328]
sub eax, 2
mov dword [ebp - 0x144], eax
mov eax, dword [esi + 0x13b8]
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [ebp - 0x150]
lea eax, [eax + ecx*4]
movzx eax, word [eax*2 + 0x52f1a4]
imul eax, dword [esi + 0x1324]
add eax, dword [ebp - 0x148]
mov dword [ebp - 0x140], eax
lea eax, [edx - 1]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x188]
test eax, eax
je 0x4b38fc
mov eax, dword [eax + 4]
push eax
lea eax, [ebp - 0x148]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_FillRect]
mov edi, dword [edi]
lea eax, [ebp - 0x148]
push 5
push eax
lea ecx, [ebp - 0x184]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0x184]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
mov ecx, dword [ebp - 0x164]
push eax
call dword [edi + 0x70]
mov edx, dword [esi + 0x13b8]
mov eax, edx
mov ecx, dword [ebp - 0x154]
mov edi, dword [ebp - 0x164]
shl eax, 4
add eax, edx
mov dword [ebp - 0x150], ecx
movzx eax, word [eax*8 + 0x52f1a0]
cmp ecx, eax
jl 0x4b37c0
jmp 0x4b4f6f
cmp ecx, 0xf
jne 0x4b45cb
mov edi, dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
push 0x962
push dword [0x52ec00]
call edi
mov eax, dword [esi + 0x13b8]
mov ecx, eax
shl ecx, 4
add ecx, eax
mov dword [ebp - 0x178], 0
movzx eax, word [ecx*8 + 0x52f1e6]
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x17c]
push eax
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSTransPointPixel]
push 0x20
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push 0x28a
push dword [0x52ec00]
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
add esp, 0x20
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc120.dll_Ordinal_316]
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc120.dll_Ordinal_4272]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc120.dll_Ordinal_14188]
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc120.dll_Ordinal_14194]
xorps xmm0, xmm0
lea ecx, [ebp - 0x16c]
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.mfc120.dll_Ordinal_316]
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc120.dll_Ordinal_4272]
push 0x962
push dword [0x52ec00]
call edi
add esp, 8
test eax, eax
mov eax, dword [esi + 0x2ec]
je 0x4b3a8d
mov ecx, eax
and ecx, 0x80000001
jns 0x4b3a80
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4b3a88
cmp ecx, 1
jne 0x4b3aa4
dec eax
cdq
sub eax, edx
sar eax, 1
inc eax
push eax
lea eax, [ebp - 0x16c]
push 0x4d5068
push eax
call dword [sym.imp.mfc120.dll_Ordinal_4764]
add esp, 0xc
push 0x20
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push 0x23d
push dword [0x52ec00]
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
add esp, 0x10
lea ecx, [ebp - 0x15c]
call dword [sym.imp.mfc120.dll_Ordinal_316]
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc120.dll_Ordinal_4272]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x15c]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
lea ecx, [ebp - 0x15c]
call dword [sym.imp.mfc120.dll_Ordinal_14188]
lea ecx, [ebp - 0x15c]
call dword [sym.imp.mfc120.dll_Ordinal_14194]
push 0x20
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push 0x5a
push dword [0x52ec00]
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
add esp, 0x10
lea ecx, [ebp - 0x174]
call dword [sym.imp.mfc120.dll_Ordinal_316]
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc120.dll_Ordinal_4272]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x174]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
lea ecx, [ebp - 0x174]
call dword [sym.imp.mfc120.dll_Ordinal_14188]
lea ecx, [ebp - 0x174]
call dword [sym.imp.mfc120.dll_Ordinal_14194]
push 0x20
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push 0x113b
push dword [0x52ec00]
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
add esp, 0x10
lea ecx, [ebp - 0x168]
call dword [sym.imp.mfc120.dll_Ordinal_316]
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc120.dll_Ordinal_4272]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x168]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
lea ecx, [ebp - 0x168]
call dword [sym.imp.mfc120.dll_Ordinal_14188]
lea ecx, [ebp - 0x168]
call dword [sym.imp.mfc120.dll_Ordinal_14194]
lea ecx, [ebp - 0x170]
call dword [sym.imp.mfc120.dll_Ordinal_316]
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 8
call dword [sym.imp.mfc120.dll_Ordinal_4272]
push 0x41f
push dword [0x52ec00]
call edi
push 0x7e
push dword [0x52ec00]
mov dword [ebp - 0x158], eax
call edi
push 0x494
push dword [0x52ec00]
mov dword [ebp - 0x154], eax
call edi
push 0x13f1
push dword [0x52ec00]
mov edi, eax
call dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
push 0x962
push dword [0x52ec00]
mov dword [ebp - 0x160], eax
call dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
add esp, 0x28
push 0x96
push dword [0x52ec00]
test eax, eax
je 0x4b3fcf
call dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
add esp, 8
test eax, eax
je 0x4b4304
cmp dword [esi + 0x2e8], 1
je 0x4b4304
cmp dword [ebp - 0x158], 0
jne 0x4b3ece
cmp dword [ebp - 0x154], 0
je 0x4b3e04
cmp dword [ebp - 0x160], 0
je 0x4b3d20
mov eax, dword [esi + 0x2ec]
cmp eax, 2
je 0x4b3cbf
cmp eax, 3
jne 0x4b3d20
push 0x4eb388
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.00411be0
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 9
push ecx
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00433e40
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0xa
push ecx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00433e40
add esp, 0x24
push eax
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0xb
call dword [sym.imp.mfc120.dll_Ordinal_1521]
jmp 0x4b42dc
test edi, edi
je 0x4b3d3f
mov eax, dword [esi + 0x2ec]
test eax, eax
js 0x4b3d37
cmp eax, 4
jl 0x4b3ee5
test edi, edi
jne 0x4b4304
mov eax, dword [esi + 0x2ec]
test eax, eax
je 0x4b3d4e
cmp eax, 1
jne 0x4b3daf
push 0x4eb388
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.00411be0
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x14
push ecx
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00433e40
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x15
push ecx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00433e40
add esp, 0x24
push eax
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x16
call dword [sym.imp.mfc120.dll_Ordinal_1521]
jmp 0x4b42dc
test edi, edi
jne 0x4b4304
mov eax, dword [esi + 0x2ec]
cmp eax, 2
je 0x4b3dcb
cmp eax, 3
jne 0x4b4304
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00433e40
add esp, 0xc
push eax
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x17
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x154]
jmp 0x4b42fa
test edi, edi
je 0x4b3e78
mov eax, dword [esi + 0x2ec]
test eax, eax
je 0x4b3e17
cmp eax, 1
jne 0x4b3e78
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.00433e40
push 0x4eb388
push eax
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 0x10
push eax
call fcn.00411be0
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x11
push ecx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00433e40
add esp, 0x24
push eax
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x12
call dword [sym.imp.mfc120.dll_Ordinal_1521]
jmp 0x4b42dc
cmp dword [ebp - 0x160], 0
je 0x4b3ea9
mov eax, dword [esi + 0x2ec]
cmp eax, 2
je 0x4b3e91
cmp eax, 3
jne 0x4b3ea9
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x170]
call dword [sym.imp.mfc120.dll_Ordinal_1521]
jmp 0x4b4304
test edi, edi
je 0x4b4304
mov eax, dword [esi + 0x2ec]
cmp eax, 2
je 0x4b3f96
cmp eax, 3
je 0x4b3f96
jmp 0x4b4304
mov eax, dword [esi + 0x2ec]
test eax, eax
js 0x4b3f88
cmp eax, 4
jge 0x4b3f8b
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00433e40
push 0x4eb388
push eax
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 0xc
push eax
call fcn.00411be0
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0xd
push ecx
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00433e40
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0xe
push ecx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00433e40
add esp, 0x30
push eax
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0xf
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x158]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x160]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x14c]
jmp 0x4b42fa
cmp eax, 4
je 0x4b3f96
cmp eax, 5
jne 0x4b4304
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00433e40
add esp, 0xc
push eax
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x13
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x14c]
jmp 0x4b42fa
call dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
add esp, 8
test eax, eax
je 0x4b4304
cmp dword [esi + 0x2e8], 0
je 0x4b4304
cmp dword [ebp - 0x158], 0
jne 0x4b420b
cmp dword [ebp - 0x154], 0
je 0x4b416a
cmp dword [ebp - 0x160], 0
je 0x4b409c
cmp dword [esi + 0x2ec], 1
jne 0x4b409c
push 0x4eb388
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00411be0
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x18
push ecx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00433e40
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x19
push ecx
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00433e40
add esp, 0x24
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [ebp - 0x170]
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x14c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x158]
jmp 0x4b42fa
test edi, edi
je 0x4b40bf
mov eax, dword [esi + 0x2ec]
test eax, eax
je 0x4b425c
cmp eax, 1
je 0x4b425c
test edi, edi
jne 0x4b4304
cmp dword [esi + 0x2ec], 0
jne 0x4b411c
push 0x4eb388
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00411be0
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x23
push ecx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00433e40
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x24
push ecx
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00433e40
add esp, 0x24
mov byte [ebp - 4], 0x25
jmp 0x4b406c
test edi, edi
jne 0x4b4304
cmp dword [esi + 0x2ec], 1
jne 0x4b4304
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00433e40
add esp, 0xc
push eax
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x26
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x14c]
jmp 0x4b42fa
test edi, edi
je 0x4b41cb
cmp dword [esi + 0x2ec], 0
jne 0x4b41cb
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00433e40
push 0x4eb388
push eax
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 0x1f
push eax
call fcn.00411be0
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x20
push ecx
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00433e40
add esp, 0x24
mov byte [ebp - 4], 0x21
jmp 0x4b406c
cmp dword [ebp - 0x160], 0
je 0x4b41f5
cmp dword [esi + 0x2ec], 1
jne 0x4b41f5
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x170]
call dword [sym.imp.mfc120.dll_Ordinal_1521]
jmp 0x4b4304
test edi, edi
je 0x4b4304
cmp dword [esi + 0x2ec], 1
je 0x4b4223
jmp 0x4b4304
mov eax, dword [esi + 0x2ec]
test eax, eax
je 0x4b425c
cmp eax, 1
je 0x4b425c
cmp eax, 2
jne 0x4b4304
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00433e40
add esp, 0xc
push eax
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x22
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x14c]
jmp 0x4b42fa
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.00433e40
push 0x4eb388
push eax
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 0x1b
push eax
call fcn.00411be0
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x1c
push ecx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00433e40
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x1d
push ecx
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00433e40
add esp, 0x30
push eax
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x1e
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x14c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x158]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 8
call dword [sym.imp.mfc120.dll_Ordinal_1041]
push 0x60
push dword [0x52ec00]
call dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
add esp, 8
test eax, eax
je 0x4b43fe
lea ecx, [ebp - 0x170]
call dword [sym.imp.mfc120.dll_Ordinal_8028]
test al, al
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x150]
push eax
je 0x4b4366
lea eax, [ebp - 0x14c]
push eax
call fcn.00433e40
add esp, 0xc
push eax
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x27
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x14c]
jmp 0x4b43f4
lea eax, [ebp - 0x160]
push eax
call fcn.00433e40
push 0x4eb38c
push eax
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 0x28
push eax
call fcn.00411be0
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x29
push ecx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00433e40
push 0x4d72dc
push eax
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0x2a
push eax
call fcn.00411be0
add esp, 0x30
push eax
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x2b
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x14c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x158]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 8
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov edi, dword [esi + 0x1320]
mov eax, edi
sub eax, dword [esi + 0x1328]
mov edx, dword [ebp - 0x17c]
sub eax, 2
mov dword [ebp - 0x144], eax
mov eax, dword [esi + 0x1324]
mov ecx, eax
shl ecx, 4
sub ecx, eax
mov dword [ebp - 0x148], edx
push 0x962
push dword [0x52ec00]
lea eax, [edx + ecx*2]
mov dword [ebp - 0x140], eax
lea eax, [edi - 1]
mov dword [ebp - 0x13c], eax
call dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
add esp, 8
test eax, eax
mov eax, dword [esi + 0x2ec]
je 0x4b4496
test eax, eax
je 0x4b449a
cmp eax, 1
je 0x4b449a
cmp eax, 2
je 0x4b44b0
cmp eax, 3
je 0x4b44b0
cmp eax, 4
je 0x4b44c3
cmp eax, 5
je 0x4b44c3
cmp eax, 6
je 0x4b4485
cmp eax, 7
jne 0x4b44d9
mov ecx, 0xff0000
mov dword [ebp - 0x160], 0xffffff
jmp 0x4b44eb
test eax, eax
jne 0x4b44ab
mov ecx, 0xffff
mov dword [ebp - 0x160], 0
jmp 0x4b44eb
cmp eax, 1
jne 0x4b44be
xor ecx, ecx
mov dword [ebp - 0x160], 0xffff
jmp 0x4b44eb
cmp eax, 2
jne 0x4b44d4
mov ecx, 0xffffff
mov dword [ebp - 0x160], 0xff0000
jmp 0x4b44eb
cmp eax, 3
jmp 0x4b4483
mov eax, dword [ebp - 0x18c]
mov ecx, dword [ebp - 0x18c]
mov dword [ebp - 0x160], eax
mov edi, dword [ebp - 0x164]
push ecx
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x38]
call eax
mov edx, dword [edi]
mov ecx, edi
push dword [ebp - 0x160]
mov dword [ebp - 0x14c], eax
mov edx, dword [edx + 0x34]
call edx
mov ecx, dword [ebp - 0x164]
mov edi, eax
push 2
call sub.mfc120.dll_Ordinal_13094
push dword [ebp - 0x188]
mov ecx, dword [ebp - 0x164]
lea eax, [ebp - 0x148]
push eax
call fcn.00402760
mov ecx, dword [ebp - 0x164]
lea eax, [ebp - 0x148]
push 4
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.0040acd0
mov ecx, dword [ebp - 0x164]
push 1
call sub.mfc120.dll_Ordinal_13094
mov ecx, dword [ebp - 0x164]
push edi
mov edi, ecx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x14c]
call dword [eax + 0x34]
lea ecx, [ebp - 0x170]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x168]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x174]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x15c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x16c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc120.dll_Ordinal_1041]
jmp 0x4b4f6f
cmp ecx, 0x17
je 0x4b5dce
cmp ecx, 0x20
je 0x4b5dce
cmp ecx, 0x19
jne 0x4b4e37
xor edi, edi
xor eax, eax
mov dword [ebp - 0x150], edi
cmp ax, word [0x52fee8]
jae 0x4b4f69
lea ecx, [ecx]
mov eax, ecx
mov dword [ebp - 0x178], 0
shl eax, 4
add eax, ecx
lea eax, [edi + eax*4]
movzx eax, word [eax*2 + 0x52f1e6]
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x17c]
push eax
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSTransPointPixel]
xorps xmm0, xmm0
add esp, 8
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x20], xmm0
cmp edi, 6
jl 0x4b4c3f
cmp edi, 0xe
je 0x4b4c3f
cmp edi, 0xf
je 0x4b4c3f
cmp edi, 0x18
jne 0x4b4709
push 0x20
lea eax, [ebp - 0x30]
push eax
push 0x3c
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
lea ecx, [ebp - 0x30]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b4686
mov edi, dword [esi + 0x1324]
sub ecx, edx
mov eax, edi
imul eax, ecx
mov dword [ebp - 0x154], eax
mov eax, dword [esi + 0x13b8]
mov ecx, eax
shl ecx, 4
add ecx, eax
movzx eax, word [ecx*8 + 0x52f1d4]
mov ecx, dword [ebp - 0x154]
imul eax, edi
shr ecx, 1
add eax, 0xa
cdq
sub eax, edx
lea edx, [edi*2 + 3]
sar eax, 1
sub eax, ecx
mov ecx, dword [esi + 0x1320]
add eax, dword [ebp - 0x17c]
add edx, eax
mov eax, ecx
sub eax, dword [esi + 0x1328]
sub eax, 3
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x154]
add eax, edx
mov dword [ebp - 0x140], eax
jmp 0x4b4d70
cmp edi, 0x19
jne 0x4b47b5
push 0x20
lea eax, [ebp - 0x30]
push eax
push 0x247
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
lea ecx, [ebp - 0x30]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b4732
mov edi, dword [esi + 0x1324]
sub ecx, edx
mov eax, edi
imul eax, ecx
mov dword [ebp - 0x154], eax
mov eax, dword [esi + 0x13b8]
mov ecx, eax
shl ecx, 4
add ecx, eax
movzx eax, word [ecx*8 + 0x52f1d6]
mov ecx, dword [ebp - 0x154]
imul eax, edi
shr ecx, 1
add eax, 0xa
cdq
sub eax, edx
lea edx, [edi*2 + 3]
sar eax, 1
sub eax, ecx
mov ecx, dword [esi + 0x1320]
add eax, dword [ebp - 0x17c]
add edx, eax
mov eax, ecx
sub eax, dword [esi + 0x1328]
sub eax, 3
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x154]
add eax, edx
mov dword [ebp - 0x140], eax
jmp 0x4b4d70
cmp edi, 0x1a
jne 0x4b484c
push 0x20
lea eax, [ebp - 0x30]
push eax
push 0x244
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
mov eax, dword [esi + 0x13b8]
add esp, 0x10
mov edx, dword [ebp - 0x17c]
mov ecx, eax
shl ecx, 4
add edx, 0xd
add ecx, eax
movzx ecx, word [ecx*8 + 0x52f1d8]
add ecx, 2
imul ecx, dword [esi + 0x1324]
add edx, ecx
lea ecx, [ebp - 0x30]
lea eax, [ecx + 1]
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x14c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b4814
sub ecx, dword [ebp - 0x14c]
imul ecx, dword [esi + 0x1324]
sub edx, ecx
mov ecx, dword [esi + 0x1320]
mov eax, ecx
mov dword [ebp - 0x148], edx
sub eax, dword [esi + 0x1328]
sub eax, 3
mov dword [ebp - 0x144], eax
jmp 0x4b4d76
cmp edi, 0x1b
jne 0x4b48e8
push 0x20
lea eax, [ebp - 0x30]
push eax
push 0x245
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
mov eax, dword [esi + 0x13b8]
add esp, 0x10
mov edx, dword [ebp - 0x17c]
mov ecx, eax
shl ecx, 4
add edx, 0xd
add ecx, eax
movzx ecx, word [ecx*8 + 0x52f1da]
add ecx, 2
imul ecx, dword [esi + 0x1324]
add edx, ecx
lea ecx, [ebp - 0x30]
lea eax, [ecx + 1]
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x14c], eax
jmp 0x4b48b0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b48b0
sub ecx, dword [ebp - 0x14c]
imul ecx, dword [esi + 0x1324]
sub edx, ecx
mov ecx, dword [esi + 0x1320]
mov eax, ecx
mov dword [ebp - 0x148], edx
sub eax, dword [esi + 0x1328]
sub eax, 3
mov dword [ebp - 0x144], eax
jmp 0x4b4d76
cmp edi, 0x1c
jne 0x4b498e
push 0x20
lea eax, [ebp - 0x30]
push eax
push 0x246
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
mov eax, dword [esi + 0x13b8]
add esp, 0x10
mov edx, dword [ebp - 0x17c]
mov ecx, eax
shl ecx, 4
add edx, 0xd
add ecx, eax
movzx ecx, word [ecx*8 + 0x52f1dc]
add ecx, 2
imul ecx, dword [esi + 0x1324]
add edx, ecx
lea ecx, [ebp - 0x30]
lea eax, [ecx + 1]
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x14c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b4947
sub ecx, dword [ebp - 0x14c]
imul ecx, dword [esi + 0x1324]
sub edx, ecx
mov ecx, dword [esi + 0x1328]
imul eax, ecx, 0xb
mov dword [ebp - 0x148], edx
mov edx, dword [esi + 0x1320]
add eax, 0xfffffffd
add eax, edx
mov dword [ebp - 0x144], eax
lea eax, [ecx + ecx*2]
lea eax, [eax*4 - 2]
add eax, edx
jmp 0x4b4d79
cmp edi, 0x1d
jne 0x4b4a39
push 0x20
lea eax, [ebp - 0x30]
push eax
push 0x250
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
mov eax, dword [esi + 0x13b8]
add esp, 0x10
mov edx, dword [ebp - 0x17c]
mov ecx, eax
shl ecx, 4
add edx, 0xd
add ecx, eax
movzx ecx, word [ecx*8 + 0x52f1de]
add ecx, 2
imul ecx, dword [esi + 0x1324]
add edx, ecx
lea ecx, [ebp - 0x30]
lea eax, [ecx + 1]
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x14c], eax
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b49f0
sub ecx, dword [ebp - 0x14c]
imul ecx, dword [esi + 0x1324]
sub edx, ecx
mov ecx, dword [esi + 0x1320]
mov dword [ebp - 0x148], edx
mov edx, dword [esi + 0x1328]
mov eax, edx
shl eax, 4
add eax, 0xfffffffd
add eax, ecx
mov dword [ebp - 0x144], eax
mov eax, edx
shl eax, 4
add eax, 0xfffffffe
add eax, ecx
add eax, edx
jmp 0x4b4d79
cmp edi, 0x1e
jne 0x4b4ae0
push 0x20
lea eax, [ebp - 0x30]
push eax
push 0x9e1
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
mov eax, dword [esi + 0x13b8]
add esp, 0x10
mov edx, dword [ebp - 0x17c]
mov ecx, eax
shl ecx, 4
add edx, 0xd
add ecx, eax
movzx ecx, word [ecx*8 + 0x52f1e0]
add ecx, 2
imul ecx, dword [esi + 0x1324]
add edx, ecx
lea ecx, [ebp - 0x30]
lea eax, [ecx + 1]
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x14c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b4a98
sub ecx, dword [ebp - 0x14c]
imul ecx, dword [esi + 0x1324]
sub edx, ecx
mov ecx, dword [esi + 0x1328]
imul eax, ecx, 0xd
mov dword [ebp - 0x148], edx
mov edx, dword [esi + 0x1320]
add eax, 0xfffffffd
add eax, edx
mov dword [ebp - 0x144], eax
lea eax, [ecx*8]
sub eax, ecx
dec eax
lea eax, [edx + eax*2]
jmp 0x4b4d79
cmp edi, 0x1f
jne 0x4b4b9a
push 0x20
lea eax, [ebp - 0x30]
push eax
push 0x245
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
push 0x4d77b4
lea eax, [ebp - 0x30]
push 0x20
push eax
call dword [sym.imp.MSVCR120.dll_strcat_s]
mov eax, dword [esi + 0x13b8]
add esp, 0x1c
mov edx, dword [ebp - 0x17c]
mov ecx, eax
shl ecx, 4
add edx, 0xd
add ecx, eax
movzx ecx, word [ecx*8 + 0x52f1e2]
add ecx, 2
imul ecx, dword [esi + 0x1324]
add edx, ecx
lea ecx, [ebp - 0x30]
lea eax, [ecx + 1]
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x14c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b4b50
sub ecx, dword [ebp - 0x14c]
imul ecx, dword [esi + 0x1324]
sub edx, ecx
mov ecx, dword [esi + 0x1328]
mov dword [ebp - 0x148], edx
mov edx, dword [esi + 0x1320]
lea eax, [ecx*4 - 3]
add eax, edx
add eax, ecx
mov dword [ebp - 0x144], eax
lea eax, [ecx*2 - 1]
add eax, ecx
lea eax, [edx + eax*2]
jmp 0x4b4d79
cmp edi, 0x20
jne 0x4b4e0e
push edi
lea eax, [ebp - 0x30]
push eax
push 0xdc2
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
mov eax, dword [esi + 0x13b8]
add esp, 0x10
mov edx, dword [ebp - 0x17c]
mov ecx, eax
shl ecx, 4
add edx, 0xd
add ecx, eax
movzx ecx, word [ecx*8 + 0x52f1e4]
add ecx, 2
imul ecx, dword [esi + 0x1324]
add edx, ecx
lea ecx, [ebp - 0x30]
lea eax, [ecx + 1]
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x14c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b4bf8
sub ecx, dword [ebp - 0x14c]
imul ecx, dword [esi + 0x1324]
sub edx, ecx
mov ecx, dword [esi + 0x1328]
mov dword [ebp - 0x148], edx
mov edx, dword [esi + 0x1320]
lea eax, [ecx + ecx*4]
lea eax, [eax*4 - 3]
add eax, edx
mov dword [ebp - 0x144], eax
imul eax, ecx, 0x15
add eax, 0xfffffffe
add eax, edx
jmp 0x4b4d79
mov eax, edi
and eax, 0x80000001
jns 0x4b4c4d
dec eax
or eax, 0xfffffffe
inc eax
push 0x20
lea eax, [ebp - 0x30]
push eax
je 0x4b4cd8
push 0x247
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
lea ecx, [ebp - 0x30]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b4c73
mov edi, dword [esi + 0x1324]
sub ecx, edx
mov eax, dword [esi + 0x13b8]
imul ecx, edi
mov dword [ebp - 0x14c], ecx
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [ebp - 0x150]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x14c]
movzx eax, word [eax*2 + 0x52f1a4]
imul eax, edi
shr ecx, 1
add eax, 0xa
cdq
sub eax, edx
sar eax, 1
sub eax, ecx
add eax, dword [ebp - 0x17c]
lea eax, [eax + edi*2]
add eax, 3
mov dword [ebp - 0x148], eax
add eax, dword [ebp - 0x14c]
jmp 0x4b4d53
push 0x3a
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
lea ecx, [ebp - 0x30]
add esp, 0x10
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b4cf0
mov edi, dword [esi + 0x1324]
sub ecx, edx
mov eax, dword [esi + 0x13b8]
imul ecx, edi
mov dword [ebp - 0x14c], ecx
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [ebp - 0x150]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x14c]
movzx eax, word [eax*2 + 0x52f1a4]
imul eax, edi
shr ecx, 1
add eax, 0xa
cdq
sub eax, edx
sar eax, 1
sub eax, ecx
add eax, dword [ebp - 0x17c]
lea eax, [eax + edi*2]
add eax, 3
mov dword [ebp - 0x148], eax
add eax, dword [ebp - 0x14c]
mov ecx, dword [esi + 0x1320]
mov dword [ebp - 0x140], eax
mov eax, ecx
sub eax, dword [esi + 0x1328]
sub eax, 3
mov dword [ebp - 0x144], eax
mov edi, dword [ebp - 0x150]
lea eax, [ecx - 2]
push dword [ebp - 0x188]
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x148]
push eax
call fcn.00402760
lea eax, [ebp - 0x30]
push eax
cmp edi, 0x1a
jge 0x4b4dd3
lea ecx, [ebp - 0x158]
call dword [sym.imp.mfc120.dll_Ordinal_310]
mov ecx, dword [ebp - 0x164]
lea eax, [ebp - 0x148]
push 5
push eax
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 0x46
push eax
call fcn.0040acd0
lea ecx, [ebp - 0x158]
jmp 0x4b4e04
lea ecx, [ebp - 0x168]
call dword [sym.imp.mfc120.dll_Ordinal_310]
mov ecx, dword [ebp - 0x164]
lea eax, [ebp - 0x148]
push 6
push eax
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 0x47
push eax
call fcn.0040acd0
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov ecx, dword [esi + 0x13b8]
inc edi
mov eax, ecx
mov dword [ebp - 0x150], edi
shl eax, 4
add eax, ecx
movzx eax, word [eax*8 + 0x52f1a0]
cmp edi, eax
jl 0x4b4600
jmp 0x4b4f69
cmp ecx, 0x1a
je 0x4b59d0
cmp ecx, 0x1b
je 0x4b59d0
cmp ecx, 0x1c
jne 0x4b4ff1
xorps xmm0, xmm0
lea ecx, [ebp - 0x150]
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.mfc120.dll_Ordinal_316]
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x4c
call dword [sym.imp.mfc120.dll_Ordinal_4272]
push 0x4eb398
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
push 0xa
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esi + 0x2ec]
add eax, 3
push eax
call dword [sym.imp.MSVCR120.dll__itoa]
add esp, 0xc
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x150]
push eax
call dword [sym.imp.mfc120.dll_Ordinal_1691]
mov eax, dword [esi + 0x13b8]
xorps xmm0, xmm0
mov ecx, eax
shl ecx, 4
add ecx, eax
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x20], xmm0
movzx eax, word [ecx*8 + 0x52f1e6]
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x148], eax
call dword [sym.imp.mfc120.dll_Ordinal_1656]
mov edx, eax
lea eax, [edx + 1]
mov edi, edi
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x4b4ef0
mov ecx, dword [esi + 0x1320]
sub edx, eax
mov eax, dword [esi + 0x1324]
push dword [ebp - 0x188]
imul eax, edx
add eax, dword [ebp - 0x148]
mov dword [ebp - 0x140], eax
mov eax, ecx
sub eax, dword [esi + 0x1328]
sub eax, 3
mov dword [ebp - 0x144], eax
lea eax, [ecx - 2]
mov dword [ebp - 0x13c], eax
mov ecx, edi
lea eax, [ebp - 0x148]
push eax
call fcn.00402760
push 5
lea eax, [ebp - 0x148]
mov ecx, edi
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.0040acd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov edi, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x188]
call sub.mfc120.dll_Ordinal_3831
mov ecx, dword [ebp - 0x188]
test ecx, ecx
je 0x4b4f8b
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x190]
call dword [eax + 0x38]
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x194]
call dword [eax + 0x34]
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x18c]
call dword [eax + 0x30]
push dword [edi + 4]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [ebp - 0x180]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x184]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6016
mov esp, ebp
pop ebp
ret
cmp ecx, 0x1d
jne 0x4b520c
xorps xmm0, xmm0
lea ecx, [ebp - 0x150]
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.mfc120.dll_Ordinal_316]
mov ecx, esi
mov byte [ebp - 4], 0x4d
call fcn.004b6a20
test eax, eax
jne 0x4b5030
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
jmp 0x4b4fbe
mov edx, dword [esi + 0x13b8]
xor edi, edi
mov eax, edx
xor ecx, ecx
shl eax, 4
add eax, edx
mov dword [ebp - 0x168], ecx
cmp di, word [eax*8 + 0x52f1a0]
mov edi, dword [ebp - 0x164]
jae 0x4b51f7
jmp 0x4b5060
mov eax, edx
mov dword [ebp - 0x178], 0
shl eax, 4
add eax, edx
lea eax, [ecx + eax*4]
movzx eax, word [eax*2 + 0x52f1e6]
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x17c]
push eax
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSTransPointPixel]
push 0x20
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push 0x9e6
push dword [0x52ec00]
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
add esp, 0x18
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc120.dll_Ordinal_4272]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
push 0xa
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esi + 0x2ec]
lea eax, [eax*8 + 1]
add eax, dword [ebp - 0x168]
push eax
call dword [sym.imp.MSVCR120.dll__itoa]
add esp, 0xc
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x150]
push eax
call dword [sym.imp.mfc120.dll_Ordinal_1691]
cmp dword [ebp - 0x168], 0
xorps xmm0, xmm0
mov eax, dword [ebp - 0x17c]
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x20], xmm0
jne 0x4b513a
cmp dword [esi + 0x1410], 1
jne 0x4b5135
add eax, 0x46
jmp 0x4b514b
add eax, 0x3c
jmp 0x4b514b
cmp dword [esi + 0x1410], 1
jne 0x4b5148
add eax, 0x22
jmp 0x4b514b
add eax, 0x1e
mov edx, dword [esi + 0x1320]
mov dword [ebp - 0x148], eax
mov eax, edx
sub eax, dword [esi + 0x1328]
sub eax, 2
mov dword [ebp - 0x144], eax
mov eax, dword [esi + 0x13b8]
mov ecx, eax
push dword [ebp - 0x188]
shl ecx, 4
add ecx, eax
mov eax, dword [ebp - 0x168]
lea eax, [eax + ecx*4]
mov ecx, edi
movzx eax, word [eax*2 + 0x52f1a4]
imul eax, dword [esi + 0x1324]
add eax, dword [ebp - 0x148]
mov dword [ebp - 0x140], eax
lea eax, [edx - 1]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x148]
push eax
call fcn.00402760
push 5
lea eax, [ebp - 0x148]
mov ecx, edi
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.0040acd0
mov edx, dword [esi + 0x13b8]
mov eax, edx
mov ecx, dword [ebp - 0x168]
shl eax, 4
inc ecx
add eax, edx
mov dword [ebp - 0x168], ecx
movzx eax, word [eax*8 + 0x52f1a0]
cmp ecx, eax
jl 0x4b5060
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc120.dll_Ordinal_1041]
jmp 0x4b4f6f
cmp ecx, 0x1e
jne 0x4b5611
push 0xff
lea eax, [ebp - 0x137]
mov byte [ebp - 0x138], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov byte [ebp - 0x38], 0
xor eax, eax
lea ecx, [ebp - 0x16c]
mov dword [ebp - 0x37], eax
mov word [ebp - 0x33], ax
push 0x4d5976
mov byte [ebp - 0x31], al
call dword [sym.imp.mfc120.dll_Ordinal_310]
push 0x4d5976
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x4e
call dword [sym.imp.mfc120.dll_Ordinal_310]
push 0x4d5976
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x4f
call dword [sym.imp.mfc120.dll_Ordinal_310]
push str.C:ymwM8YMPLC
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x50
call dword [sym.imp.mfc120.dll_Ordinal_310]
push str.PLCAXISNAME.INI
push eax
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 0x51
push eax
call fcn.00411be0
add esp, 0xc
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 0x53
call dword [sym.imp.mfc120.dll_Ordinal_1041]
xor edi, edi
lea esi, [ebp - 0x138]
inc edi
lea eax, [ebp - 0x15c]
push edi
push 0x4d5068
push eax
call dword [sym.imp.mfc120.dll_Ordinal_4764]
push str.AXIS
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00411be0
add esp, 0x18
push eax
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x54
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x53
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x160]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
push 8
lea eax, [ebp - 0x38]
push eax
push 0x4e5534
push str.ENABLE
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, 0x4e5540
lea eax, [ebp - 0x38]
jmp 0x4b5350
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4b5370
test dl, dl
je 0x4b536c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4b5370
add eax, 2
add ecx, 2
test dl, dl
jne 0x4b5350
xor eax, eax
jmp 0x4b5375
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4b53a6
lea ecx, [ebp - 0x160]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
push 0xb
push esi
push 0x4e5534
push str.NAME_SCREEN
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esi, 0x10
cmp edi, 0xf
jle 0x4b52c3
mov esi, dword [ebp - 0x154]
xor edx, edx
xor edi, edi
mov dword [ebp - 0x168], edx
mov ecx, dword [esi + 0x13b8]
mov eax, ecx
shl eax, 4
add eax, ecx
cmp di, word [eax*8 + 0x52f1a0]
jae 0x4b55d2
lea ecx, [ecx]
mov eax, ecx
mov dword [ebp - 0x178], 0
shl eax, 4
add eax, ecx
lea eax, [edx + eax*4]
movzx eax, word [eax*2 + 0x52f1e6]
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x17c]
push eax
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSTransPointPixel]
mov ax, word [0x4eb39c]
xorps xmm0, xmm0
xor ecx, ecx
cmp dword [esi + 0x2ec], 5
movdqu xmmword [ebp - 0x30], xmm0
mov word [ebp - 0x30], ax
setge cl
mov al, byte [0x4eb39e]
mov byte [ebp - 0x2e], al
mov eax, dword [ebp - 0x168]
push 0xa
movdqu xmmword [ebp - 0x20], xmm0
lea eax, [eax + ecx*8]
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x174], eax
push ecx
inc eax
push eax
call dword [sym.imp.MSVCR120.dll__itoa]
lea edx, [ebp - 0x170]
add esp, 0x14
mov esi, edx
jmp 0x4b5470
mov al, byte [edx]
inc edx
test al, al
jne 0x4b5470
lea edi, [ebp - 0x30]
sub edx, esi
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4b5480
mov eax, dword [ebp - 0x174]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
shl eax, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x138]
add edi, eax
cmp byte [edi], 0
je 0x4b54fe
lea ecx, [ebp - 0x30]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b54b2
sub ecx, edx
cmp ecx, 0xa
jae 0x4b54ee
mov esi, dword [sym.imp.MSVCR120.dll_strcat_s]
push 0x4d6240
lea eax, [ebp - 0x30]
push 0x20
push eax
call esi
lea ecx, [ebp - 0x30]
add esp, 0xc
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b54e0
sub ecx, edx
cmp ecx, 0xa
jb 0x4b54c6
push edi
lea eax, [ebp - 0x30]
push 0x20
push eax
call dword [sym.imp.MSVCR120.dll_strcat_s]
add esp, 0xc
mov esi, dword [ebp - 0x154]
mov eax, dword [ebp - 0x17c]
push dword [ebp - 0x188]
mov edi, dword [ebp - 0x164]
mov edx, dword [esi + 0x1324]
lea ecx, [edx + edx*2]
lea ecx, [eax + ecx*2]
lea eax, [edx + edx*4]
mov dword [ebp - 0x148], ecx
mov edx, dword [esi + 0x1320]
lea eax, [ecx + eax*2]
mov dword [ebp - 0x140], eax
mov ecx, edx
mov eax, dword [esi + 0x1328]
lea eax, [eax*2 + 4]
sub ecx, eax
lea eax, [edx - 2]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x148]
mov dword [ebp - 0x144], ecx
mov ecx, edi
push eax
call fcn.00402760
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x158]
call dword [sym.imp.mfc120.dll_Ordinal_310]
push 0x2010
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 0x55
push eax
lea eax, [ebp - 0x158]
mov ecx, edi
push eax
call fcn.0040acd0
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x53
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov ecx, dword [esi + 0x13b8]
mov eax, ecx
mov edx, dword [ebp - 0x168]
shl eax, 4
inc edx
add eax, ecx
mov dword [ebp - 0x168], edx
movzx eax, word [eax*8 + 0x52f1a0]
cmp edx, eax
jl 0x4b53e0
jmp 0x4b55d8
mov edi, dword [ebp - 0x164]
lea ecx, [ebp - 0x160]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x15c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc120.dll_Ordinal_1041]
jmp 0x4b4f6f
mov eax, ecx
xor edi, edi
shl eax, 4
xor edx, edx
add eax, ecx
mov dword [ebp - 0x150], edx
cmp di, word [eax*8 + 0x52f1a0]
mov edi, dword [ebp - 0x164]
jae 0x4b4f6f
jmp 0x4b5640
mov eax, ecx
mov dword [ebp - 0x178], 0
shl eax, 4
add eax, ecx
lea eax, [edx + eax*4]
movzx eax, word [eax*2 + 0x52f1e6]
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x17c]
push eax
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSTransPointPixel]
mov ecx, dword [esi + 0x13b8]
add esp, 8
cmp ecx, 6
je 0x4b5692
cmp ecx, 0xb
je 0x4b5692
cmp ecx, 0xc
je 0x4b5692
cmp ecx, 0xd
jne 0x4b56a6
mov edx, dword [ebp - 0x150]
test edx, edx
jle 0x4b56ac
mov eax, 2
jmp 0x4b5723
mov edx, dword [ebp - 0x150]
mov eax, ecx
shl eax, 4
add eax, ecx
push 0xa
movzx ecx, word [eax*8 + 0x52f1a2]
lea eax, [edx + 1]
imul ecx, eax
lea eax, [ebp - 0x30]
push eax
push ecx
call dword [sym.imp.MSVCR120.dll__itoa]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esi + 0x13b8]
add eax, 0x4cb
lea eax, [esi + eax*4]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00411be0
add esp, 0x18
push eax
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0x56
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x180]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
mov edx, dword [ebp - 0x150]
mov ecx, dword [esi + 0x1324]
imul ecx, eax
mov eax, dword [ebp - 0x17c]
add eax, 3
add eax, ecx
mov ecx, dword [esi + 0x13b8]
mov dword [ebp - 0x148], eax
cmp ecx, 3
jb 0x4b574d
cmp ecx, 0xf
jbe 0x4b5757
cmp ecx, 0x17
jb 0x4b5768
cmp ecx, 0x18
ja 0x4b5768
mov eax, dword [esi + 0x1320]
sub eax, dword [esi + 0x1328]
sub eax, 2
jmp 0x4b5775
mov eax, dword [esi + 0x1320]
sub eax, dword [esi + 0x1328]
dec eax
mov dword [ebp - 0x144], eax
mov eax, ecx
push dword [ebp - 0x188]
shl eax, 4
add eax, ecx
mov ecx, dword [ebp - 0x148]
add ecx, 0xa
lea eax, [edx + eax*4]
movzx eax, word [eax*2 + 0x52f1a4]
imul eax, dword [esi + 0x1324]
add eax, ecx
mov ecx, edi
mov dword [ebp - 0x140], eax
mov eax, dword [esi + 0x1320]
dec eax
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x148]
push eax
call fcn.00402760
mov eax, dword [esi + 0x13b8]
cmp eax, 0xb
jb 0x4b5873
cmp eax, 0xd
ja 0x4b5873
push 0x962
push dword [0x52ec00]
call dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
add esp, 8
test eax, eax
je 0x4b5859
cmp dword [esi + 0x1504], 1
jne 0x4b581f
mov eax, dword [esi + 0x2ec]
cmp eax, 3
jl 0x4b5869
cmp eax, 5
jg 0x4b5869
mov eax, 1
mov dword [ebp - 0x15c], eax
jmp 0x4b58c7
cmp dword [esi + 0x1508], 1
jne 0x4b58c1
mov eax, dword [esi + 0x2ec]
cmp eax, 3
jl 0x4b584c
cmp eax, 5
jg 0x4b584c
mov eax, 3
mov dword [ebp - 0x15c], eax
jmp 0x4b58c7
mov eax, 2
mov dword [ebp - 0x15c], eax
jmp 0x4b58c7
mov eax, dword [esi + 0x2ec]
cmp eax, 2
je 0x4b580f
cmp eax, 3
je 0x4b580f
xor eax, eax
mov dword [ebp - 0x15c], eax
jmp 0x4b58c7
cmp eax, 6
jne 0x4b58c1
cmp dword [esi + 0x1504], 1
jne 0x4b5895
xor eax, eax
cmp dword [esi + 0x2ec], 2
setge al
mov dword [ebp - 0x15c], eax
jmp 0x4b589b
mov eax, dword [ebp - 0x15c]
cmp dword [esi + 0x1508], 1
jne 0x4b58c7
mov eax, dword [esi + 0x2ec]
cmp eax, 2
jl 0x4b584c
cmp eax, 3
jg 0x4b584c
mov eax, 3
mov dword [ebp - 0x15c], eax
jmp 0x4b58c7
mov eax, dword [ebp - 0x15c]
push 1
push 1
push 1
push 0
push 1
shl al, 3
lea ecx, [ebp - 0x154]
push 0
inc al
add al, byte [ebp - 0x150]
push 0
push ecx
movzx eax, al
push eax
push 0xa
push dword [0x52ec00]
call dword [sym.imp.Y747CMNFNC.dll_YCFGetAxisName]
add esp, 0x2c
lea eax, [ebp - 0x154]
lea ecx, [ebp - 0x184]
push eax
call dword [sym.imp.mfc120.dll_Ordinal_1524]
lea ecx, [ebp - 0x184]
call dword [sym.imp.mfc120.dll_Ordinal_8559]
lea ecx, [ebp - 0x184]
call dword [sym.imp.mfc120.dll_Ordinal_8028]
test al, al
je 0x4b596d
push 0xa
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
mov eax, dword [ebp - 0x15c]
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x20], xmm0
lea eax, [eax*8 + 1]
add eax, dword [ebp - 0x150]
push eax
call dword [sym.imp.MSVCR120.dll__itoa]
add esp, 0xc
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x184]
push eax
call dword [sym.imp.mfc120.dll_Ordinal_1524]
jmp 0x4b5979
lea ecx, [ebp - 0x184]
call dword [sym.imp.mfc120.dll_Ordinal_8559]
push str._AXIS
lea ecx, [ebp - 0x184]
call dword [sym.imp.mfc120.dll_Ordinal_1691]
push 5
lea eax, [ebp - 0x148]
mov ecx, edi
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.0040acd0
mov ecx, dword [esi + 0x13b8]
mov eax, ecx
mov edx, dword [ebp - 0x150]
shl eax, 4
inc edx
add eax, ecx
mov dword [ebp - 0x150], edx
movzx eax, word [eax*8 + 0x52f1a0]
cmp edx, eax
jl 0x4b5640
jmp 0x4b4f69
xorps xmm0, xmm0
lea ecx, [ebp - 0x160]
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.mfc120.dll_Ordinal_316]
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 0x48
call dword [sym.imp.mfc120.dll_Ordinal_4272]
mov eax, dword [esi + 0x2ec]
inc eax
push eax
lea eax, [ebp - 0x160]
push 0x4d5068
push eax
call dword [sym.imp.mfc120.dll_Ordinal_4764]
mov edx, dword [esi + 0x13b8]
xor edi, edi
mov eax, edx
xor ecx, ecx
shl eax, 4
add esp, 0xc
add eax, edx
mov dword [ebp - 0x168], ecx
cmp di, word [eax*8 + 0x52f1a0]
mov edi, dword [ebp - 0x164]
jae 0x4b5dbf
mov eax, edx
mov dword [ebp - 0x178], 0
shl eax, 4
add eax, edx
lea eax, [ecx + eax*4]
movzx eax, word [eax*2 + 0x52f1e6]
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x17c]
push eax
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSTransPointPixel]
mov ecx, dword [ebp - 0x168]
xorps xmm0, xmm0
add esp, 8
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x20], xmm0
test ecx, ecx
jne 0x4b5c9a
cmp dword [esi + 0x13b8], 0x1a
lea eax, [ebp - 0x30]
push 0x20
push eax
mov eax, dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x20], xmm0
jne 0x4b5ab9
push 0x9c8
jmp 0x4b5abe
push 0x9c9
push dword [0x52ec00]
call eax
add esp, 0x10
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x180]
push eax
call dword [sym.imp.mfc120.dll_Ordinal_1524]
lea ecx, [ebp - 0x180]
call dword [sym.imp.mfc120.dll_Ordinal_14188]
lea ecx, [ebp - 0x180]
call dword [sym.imp.mfc120.dll_Ordinal_14194]
push 0x20
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push 0x28a
push dword [0x52ec00]
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
add esp, 0x10
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc120.dll_Ordinal_316]
mov eax, dword [esi + 0x2ec]
inc eax
mov byte [ebp - 4], 0x49
cmp dword [esi + 0x13b8], 0x1a
push eax
lea eax, [ebp - 0x150]
jne 0x4b5b9c
push str._d_AXIS
push eax
call dword [sym.imp.mfc120.dll_Ordinal_4764]
mov eax, dword [esi + 0x2ec]
add esp, 0xc
inc eax
cmp eax, 0xa
lea eax, [ebp - 0x150]
push eax
jge 0x4b5b8e
lea eax, [ebp - 0x14c]
push 0x4d6240
push eax
call fcn.0049d1a0
add esp, 0xc
push eax
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0x4a
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x14c]
jmp 0x4b5bda
lea ecx, [ebp - 0x180]
call dword [sym.imp.mfc120.dll_Ordinal_1521]
jmp 0x4b5be0
push 0x4d5068
push eax
call dword [sym.imp.mfc120.dll_Ordinal_4764]
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x154]
push 0x4d6240
push eax
call fcn.0049d1a0
add esp, 0x18
push eax
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0x4b
call dword [sym.imp.mfc120.dll_Ordinal_1687]
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov edi, dword [esi + 0x1324]
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x158], edi
call dword [sym.imp.mfc120.dll_Ordinal_5764]
mov ecx, dword [esi + 0x13b8]
imul eax, edi
cdq
sub eax, edx
mov edx, ecx
mov edi, eax
shl edx, 4
add edx, ecx
sar edi, 1
mov ecx, dword [ebp - 0x158]
movzx eax, word [edx*8 + 0x52f1a4]
imul eax, ecx
add eax, 0xa
cdq
sub eax, edx
sar eax, 1
sub eax, edi
add eax, dword [ebp - 0x17c]
lea eax, [eax + ecx*2]
add eax, 3
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x148], eax
call dword [sym.imp.mfc120.dll_Ordinal_5764]
imul eax, dword [esi + 0x1324]
mov edi, dword [esi + 0x1320]
mov ecx, edi
mov byte [ebp - 4], 0x48
add eax, dword [ebp - 0x148]
mov dword [ebp - 0x140], eax
mov eax, dword [esi + 0x1328]
lea eax, [eax + eax*2]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
lea eax, [edi - 2]
sub ecx, 3
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x144], ecx
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
jmp 0x4b5d66
lea eax, [ecx - 1]
cmp eax, 3
ja 0x4b5d6c
push 0x20
lea eax, [ebp - 0x30]
push eax
lea eax, [ecx + 0x9c3]
push eax
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
add esp, 0x10
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x180]
push eax
call dword [sym.imp.mfc120.dll_Ordinal_1524]
lea ecx, [ebp - 0x30]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b5cd8
mov edi, dword [esi + 0x1324]
sub ecx, edx
mov eax, dword [esi + 0x13b8]
imul ecx, edi
mov dword [ebp - 0x158], ecx
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [ebp - 0x168]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x158]
movzx eax, word [eax*2 + 0x52f1a4]
imul eax, edi
shr ecx, 1
add eax, 0xa
cdq
sub eax, edx
sar eax, 1
sub eax, ecx
lea ecx, [edi*4 + 3]
add eax, dword [ebp - 0x17c]
add ecx, edi
add eax, ecx
mov ecx, dword [esi + 0x1320]
mov dword [ebp - 0x148], eax
add eax, dword [ebp - 0x158]
mov dword [ebp - 0x140], eax
mov eax, ecx
sub eax, dword [esi + 0x1328]
sub eax, 3
mov dword [ebp - 0x144], eax
lea eax, [ecx - 2]
mov dword [ebp - 0x13c], eax
mov edi, dword [ebp - 0x164]
push 2
mov ecx, edi
call sub.mfc120.dll_Ordinal_13094
push 5
lea eax, [ebp - 0x148]
mov ecx, edi
push eax
lea eax, [ebp - 0x180]
push eax
call fcn.0040acd0
push 1
mov ecx, edi
call sub.mfc120.dll_Ordinal_13094
mov edx, dword [esi + 0x13b8]
mov eax, edx
mov ecx, dword [ebp - 0x168]
shl eax, 4
inc ecx
add eax, edx
mov dword [ebp - 0x168], ecx
movzx eax, word [eax*8 + 0x52f1a0]
cmp ecx, eax
jl 0x4b5a41
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x160]
jmp 0x4b4f63
mov eax, ecx
mov dword [ebp - 0x178], 0
shl eax, 4
add eax, ecx
movzx eax, word [eax*8 + 0x52f1e6]
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x17c]
push eax
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSTransPointPixel]
mov edi, dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
lea eax, [ebp - 0x30]
push 0x20
push eax
xorps xmm0, xmm0
push 0x28a
push dword [0x52ec00]
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x20], xmm0
call edi
add esp, 0x18
lea ecx, [ebp - 0x160]
call dword [sym.imp.mfc120.dll_Ordinal_316]
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 0x2c
call dword [sym.imp.mfc120.dll_Ordinal_4272]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x160]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
lea ecx, [ebp - 0x160]
call dword [sym.imp.mfc120.dll_Ordinal_14188]
lea ecx, [ebp - 0x160]
call dword [sym.imp.mfc120.dll_Ordinal_14194]
xorps xmm0, xmm0
lea ecx, [ebp - 0x15c]
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x20], xmm0
call dword [sym.imp.mfc120.dll_Ordinal_316]
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x2d
call dword [sym.imp.mfc120.dll_Ordinal_4272]
mov eax, dword [esi + 0x2ec]
inc eax
push eax
lea eax, [ebp - 0x15c]
push 0x4d5068
push eax
call dword [sym.imp.mfc120.dll_Ordinal_4764]
push 0x20
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push 0x23d
push dword [0x52ec00]
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x20], xmm0
call edi
add esp, 0x1c
lea ecx, [ebp - 0x168]
call dword [sym.imp.mfc120.dll_Ordinal_316]
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x2e
call dword [sym.imp.mfc120.dll_Ordinal_4272]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x168]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
lea ecx, [ebp - 0x168]
call dword [sym.imp.mfc120.dll_Ordinal_14188]
lea ecx, [ebp - 0x168]
call dword [sym.imp.mfc120.dll_Ordinal_14194]
xorps xmm0, xmm0
lea eax, [ebp - 0x30]
push 0x20
movdqu xmmword [ebp - 0x30], xmm0
push eax
movdqu xmmword [ebp - 0x20], xmm0
push 0x5a
push dword [0x52ec00]
call edi
add esp, 0x10
lea ecx, [ebp - 0x16c]
call dword [sym.imp.mfc120.dll_Ordinal_316]
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x2f
call dword [sym.imp.mfc120.dll_Ordinal_4272]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x16c]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
lea ecx, [ebp - 0x16c]
call dword [sym.imp.mfc120.dll_Ordinal_14188]
lea ecx, [ebp - 0x16c]
call dword [sym.imp.mfc120.dll_Ordinal_14194]
push 0x20
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push 0x113b
push dword [0x52ec00]
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x20], xmm0
call edi
add esp, 0x10
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc120.dll_Ordinal_316]
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 0x30
call dword [sym.imp.mfc120.dll_Ordinal_4272]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc120.dll_Ordinal_14188]
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc120.dll_Ordinal_14194]
lea ecx, [ebp - 0x174]
call dword [sym.imp.mfc120.dll_Ordinal_316]
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x31
call dword [sym.imp.mfc120.dll_Ordinal_4272]
mov edi, dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
push 0x41f
push dword [0x52ec00]
call edi
push 0x7e
push dword [0x52ec00]
mov dword [ebp - 0x14c], eax
call edi
push 0x494
push dword [0x52ec00]
mov dword [ebp - 0x158], eax
call edi
push 0x13f1
push dword [0x52ec00]
mov edi, eax
call dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
push 0x96
push dword [0x52ec00]
mov dword [ebp - 0x154], eax
call dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
add esp, 0x28
test eax, eax
je 0x4b6391
cmp dword [esi + 0x2e8], 0
je 0x4b6391
cmp dword [ebp - 0x14c], 0
jne 0x4b6298
cmp dword [ebp - 0x158], 0
je 0x4b61f7
cmp dword [ebp - 0x154], 0
je 0x4b6129
cmp dword [esi + 0x2ec], 1
jne 0x4b6129
push 0x4eb388
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00411be0
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x32
push ecx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00433e40
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x33
push ecx
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00433e40
add esp, 0x24
mov byte [ebp - 4], 0x34
push eax
lea ecx, [ebp - 0x174]
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x14c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x158]
jmp 0x4b6387
test edi, edi
je 0x4b614c
mov eax, dword [esi + 0x2ec]
test eax, eax
je 0x4b62e9
cmp eax, 1
je 0x4b62e9
test edi, edi
jne 0x4b6391
cmp dword [esi + 0x2ec], 0
jne 0x4b61a9
push 0x4eb388
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00411be0
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x3d
push ecx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00433e40
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x3e
push ecx
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00433e40
add esp, 0x24
mov byte [ebp - 4], 0x3f
jmp 0x4b60f9
test edi, edi
jne 0x4b6391
cmp dword [esi + 0x2ec], 1
jne 0x4b6391
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00433e40
add esp, 0xc
push eax
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x40
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x14c]
jmp 0x4b6387
test edi, edi
je 0x4b6258
cmp dword [esi + 0x2ec], 0
jne 0x4b6258
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00433e40
push 0x4eb388
push eax
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 0x39
push eax
call fcn.00411be0
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x3a
push ecx
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00433e40
add esp, 0x24
mov byte [ebp - 4], 0x3b
jmp 0x4b60f9
cmp dword [ebp - 0x154], 0
je 0x4b6282
cmp dword [esi + 0x2ec], 1
jne 0x4b6282
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x174]
call dword [sym.imp.mfc120.dll_Ordinal_1521]
jmp 0x4b6391
test edi, edi
je 0x4b6391
cmp dword [esi + 0x2ec], 1
je 0x4b62b0
jmp 0x4b6391
mov eax, dword [esi + 0x2ec]
test eax, eax
je 0x4b62e9
cmp eax, 1
je 0x4b62e9
cmp eax, 2
jne 0x4b6391
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00433e40
add esp, 0xc
push eax
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x3c
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x14c]
jmp 0x4b6387
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x170]
push eax
call fcn.00433e40
push 0x4eb388
push eax
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 0x35
push eax
call fcn.00411be0
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 0x36
push ecx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00433e40
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0x37
push ecx
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00433e40
add esp, 0x30
push eax
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x38
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x14c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x158]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x31
call dword [sym.imp.mfc120.dll_Ordinal_1041]
push 0x60
push dword [0x52ec00]
call dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
add esp, 8
test eax, eax
je 0x4b648b
lea ecx, [ebp - 0x174]
call dword [sym.imp.mfc120.dll_Ordinal_8028]
test al, al
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x160]
push eax
je 0x4b63f3
lea eax, [ebp - 0x14c]
push eax
call fcn.00433e40
add esp, 0xc
push eax
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x41
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x14c]
jmp 0x4b6481
lea eax, [ebp - 0x170]
push eax
call fcn.00433e40
push 0x4eb38c
push eax
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 0x42
push eax
call fcn.00411be0
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x43
push ecx
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.00433e40
push 0x4d72dc
push eax
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0x44
push eax
call fcn.00411be0
add esp, 0x30
push eax
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x45
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0x14c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x154]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x158]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x31
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov edi, dword [esi + 0x1320]
mov eax, edi
sub eax, dword [esi + 0x1328]
mov edx, dword [ebp - 0x17c]
sub eax, 4
mov dword [ebp - 0x144], eax
mov eax, dword [esi + 0x1324]
mov ecx, eax
shl ecx, 4
sub ecx, eax
mov dword [ebp - 0x148], edx
lea eax, [edx + ecx*2]
mov dword [ebp - 0x140], eax
lea eax, [edi - 3]
mov dword [ebp - 0x13c], eax
mov eax, dword [esi + 0x2ec]
test eax, eax
jne 0x4b64e4
mov ecx, 0xffff
mov dword [ebp - 0x170], eax
jmp 0x4b6535
cmp eax, 1
jne 0x4b64f7
xor ecx, ecx
mov dword [ebp - 0x170], 0xffff
jmp 0x4b6535
cmp eax, 2
jne 0x4b650d
mov ecx, 0xffffff
mov dword [ebp - 0x170], 0xff0000
jmp 0x4b6535
cmp eax, 3
jne 0x4b6523
mov ecx, 0xff0000
mov dword [ebp - 0x170], 0xffffff
jmp 0x4b6535
mov eax, dword [ebp - 0x18c]
mov ecx, dword [ebp - 0x18c]
mov dword [ebp - 0x170], eax
mov edi, dword [ebp - 0x164]
push ecx
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x38]
call eax
mov edx, dword [edi]
mov ecx, edi
push dword [ebp - 0x170]
mov dword [ebp - 0x14c], eax
mov edx, dword [edx + 0x34]
call edx
mov ecx, dword [ebp - 0x164]
mov edi, eax
push 2
call sub.mfc120.dll_Ordinal_13094
push dword [ebp - 0x188]
mov ecx, dword [ebp - 0x164]
lea eax, [ebp - 0x148]
push eax
call fcn.00402760
mov ecx, dword [ebp - 0x164]
lea eax, [ebp - 0x148]
push 4
push eax
lea eax, [ebp - 0x174]
push eax
call fcn.0040acd0
mov ecx, dword [ebp - 0x164]
push 1
call sub.mfc120.dll_Ordinal_13094
mov ecx, dword [ebp - 0x164]
push edi
mov edi, ecx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x14c]
call dword [eax + 0x34]
lea ecx, [ebp - 0x174]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x16c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x168]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x15c]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc120.dll_Ordinal_1041]
jmp 0x4b4f6f