Function at 0x45afc0
Capabilities:
Check os version
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cdbe8
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x52bdd0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
push 2
mov dword [ebp - 0xdc], edi
call sub.mfc120.dll_Ordinal_13094
mov esi, dword [edi]
push 0
call dword [sym.imp.Y747UTLSTD.dll_YUSGetUserSystemColor]
add esp, 4
mov ecx, edi
push eax
call dword [esi + 0x38]
mov esi, dword [edi]
push 0xf
call dword [sym.imp.Y747UTLSTD.dll_YUSGetUserSystemColor]
add esp, 4
mov ecx, edi
push eax
call dword [esi + 0x34]
mov edx, dword [edi]
lea eax, [ebx + 0xac]
push eax
mov ecx, edi
call dword [edx + 0x30]
push 0x7cf
push dword [0x52ec00]
call dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
push 0
push dword [0x52ec00]
mov dword [ebp - 0xe4], eax
call dword [sym.imp.Y747WINSYS.dll_YWSGetTopAdrs]
mov ecx, dword [0x52ec00]
lea eax, [ebp - 0xd0]
push eax
lea eax, [ecx + 0x400010]
push eax
push ecx
call dword [sym.imp.Y747CMNFNC.dll_YCFDCurPos]
add esp, 0x1c
lea ecx, [ebx + 0x48c]
lea edx, [ebp - 0xd0]
mov esi, 0x7c
lea ebx, [ebx]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x45b0ab
add ecx, 4
add edx, 4
sub esi, 4
jae 0x45b090
cmp dword [ebp + 0xc], 0
je 0x45b2ce
cmp dword [ebx + 0x588], 0
jle 0x45b2b5
mov eax, 0xfffffae5
mov esi, 8
sub eax, ebx
mov dword [ebp - 0xe8], esi
mov dword [ebp - 0xec], eax
lea eax, [esi - 8]
mov ecx, ebx
push eax
call fcn.0045aea0
test eax, eax
je 0x45b143
mov esi, dword [ebx + 0x164]
mov ecx, esi
imul ecx, dword [ebp - 0xe8]
mov edx, dword [ebx + 0x160]
mov dword [ebp - 0xf4], ecx
lea eax, [edx + edx]
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xf8], eax
add ecx, 0x51c
lea eax, [edx + edx*2]
add ecx, ebx
add ecx, dword [ebp - 0xe8]
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x108]
push eax
imul ecx, esi
lea eax, [ebp - 0xf8]
push eax
push edi
mov dword [ebp - 0x104], ecx
call dword [sym.imp.Y747UTLSTD.dll_YUSDrawFai]
add esp, 0xc
jmp 0x45b1b9
push 0x4d6240
lea ecx, [ebp - 0xf0]
call dword [sym.imp.mfc120.dll_Ordinal_310]
mov eax, dword [ebx + 0x164]
mov ecx, dword [ebp - 0xdc]
mov edi, dword [ebx + 0x160]
imul eax, esi
add edi, edi
mov dword [ebp - 4], 0
mov esi, dword [ecx]
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xd4], eax
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0xf0]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
push dword [ebp - 0xd4]
push edi
mov edi, dword [ebp - 0xdc]
mov ecx, edi
call dword [esi + 0x64]
lea ecx, [ebp - 0xf0]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov esi, dword [ebp - 0xe8]
mov al, byte [ebx + esi + 0x51c]
test al, al
je 0x45b299
movzx eax, al
lea ecx, [ebp - 0x30]
push 0x20
push ecx
mov byte [ebp - 0x30], 0
lea eax, [ebp + eax*4 - 0xd4]
push eax
movzx eax, byte [ebx + esi + 0x54d]
sub esp, 0x28
add eax, 9
lea eax, [eax + eax*4]
movdqu xmm0, xmmword [ebx + eax*8]
lea ecx, [ebx + eax*8]
mov eax, esp
push dword [0x52ec00]
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [ecx + 0x10]
movdqu xmmword [eax + 0x10], xmm0
movq xmm0, qword [ecx + 0x20]
movq qword [eax + 0x20], xmm0
call dword [sym.imp.Y747UTLSTD.dll_YUSBinToAsc]
add esp, 0x38
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0xd8]
push eax
call dword [sym.imp.mfc120.dll_Ordinal_310]
mov eax, dword [ebx + 0x164]
lea ecx, [ebp - 0xd8]
mov edi, dword [edi]
imul eax, esi
mov dword [ebp - 4], 1
mov dword [ebp - 0xd4], eax
mov eax, dword [ebx + 0x160]
lea esi, [eax + eax*4]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0xd8]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
mov ecx, dword [ebp - 0xdc]
push eax
push dword [ebp - 0xd4]
push esi
call dword [edi + 0x64]
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov esi, dword [ebp - 0xe8]
mov edi, dword [ebp - 0xdc]
inc esi
mov dword [ebp - 0xe8], esi
lea eax, [esi - 8]
cmp eax, dword [ebx + 0x588]
jl 0x45b0d0
mov ecx, 0x20
lea esi, [ebp - 0xd0]
lea edi, [ebx + 0x48c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xdc]
imul eax, dword [ebx + 0x520], 0x2f0
mov ecx, dword [0x52ec00]
lea edx, [ecx + 0x4005a6]
add edx, eax
mov ax, word [ebx + 0x596]
cmp ax, word [edx]
jne 0x45b2fc
cmp dword [ebp + 0xc], 0
je 0x45b3d5
movdqu xmm0, xmmword [0x50f510]
push 0x20
lea eax, [ebp - 0x30]
mov byte [ebp - 0x30], 0
push eax
push edx
sub esp, 0x28
mov eax, esp
push ecx
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [0x50f520]
movdqu xmmword [eax + 0x10], xmm0
movq xmm0, qword [0x50f530]
movq qword [eax + 0x20], xmm0
call dword [sym.imp.Y747UTLSTD.dll_YUSBinToAsc]
add esp, 0x38
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0xd8]
push eax
call dword [sym.imp.mfc120.dll_Ordinal_310]
mov edi, dword [edi]
lea ecx, [ebp - 0xd8]
xor eax, eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0xe4], eax
setne al
lea eax, [eax*2 + 3]
imul eax, dword [ebx + 0x164]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebx + 0x160]
lea esi, [eax + eax*8]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0xd8]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
push dword [ebp - 0xd4]
push esi
mov esi, dword [ebp - 0xdc]
mov ecx, esi
call dword [edi + 0x64]
lea ecx, [ebp - 0xd8]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
imul ecx, dword [ebx + 0x520], 0x2f0
mov eax, dword [0x52ec00]
mov ax, word [ecx + eax + 0x4005a6]
mov word [ebx + 0x596], ax
jmp 0x45b3db
mov esi, dword [ebp - 0xdc]
lea ecx, [ebp - 0xe0]
call dword [sym.imp.mfc120.dll_Ordinal_316]
mov eax, dword [ebx + 0x480]
mov dword [ebp - 4], 3
cmp eax, dword [ebx + 0x47c]
jne 0x45b406
cmp dword [ebp + 0xc], 0
je 0x45b629
cmp dword [ebp - 0xe4], 0
je 0x45b460
push 0x4e05e4
lea ecx, [ebp - 0xe0]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
mov eax, dword [ebx + 0x160]
lea ecx, [ebp - 0xe0]
mov edi, dword [ebx + 0x164]
add eax, eax
mov esi, dword [esi]
mov dword [ebp - 0xd4], eax
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0xe0]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
mov ecx, dword [ebp - 0xdc]
push eax
push edi
push dword [ebp - 0xd4]
call dword [esi + 0x64]
push 0x20
lea eax, [ebp - 0x50]
push eax
xor eax, eax
cmp dword [ebx + 0x3f8], eax
sete al
lea eax, [eax*2 + 0x3f]
push eax
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
add esp, 0x10
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0xd8]
push eax
call dword [sym.imp.mfc120.dll_Ordinal_314]
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xd8]
mov edi, dword [ebx + 0x160]
mov byte [ebp - 4], 4
add edi, edi
mov esi, dword [eax]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0xd8]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
mov ecx, dword [ebp - 0xdc]
push eax
push 0
push edi
call dword [esi + 0x64]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov eax, dword [ebx + 0x160]
mov ecx, ebx
push dword [ebx + 0x580]
mov esi, dword [ebp - 0xdc]
push 0
lea eax, [eax + eax*2]
add eax, eax
push eax
push dword [ebx + 0x47c]
push esi
call fcn.0045c780
lea eax, [ebx + 0x59e]
push eax
lea ecx, [ebp - 0xe0]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
cmp dword [ebp - 0xe4], 0
lea ecx, [ebp - 0xe0]
jne 0x45b54e
push 0x10
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.mfc120.dll_Ordinal_8204]
push eax
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc120.dll_Ordinal_1521]
jmp 0x45b5b1
call dword [sym.imp.mfc120.dll_Ordinal_5764]
cmp eax, 0x20
jle 0x45b5c1
push 0x1f
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xe0]
call dword [sym.imp.mfc120.dll_Ordinal_8204]
push eax
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc120.dll_Ordinal_1041]
push 0x4e060c
lea ecx, [ebp - 0xd4]
call dword [sym.imp.mfc120.dll_Ordinal_310]
push eax
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc120.dll_Ordinal_1687]
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov ecx, dword [ebp - 0xe4]
xor eax, eax
mov esi, dword [esi]
test ecx, ecx
mov edi, 0x13
setne al
imul eax, dword [ebx + 0x164]
test ecx, ecx
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xd4], eax
mov eax, 6
cmovne edi, eax
imul edi, dword [ebx + 0x160]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0xe0]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
mov ecx, dword [ebp - 0xdc]
push eax
push dword [ebp - 0xd4]
push edi
call dword [esi + 0x64]
mov eax, dword [ebx + 0x47c]
mov dword [ebx + 0x480], eax
mov eax, dword [ebx + 0x488]
cmp eax, dword [ebx + 0x484]
jne 0x45b642
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x45b880
cmp dword [ebp - 0xe4], 0
lea ecx, [ebp - 0xe0]
je 0x45b6c0
push 0x4e0610
call dword [sym.imp.mfc120.dll_Ordinal_1524]
mov eax, dword [ebx + 0x164]
lea ecx, [ebp - 0xe0]
mov edi, dword [ebx + 0x160]
add eax, eax
mov dword [ebp - 0xd4], eax
add edi, edi
mov eax, dword [ebp - 0xdc]
mov esi, dword [eax]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0xe0]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
mov ecx, dword [ebp - 0xdc]
push eax
push dword [ebp - 0xd4]
push edi
call dword [esi + 0x64]
push 0x4e05e4
lea ecx, [ebp - 0xe0]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
mov eax, dword [ebx + 0x164]
lea eax, [eax + eax*2]
jmp 0x45b6d1
push str.__________________________________
call dword [sym.imp.mfc120.dll_Ordinal_1524]
mov eax, dword [ebx + 0x164]
mov edi, dword [ebx + 0x160]
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xd4], eax
add edi, edi
mov eax, dword [ebp - 0xdc]
mov esi, dword [eax]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0xe0]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
push dword [ebp - 0xd4]
push edi
mov edi, dword [ebp - 0xdc]
mov ecx, edi
call dword [esi + 0x64]
mov ecx, dword [ebx + 0x584]
cmp ecx, 1
je 0x45b727
cmp ecx, 2
jne 0x45b871
xor eax, eax
cmp ecx, 1
mov ecx, ebx
setne al
inc eax
push eax
mov eax, dword [ebx + 0x164]
add eax, eax
push eax
mov eax, dword [ebx + 0x160]
lea eax, [eax + eax*2]
add eax, eax
push eax
push dword [ebx + 0x484]
push edi
call fcn.0045c780
lea eax, [ebx + 0x5d0]
push eax
lea ecx, [ebp - 0xe0]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
mov esi, dword [ebp - 0xe4]
lea ecx, [ebp - 0xe0]
test esi, esi
jne 0x45b799
push 0x10
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.mfc120.dll_Ordinal_8204]
push eax
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 8
call dword [sym.imp.mfc120.dll_Ordinal_1521]
jmp 0x45b7fc
call dword [sym.imp.mfc120.dll_Ordinal_5764]
cmp eax, 0x20
jle 0x45b80c
push 0x1f
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xe0]
call dword [sym.imp.mfc120.dll_Ordinal_8204]
push eax
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 9
call dword [sym.imp.mfc120.dll_Ordinal_1521]
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc120.dll_Ordinal_1041]
push 0x4e060c
lea ecx, [ebp - 0xd4]
call dword [sym.imp.mfc120.dll_Ordinal_310]
push eax
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0xa
call dword [sym.imp.mfc120.dll_Ordinal_1687]
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc120.dll_Ordinal_1041]
xor eax, eax
mov ecx, 6
test esi, esi
setne al
lea eax, [eax*2 + 1]
imul eax, dword [ebx + 0x164]
test esi, esi
mov esi, dword [edi]
mov dword [ebp - 0xd4], eax
mov eax, 0x13
cmovne eax, ecx
lea ecx, [ebp - 0xe0]
imul eax, dword [ebx + 0x160]
mov dword [ebp - 0xec], eax
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0xe0]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
push dword [ebp - 0xd4]
mov eax, dword [ebp - 0xec]
mov ecx, edi
push eax
call dword [esi + 0x64]
mov eax, dword [ebx + 0x484]
mov esi, dword [ebp + 0xc]
mov dword [ebx + 0x488], eax
mov eax, dword [ebx + 0x478]
mov edi, dword [sym.imp.mfc120.dll_Ordinal_4764]
cmp eax, dword [ebx + 0x474]
jne 0x45b8aa
mov eax, dword [ebx + 0x470]
cmp eax, dword [ebx + 0x46c]
jne 0x45b8aa
test esi, esi
je 0x45b9e2
cmp dword [ebx + 0x3f8], 0
lea eax, [ebp - 0x50]
push 0x20
push eax
mov ecx, 0x40
mov eax, 0x61
cmovne eax, ecx
movzx eax, ax
push eax
push dword [0x52ec00]
call dword [sym.imp.Y747UTLSTD.dll_YUSGetClWord]
add esp, 0x10
lea ecx, [ebp - 0xe8]
call dword [sym.imp.mfc120.dll_Ordinal_316]
push dword [ebx + 0x46c]
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0xb
push 0x4d9660
push eax
call edi
add esp, 0xc
lea ecx, [ebp - 0xe8]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
cmp eax, 5
jg 0x45b918
cmp dword [ebx + 0x46c], 0
jge 0x45b929
push 0x4e065c
lea ecx, [ebp - 0xe8]
call dword [sym.imp.mfc120.dll_Ordinal_1524]
cmp dword [ebx + 0x3f8], 0
lea eax, [ebp - 0x50]
push dword [ebp - 0xe8]
push dword [ebx + 0x474]
push eax
lea eax, [ebp - 0xe0]
je 0x45b94f
push str._s_6ld__s
jmp 0x45b954
push str._s__6ld__s
push eax
call edi
mov edi, dword [ebx + 0x160]
lea ecx, [ebp - 0xe0]
xor eax, eax
add esp, 0x14
cmp dword [ebp - 0xe4], eax
setne al
add edi, edi
lea eax, [eax*2 + 2]
imul eax, dword [ebx + 0x164]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xdc]
mov esi, dword [eax]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0xe0]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
push dword [ebp - 0xd4]
push edi
mov edi, dword [ebp - 0xdc]
mov ecx, edi
call dword [esi + 0x64]
mov eax, dword [ebx + 0x474]
lea ecx, [ebp - 0xe8]
mov dword [ebx + 0x478], eax
mov eax, dword [ebx + 0x46c]
mov dword [ebx + 0x470], eax
mov byte [ebp - 4], 3
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov esi, dword [ebp + 0xc]
jmp 0x45b9e8
mov edi, dword [ebp - 0xdc]
push 1
push dword [ebx + 0x520]
mov ecx, ebx
call fcn.0045d100
movzx eax, ax
mov dword [ebp - 0xd4], eax
mov ax, word [ebx + 0x59a]
cmp ax, word [ebx + 0x598]
jne 0x45ba18
test esi, esi
je 0x45bd29
lea ecx, [ebp - 0xe4]
call dword [sym.imp.mfc120.dll_Ordinal_316]
mov eax, dword [ebp - 0xd4]
movzx eax, ax
push eax
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0xc
push 0x4e067c
push eax
call dword [sym.imp.mfc120.dll_Ordinal_4764]
mov eax, dword [ebx + 0x164]
lea ecx, [ebp - 0xe4]
imul esi, dword [ebx + 0x160], 0x32
add esp, 0xc
mov edi, dword [edi]
mov dword [ebp - 0xd4], eax
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0xe4]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
mov ecx, dword [ebp - 0xdc]
push eax
push dword [ebp - 0xd4]
push esi
call dword [edi + 0x64]
mov esi, dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
push 0x7d2
push dword [0x52ec00]
call esi
add esp, 8
test eax, eax
je 0x45bbd7
push 0x13c5
push dword [0x52ec00]
call esi
add esp, 8
test eax, eax
je 0x45bbd7
lea ecx, [ebx + 0x464]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
lea eax, [ebp - 0xe4]
push str._s
push eax
call dword [sym.imp.mfc120.dll_Ordinal_4764]
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xe4]
mov esi, dword [ebx + 0x164]
add esp, 0xc
imul edi, dword [ebx + 0x160], 0x37
mov eax, dword [eax]
add eax, 0x64
mov dword [ebp - 0xd4], eax
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0xe4]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
mov eax, dword [ebp - 0xd4]
push esi
mov esi, dword [ebp - 0xdc]
mov ecx, esi
push edi
call dword [eax]
cmp dword [ebx + 0x3fc], 1
mov edi, dword [sym.imp.Y747UTLSTD.dll_YUSGetUserSystemColor]
jne 0x45bb3e
mov eax, 0xff00ff
jmp 0x45bb45
push 0xf
call edi
add esp, 4
mov edx, dword [esi]
mov ecx, esi
push eax
call dword [edx + 0x34]
cmp dword [ebx + 0x3fc], 1
mov dword [ebp - 0xec], eax
jne 0x45bb63
mov eax, 0xffffff
jmp 0x45bb6a
push 0
call edi
add esp, 4
mov edx, dword [esi]
mov ecx, esi
push eax
call dword [edx + 0x38]
lea ecx, [ebx + 0x468]
mov dword [ebp - 0xd8], eax
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
lea eax, [ebp - 0xe4]
push 0x4dfe34
push eax
call dword [sym.imp.mfc120.dll_Ordinal_4764]
mov eax, dword [ebx + 0x160]
lea ecx, [ebp - 0xe4]
mov edi, dword [ebx + 0x164]
add esp, 0xc
mov esi, dword [esi]
shl eax, 6
mov dword [ebp - 0xd4], eax
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0xe4]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
push edi
push dword [ebp - 0xd4]
jmp 0x45bcf1
lea ecx, [ebx + 0x464]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
lea eax, [ebp - 0xe4]
push str._s
push eax
call dword [sym.imp.mfc120.dll_Ordinal_4764]
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xe4]
mov esi, dword [ebx + 0x164]
add esp, 0xc
imul edi, dword [ebx + 0x160], 0x36
mov eax, dword [eax]
add eax, 0x64
mov dword [ebp - 0xd4], eax
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0xe4]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
mov eax, dword [ebp - 0xd4]
push esi
mov esi, dword [ebp - 0xdc]
mov ecx, esi
push edi
call dword [eax]
cmp dword [ebx + 0x3fc], 1
mov edi, dword [sym.imp.Y747UTLSTD.dll_YUSGetUserSystemColor]
jne 0x45bc59
mov eax, 0xff00ff
jmp 0x45bc60
push 0xf
call edi
add esp, 4
mov edx, dword [esi]
mov ecx, esi
push eax
call dword [edx + 0x34]
cmp dword [ebx + 0x3fc], 1
mov dword [ebp - 0xec], eax
jne 0x45bc7e
mov eax, 0xffffff
jmp 0x45bc85
push 0
call edi
add esp, 4
mov edx, dword [esi]
mov ecx, esi
push eax
call dword [edx + 0x38]
lea ecx, [ebx + 0x468]
mov dword [ebp - 0xd8], eax
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
lea eax, [ebp - 0xe4]
push 0x4dfe34
push eax
call dword [sym.imp.mfc120.dll_Ordinal_4764]
mov eax, dword [ebx + 0x164]
lea ecx, [ebp - 0xe4]
mov esi, dword [esi]
add esp, 0xc
mov dword [ebp - 0xd4], eax
mov eax, dword [ebx + 0x160]
mov edi, eax
shl edi, 6
sub edi, eax
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0xe4]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
push dword [ebp - 0xd4]
push edi
mov edi, dword [ebp - 0xdc]
mov ecx, edi
call dword [esi + 0x64]
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0xec]
call dword [eax + 0x34]
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0xd8]
call dword [eax + 0x38]
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov esi, dword [ebp + 0xc]
mov ax, word [ebx + 0x594]
lea ecx, [ebx + 0x592]
cmp ax, word [ecx]
jne 0x45bd43
test esi, esi
je 0x45be31
movdqu xmm0, xmmword [0x50f538]
push 0x20
lea eax, [ebp - 0x30]
push eax
push ecx
sub esp, 0x28
mov eax, esp
push dword [0x52ec00]
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [0x50f548]
movdqu xmmword [eax + 0x10], xmm0
movq xmm0, qword [0x50f558]
movq qword [eax + 0x20], xmm0
call dword [sym.imp.Y747UTLSTD.dll_YUSBinToAsc]
add esp, 0x38
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.004608a0
push 0
push 3
lea eax, [ebp - 0x100]
mov ecx, ebx
push eax
call fcn.0045cb40
lea ecx, [ebp - 0xd8]
movdqu xmm0, xmmword [eax]
lea eax, [ebp - 0x30]
push eax
movdqu xmmword [ebp - 0x100], xmm0
call dword [sym.imp.mfc120.dll_Ordinal_310]
mov eax, dword [ebx + 0x160]
lea ecx, [ebp - 0xd8]
mov edi, eax
mov byte [ebp - 4], 0xd
shl edi, 4
sub edi, eax
mov eax, dword [ebp - 0xdc]
mov esi, dword [eax]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0xd8]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
movdqu xmm0, xmmword [ebp - 0x100]
push eax
psrldq xmm0, 4
movd eax, xmm0
push eax
push edi
mov edi, dword [ebp - 0xdc]
mov ecx, edi
call dword [esi + 0x64]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov ax, word [ebx + 0x592]
mov esi, dword [ebp + 0xc]
mov word [ebx + 0x594], ax
jmp 0x45be37
mov edi, dword [ebp - 0xdc]
mov ax, word [ebx + 0x58e]
lea ecx, [ebx + 0x58c]
cmp ax, word [ecx]
jne 0x45be51
test esi, esi
je 0x45bf3d
movdqu xmm0, xmmword [0x50f538]
push 0x20
lea eax, [ebp - 0x30]
push eax
push ecx
sub esp, 0x28
mov eax, esp
push dword [0x52ec00]
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [0x50f548]
movdqu xmmword [eax + 0x10], xmm0
movq xmm0, qword [0x50f558]
movq qword [eax + 0x20], xmm0
call dword [sym.imp.Y747UTLSTD.dll_YUSBinToAsc]
add esp, 0x38
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.004608a0
push 0
push 4
lea eax, [ebp - 0x100]
mov ecx, ebx
push eax
call fcn.0045cb40
lea ecx, [ebp - 0xd8]
movdqu xmm0, xmmword [eax]
lea eax, [ebp - 0x30]
push eax
movdqu xmmword [ebp - 0x100], xmm0
call dword [sym.imp.mfc120.dll_Ordinal_310]
mov eax, dword [ebx + 0x160]
lea ecx, [ebp - 0xd8]
mov edi, eax
mov byte [ebp - 4], 0xe
shl edi, 4
sub edi, eax
mov eax, dword [ebp - 0xdc]
mov esi, dword [eax]
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0xd8]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
movdqu xmm0, xmmword [ebp - 0x100]
push eax
psrldq xmm0, 4
movd eax, xmm0
push eax
push edi
mov edi, dword [ebp - 0xdc]
mov ecx, edi
call dword [esi + 0x64]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov ax, word [ebx + 0x58c]
mov esi, dword [ebp + 0xc]
mov word [ebx + 0x58e], ax
movzx eax, word [ebx + 0x598]
cmp word [ebx + 0x59a], ax
jne 0x45bf55
test esi, esi
je 0x45c45d
test ax, ax
jle 0x45c440
mov ecx, 0xfa0
cmp ax, cx
jge 0x45c440
push 0x3c
push dword [0x52ec00]
call dword [sym.imp.Y747WINSYS.dll_YWSGetTopAdrs]
movsx ecx, word [ebx + 0x598]
lea esi, [ecx + ecx*2]
shl esi, 7
add esi, 0xfffffe80
add esi, eax
mov dword [ebp - 0xe8], esi
movzx eax, byte [esi + 8]
mov word [ebx + 0x59c], ax
mov byte [ebp - 0x30], 0
movzx eax, byte [esi + 8]
push eax
call dword [sym.imp.Y747CMNFNC.dll_YCFIsTapTool]
add esp, 0xc
test eax, eax
je 0x45bfe8
movdqu xmm0, xmmword [0x50f600]
push 0x20
lea ecx, [ebp - 0x30]
lea eax, [esi + 0x14]
push ecx
push eax
sub esp, 0x28
mov eax, esp
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [0x50f610]
movdqu xmmword [eax + 0x10], xmm0
movq xmm0, qword [0x50f620]
jmp 0x45c059
mov al, byte [esi + 8]
cmp al, 0x21
jb 0x45bff3
cmp al, 0x23
jbe 0x45bff7
cmp al, 0x2b
jne 0x45c029
movdqu xmm0, xmmword [0x50f650]
push 0x20
lea ecx, [ebp - 0x30]
lea eax, [esi + 0x14]
push ecx
push eax
sub esp, 0x28
mov eax, esp
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [0x50f660]
movdqu xmmword [eax + 0x10], xmm0
movq xmm0, qword [0x50f670]
jmp 0x45c059
movdqu xmm0, xmmword [0x50f5b0]
push 0x20
lea ecx, [ebp - 0x30]
lea eax, [esi + 0x14]
push ecx
push eax
sub esp, 0x28
mov eax, esp
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [0x50f5c0]
movdqu xmmword [eax + 0x10], xmm0
movq xmm0, qword [0x50f5d0]
push dword [0x52ec00]
movq qword [eax + 0x20], xmm0
call dword [sym.imp.Y747UTLSTD.dll_YUSBinToAsc]
add esp, 0x38
push 0x7d2
push dword [0x52ec00]
call dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
add esp, 8
test eax, eax
je 0x45c09d
push 0x13c5
push dword [0x52ec00]
call dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
add esp, 8
test eax, eax
jne 0x45c111
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xd8]
call dword [sym.imp.mfc120.dll_Ordinal_310]
mov eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0xd8]
mov esi, dword [ebx + 0x164]
imul edi, dword [ebx + 0x160], 0x45
mov byte [ebp - 4], 0xf
mov eax, dword [eax]
add eax, 0x64
mov dword [ebp - 0xd4], eax
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0xd8]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
mov eax, dword [ebp - 0xd4]
push esi
push edi
mov edi, dword [ebp - 0xdc]
mov ecx, edi
call dword [eax]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov esi, dword [ebp - 0xe8]
movdqu xmm0, xmmword [0x50f5d8]
push 0x20
lea eax, [ebp - 0x30]
mov byte [ebp - 0x30], 0
push eax
lea eax, [esi + 0xa]
push eax
sub esp, 0x28
mov eax, esp
push dword [0x52ec00]
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [0x50f5e8]
movdqu xmmword [eax + 0x10], xmm0
movq xmm0, qword [0x50f5f8]
movq qword [eax + 0x20], xmm0
call dword [sym.imp.Y747UTLSTD.dll_YUSBinToAsc]
mov eax, dword [edi]
add esp, 0x38
test byte [esi + 0xb], 0x80
mov ecx, edi
je 0x45c16a
push 0xff
jmp 0x45c16f
push 0x8000
call dword [eax + 0x38]
push 0x7d2
push dword [0x52ec00]
mov dword [ebp - 0xf0], eax
call dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
add esp, 8
test eax, eax
je 0x45c280
push 0x13c5
push dword [0x52ec00]
call dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
add esp, 8
test eax, eax
je 0x45c280
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xd8]
call dword [sym.imp.mfc120.dll_Ordinal_310]
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0x10
push eax
imul eax, dword [ebx + 0x160], 0x35
mov ecx, edi
push dword [ebx + 0x164]
push eax
call fcn.00402b80
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0xf0]
call dword [eax + 0x38]
cmp byte [esi + 0x3c], 0
lea eax, [esi + 0x3c]
lea ecx, [ebp - 0xd8]
jne 0x45c248
push 0x4e068c
call dword [sym.imp.mfc120.dll_Ordinal_310]
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0x11
push eax
imul eax, dword [ebx + 0x160], 0x47
mov ecx, edi
push dword [ebx + 0x164]
push eax
call fcn.00402b80
lea ecx, [ebp - 0xd8]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
jmp 0x45c378
push eax
call dword [sym.imp.mfc120.dll_Ordinal_314]
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0x12
push eax
imul eax, dword [ebx + 0x160], 0x47
mov ecx, edi
push dword [ebx + 0x164]
push eax
call fcn.00402b80
lea ecx, [ebp - 0xd8]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
jmp 0x45c378
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xd8]
call dword [sym.imp.mfc120.dll_Ordinal_310]
mov eax, dword [ebx + 0x164]
lea ecx, [ebp - 0xd8]
imul esi, dword [ebx + 0x160], 0x4d
mov edi, dword [edi]
mov byte [ebp - 4], 0x13
mov dword [ebp - 0xd4], eax
call dword [sym.imp.mfc120.dll_Ordinal_5764]
push eax
lea ecx, [ebp - 0xd8]
call dword [sym.imp.mfc120.dll_Ordinal_1656]
push eax
push dword [ebp - 0xd4]
push esi
mov esi, dword [ebp - 0xdc]
mov ecx, esi
call dword [edi + 0x64]
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0xf0]
call dword [eax + 0x38]
mov eax, dword [ebp - 0xe8]
add eax, 0x3c
cmp byte [eax], 0
jne 0x45c339
push 0x4e068c
lea ecx, [ebp - 0xd8]
call dword [sym.imp.mfc120.dll_Ordinal_310]
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0x14
push eax
imul eax, dword [ebx + 0x160], 0x4f
mov ecx, esi
push dword [ebx + 0x164]
push eax
call fcn.00402b80
lea ecx, [ebp - 0xd8]
jmp 0x45c36c
push eax
lea ecx, [ebp - 0xe4]
call dword [sym.imp.mfc120.dll_Ordinal_314]
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0x15
push eax
imul eax, dword [ebx + 0x160], 0x4f
mov ecx, esi
push dword [ebx + 0x164]
push eax
call fcn.00402b80
lea ecx, [ebp - 0xe4]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov esi, dword [ebp - 0xe8]
movzx ecx, word [ebx + 0x59c]
cmp cx, 2
jne 0x45c437
mov ax, word [ebx + 0x59a]
cmp ax, word [ebx + 0x598]
je 0x45c431
mov ax, word [esi + 0x56]
mov edi, dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
mov word [ebx + 0x58c], ax
push 0x7d2
push dword [0x52ec00]
call edi
add esp, 8
test eax, eax
je 0x45c3db
push 0x13c5
push dword [0x52ec00]
call edi
add esp, 8
test eax, eax
je 0x45c3db
push dword [esi + 0x18]
jmp 0x45c3de
push dword [esi + 0x14]
mov ecx, ebx
call fcn.0045cdb0
mov word [ebx + 0x590], ax
mov word [0x50f4b8], ax
movzx eax, word [ebx + 0x598]
cmp word [ebx + 0x59a], ax
je 0x45c425
push 1
mov word [ebx + 0x59a], ax
push 0
mov word [0x52d5b8], ax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [ebx + 0x510], 0
jmp 0x45c440
cmp cx, 2
je 0x45c440
xor eax, eax
mov word [ebx + 0x58c], ax
movzx eax, word [ebx + 0x598]
cmp word [ebx + 0x59a], ax
je 0x45c45d
mov word [ebx + 0x59a], ax
mov word [0x52d5b8], ax
lea ecx, [ebp - 0xe0]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6016
mov esp, ebp
pop ebp
ret 8