Function at 0x1003c3bb
Capabilities:
Check os version

Disassembly:
mov eax, 0x10062ff7
call fcn.100620b0
sub esp, 0x268
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x48], ecx
inc edi
push edi
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x44], edx
call fcn.1002fd91
mov dword [ebp - 0x14], edi
xor ebx, ebx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x14], ebx
jmp 0x1003c400
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x7c]
mov dword [eax + ecx*4], 0xfffffff8
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1003c3f0
mov dword [ebp - 0x14], ebx
jmp 0x1003c41b
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xd0], 0x8216
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x1003c40a
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], ebx
jl 0x1003c52a
mov dword [ebp - 0x28], 0xa4d9a54e
mov dword [ebp - 0x1c], 0x3a7e
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x28], 0x7f5e1753
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x14]
neg ecx
mov eax, dword [ebp - 0x7c]
push 0
sbb ecx, ecx
inc ecx
cmp dword [eax + edx*4], ecx
mov eax, dword [ebp - 0x1c]
pop edx
sete dl
xor ecx, ecx
sub edx, eax
mov eax, dword [ebp - 0x7c]
cmp edx, dword [eax]
setle cl
xor eax, eax
cmp ecx, 0x2a1efe0c
setge al
xor ecx, ecx
cmp eax, 0x82ec
mov eax, dword [ebp - 0xcc]
setl cl
xor edx, edx
cmp ecx, eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xcc]
setge dl
add ecx, edx
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x7c]
setne dl
xor ecx, ecx
cmp edx, dword [eax + esi*4]
setge cl
xor edx, edx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x7c]
neg ecx
cmp ecx, dword [eax + edi*4]
mov ecx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0xcc]
setge dl
sub edx, 8
add ecx, edx
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0xcc]
setne dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x3c]
setle cl
mov dword [ebp - 0x28], ecx
xor ecx, ecx
cmp dword [ebp - 0x28], eax
sete cl
xor edi, edi
inc edi
cmp ecx, edi
sbb eax, eax
xor edx, edx
inc eax
cmp eax, 0xe948708e
mov eax, dword [ebp - 0x1c]
setne dl
xor ecx, ecx
cmp edx, eax
setl cl
mov dword [ebp - 0x28], ecx
dec dword [ebp - 0x14]
jns 0x1003c42d
lea ecx, [ebp - 0x7c]
call fcn.1002fe13
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x30], 0x9f4ffcf3
mov dword [ebp - 0x30], 0x3d0b5486
mov dword [ebp - 0x20], 0x9e9d60a2
mov dword [ebp - 0x30], 0xee973417
mov dword [ebp - 0x14], 0xfe24307a
mov dword [ebp - 0x30], 0x4a0426a7
mov dword [ebp - 0x30], 9
mov dword [ebp - 0x30], 0xe5e53494
mov dword [ebp - 0x30], 0x91023f12
mov dword [ebp - 0x28], 0x5f432603
mov dword [ebp - 0x1c], 0x8fa48a2b
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x30], 0x8eb5ea28
mov dword [ebp - 0x40], 0x324015fb
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x34], 0x7090
cmp dword [ebp - 0x34], 0x7103
jle 0x1003c621
mov dword [ebp - 0x1c], ebx
mov edi, ebx
mov dword [ebp - 0x2c], ebx
mov esi, ebx
mov dword [ebp - 0x3c], ebx
mov eax, edi
mov dword [ebp - 0x28], ebx
cdq
idiv esi
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x28]
mov esi, edx
mov ecx, edi
mov eax, esi
sar eax, cl
mov ecx, 0x1060b0b8
and eax, ebx
cdq
push edx
push eax
call fcn.1002fc7c
inc edi
cmp edi, 0x5ece
jl 0x1003c5d1
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x2c]
inc esi
mov dword [ebp - 0x3c], esi
push 0
pop ebx
cmp esi, 0x1033
jl 0x1003c5c1
inc edi
mov dword [ebp - 0x2c], edi
cmp edi, 0x1e6c
jl 0x1003c5bc
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 0x693c
jl 0x1003c5b7
xor edi, edi
inc edi
mov dword [ebp - 0x1c], 0x35a1
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x34], 0x7038
jge 0x1003c643
mov edx, 0x1000b5e0
mov ecx, 0x1060b0b8
call fcn.10031726
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2c], 0x509ef6e8
cmp dword [ebp - 0x24], ebx
je 0x1003c65f
mov eax, dword [ebp - 0x1c]
dec dword [ebp - 0x1c]
test eax, eax
mov eax, edi
jne 0x1003c661
mov eax, ebx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x38], ebx
je 0x1003c66c
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
dec ecx
neg ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x14]
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, 0x6a9b
sete dl
xor ecx, ecx
cmp edx, eax
setg cl
cmp dword [ebp - 0x3c], ecx
jge 0x1003c6d3
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003c720
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x1003c720
mov dword [ebp - 0x24], 0x3b5
mov dword [ebp - 0x1c], ebx
jmp 0x1003c71a
mov dword [ebp - 0x40], ebx
xor ecx, ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x40], 0x4b2b3a3
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
cmp eax, 0xfffffff8
mov eax, dword [ebp - 0x30]
setne cl
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 0x24]
setl dl
xor ecx, ecx
cmp eax, edx
setle cl
mov dword [ebp - 0x14], ecx
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xffffffe5
je 0x1003c6df
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003c735
push ebx
push 0x656
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [0x1060c1c0]
test al, 1
jne 0x1003c7cc
or eax, edi
mov dword [0x1060c1c0], eax
push ebx
mov dword [ebp - 4], 2
push ebx
mov dword [0x1060c180], ebx
mov dword [0x1060c184], ebx
call fcn.1003ec26
mov dword [0x1060c180], eax
mov dword [0x1060c188], ebx
mov dword [0x1060c190], ebx
mov byte [ebp - 4], 4
mov ecx, 0x1060c188
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc4]
push eax
push 0x10
push ebx
lea eax, [ebp - 0x180]
mov dword [0x1060c19c], 0x3f800000
push eax
mov dword [0x1060c18c], ebx
call fcn.1003e9fe
push 0x100634e2
mov dword [0x1060c194], 7
mov dword [0x1060c198], 8
call fcn.1004cdac
or dword [ebp - 4], 0xffffffff
pop ecx
mov dword [ebp - 0x34], 0x4182bd7b
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], 0xe60be628
push 4
call fcn.1002fd91
push 4
mov dword [ebp - 0x20], ebx
pop edx
jmp 0x1003c803
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x1b4], 0x380d33b9
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edx
jl 0x1003c7f2
mov dword [ebp - 0x20], ebx
jmp 0x1003c81a
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x200], edi
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 3
jl 0x1003c80d
mov dword [ebp - 0x20], ebx
jmp 0x1003c835
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x130]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edx
jl 0x1003c825
mov eax, dword [ebp - 0x34]
mov edx, ebx
cmp dword [ebp - 0x34], ebx
je 0x1003c846
mov edx, edi
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x34], ebx
je 0x1003c851
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
cmp eax, edi
setle cl
xor eax, eax
cmp ecx, 0xffffffff
setl al
xor ecx, ecx
cmp edx, eax
setl cl
sub ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x34]
neg ecx
sbb ecx, ecx
inc ecx
imul ecx, dword [ebp - 0x14]
add ecx, 0xfff7
mov dword [ebp - 0x1c], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
cmp eax, edi
setl cl
xor edx, edx
cmp ecx, edi
setle dl
xor ecx, ecx
imul edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp edx, eax
setge cl
xor eax, eax
cmp ecx, 0x29bf
setge al
sub eax, 3
neg eax
sbb eax, eax
inc eax
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1fc], eax
add eax, 0xfffffff7
je 0x1003c8de
mov edx, edi
cmp dword [ebp - 0x1b0], ebx
jne 0x1003c8e0
mov edx, ebx
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp edx, eax
sete cl
xor eax, eax
test ecx, ecx
setg al
dec eax
je 0x1003c8fb
mov ecx, edi
cmp dword [ebp - 0x1c], ebx
jne 0x1003c8fd
mov ecx, ebx
mov eax, dword [ebp - 0x130]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x130]
call fcn.1002fe13
imul eax, dword [ebp - 0x48], 0x2710
lea ecx, [ebp - 0x60]
push dword [ebp + 8]
movdqa xmm0, xmmword [0x1000c4b0]
movdqu xmmword [ebp - 0x1c4], xmm0
mov dword [ebp - 0x60], ebx
add eax, dword [ebp - 0x44]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x1b4]
push eax
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x5c], ebx
push eax
push ebx
mov dword [ebp - 0x58], ebx
call fcn.10031c45
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x3c], 0xab6ce1a8
mov dword [ebp - 0x30], edi
mov dword [eax], ebx
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003c997
push 0x1a0f
push 0x286
push 0x2db
push 0xe05
push 0x18c
push 0xd25
call dword [sym.imp.GDI32.dll_PatBlt]
mov ecx, dword [ebp - 0x60]
dec dword [ecx]
cmp dword [ecx], 0xffffffea
jge 0x1003c96a
mov eax, dword [ecx + 4]
mov dword [ecx + 0xc], eax
add eax, 7
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], ebx
je 0x1003caab
mov dword [ebp - 0x2c], 0xcfd1f2e9
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003c9d1
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
mov dword [ebp - 0x24], 0x2d0d
cmp dword [ebp - 0x24], 0x30bd
jle 0x1003ca43
mov eax, ebx
mov dword [ebp - 0x1c], ebx
mov esi, ebx
mov dword [ebp - 0x3c], ebx
mov ecx, esi
mov dword [ebp - 0x30], eax
mov esi, eax
mov edi, ebx
shl esi, cl
mov dword [ebp - 0x30], ebx
mov ecx, ebx
mov eax, edi
shl eax, cl
mov ecx, 0x1060b0b8
xor eax, esi
cdq
push edx
push eax
call fcn.1002fc7c
inc ebx
cmp ebx, 0x5a53
jl 0x1003c9f9
inc edi
push 0
pop ebx
cmp edi, 0x2e06
jl 0x1003c9f6
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x1c]
inc esi
mov dword [ebp - 0x3c], esi
cmp esi, 0x5f5
jl 0x1003c9eb
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 0x884
jl 0x1003c9e6
xor edi, edi
inc edi
mov dword [ebp - 0x20], 3
cmp dword [ebp - 0x20], ebx
jl 0x1003ca62
dec dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x60]
cmp dword [eax + ecx*4], ebx
jne 0x1003ca62
dec dword [ebp - 0x20]
jns 0x1003ca4f
mov byte [ebp - 4], 6
cmp dword [ebp - 0x24], 0x2b19
jge 0x1003cb96
mov edx, 0x1000b660
mov ecx, 0x1060b0b8
call fcn.10031726
jmp 0x1003cb96
mov dword [ebp - 0x2c], 0xa5e0
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003cac1
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [ebp - 0x20], 3
cmp dword [ebp - 0x20], ebx
jl 0x1003cb96
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x3c], 0x59785734
lea ecx, [ebp - 0x17c]
push 2
call fcn.1002fd91
mov dword [ebp - 0x1c], ebx
jmp 0x1003cb00
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x17c]
mov dword [eax + ecx*4], 0x4b969b42
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x1003caed
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003cb3a
push 0x801
push ebx
push 0x2089
push 0xa07
push 0x2431
push ebx
push 0x1396
push 0x16a1
push 0x2148
call dword [sym.imp.USER32.dll_DrawIconEx]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x20], eax
jg 0x1003cb4b
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x60]
mov ecx, dword [esi + 8]
mov dword [eax + edx*4], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], ebx
jne 0x1003cb73
cmp dword [ebp - 0x2c], ebx
jne 0x1003cb73
mov eax, dword [ebp - 0x60]
mov edx, ebx
cmp dword [eax], ebx
je 0x1003cb75
mov edx, edi
mov eax, dword [ebp - 0x30]
xor ecx, ecx
cmp edx, eax
setne cl
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x17c]
call fcn.1002fe13
dec dword [ebp - 0x20]
jns 0x1003cad4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.1002fe13
lea eax, [ebp - 0x64]
push eax
call fcn.1003e315
mov esi, dword [eax]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], 0x1fc65786
mov dword [ebp - 0x2c], 0xf39281c1
mov dword [ebp - 0x30], 0xdfe9f48
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
mov dword [ebp - 0x3c], esi
je 0x1003cbdd
push ebx
push 0xdc4
call dword [sym.imp.USER32.dll_GetSystemMenu]
cmp dword [ebp - 0x14], 0xad816f93
sbb eax, eax
xor ecx, ecx
inc eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, edi
setg cl
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
sub edx, eax
mov eax, dword [ebp - 0x14]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setne cl
imul ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], ecx
test esi, esi
je 0x1003cd11
mov dword [ebp - 0x34], 0xffffffff
mov dword [ebp - 0x1c], ebx
jmp 0x1003cc51
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x21c], ebx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jl 0x1003cc44
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x34], 4
cmp dword [ebp - 0x34], 0x20
jle 0x1003cd06
push 0xfffffffffffffffe
pop esi
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003cc95
push 0x1689
push 0xe4d
push 0x54a
call dword [sym.imp.GDI32.dll_GetPixel]
mov dword [ebp - 0x24], 0xfffffff3
jmp 0x1003ccf1
push 4
lea ecx, [ebp - 0xdc]
call fcn.1002fd91
mov dword [ebp - 0x1c], ebx
jmp 0x1003ccc3
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xdc]
mov dword [eax + ecx*4], 0xbd035c5
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jl 0x1003ccb0
mov eax, dword [ebp - 0xdc]
mov dword [eax], ebx
cmp dword [ebp - 0x24], ebx
jne 0x1003cce3
mov eax, dword [ebp - 0xdc]
inc dword [eax]
cmp dword [eax], 0x19
jl 0x1003ccd1
lea ecx, [ebp - 0xdc]
call fcn.1002fe13
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], esi
jne 0x1003cc9e
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 0x20
jg 0x1003cc74
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x88], esi
jmp 0x1003e1da
mov eax, dword [0x1060c1c0]
test al, 2
jne 0x1003cda9
or eax, 2
mov dword [0x1060c1c0], eax
push ebx
mov dword [ebp - 4], 8
push ebx
mov dword [0x1060c1a0], ebx
mov dword [0x1060c1a4], ebx
call fcn.1003ec26
mov dword [0x1060c1a0], eax
mov dword [0x1060c1a8], ebx
mov dword [0x1060c1b0], ebx
mov byte [ebp - 4], 0xa
mov ecx, 0x1060c1a8
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xc0]
push eax
push 0x10
push ebx
lea eax, [ebp - 0x184]
mov dword [0x1060c1bc], 0x3f800000
push eax
mov dword [0x1060c1ac], ebx
call fcn.1003e9fe
push 0x100634dd
mov dword [0x1060c1b4], 7
mov dword [0x1060c1b8], 8
call fcn.1004cdac
or dword [ebp - 4], 0xffffffff
pop ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x148]
movdqu xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x14], 0x40a98cee
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x2c], 0xcdc14c38
push 2
call fcn.1002fd91
mov dword [ebp - 0x20], ebx
jmp 0x1003cdeb
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xe8], 0xc558bac0
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 3
jl 0x1003cdda
mov dword [ebp - 0x20], ebx
jmp 0x1003ce09
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x148]
mov dword [eax + ecx*4], 0xe89405db
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 2
jl 0x1003cdf6
cmp dword [ebp - 0x34], edi
jg 0x1003ce17
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x34]
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setle dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x34]
setge cl
xor edx, edx
cmp ecx, eax
setne dl
xor eax, eax
cmp edx, 0x49687fd0
setg al
add eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x14]
imul eax, eax, 7
test eax, eax
jne 0x1003ce6c
mov edx, ebx
cmp dword [ebp - 0x14], ebx
je 0x1003ce6e
mov edx, edi
mov esi, dword [ebp - 0x34]
xor ecx, ecx
mov dword [ebp - 0xe4], esi
mov eax, dword [ebp - 0x1c]
cmp edx, eax
push 6
sete cl
xor edx, edx
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
pop eax
setg dl
neg edx
cmp eax, esi
sbb eax, eax
xor ecx, ecx
inc eax
cmp eax, edx
mov eax, dword [ebp - 0x148]
setle cl
mov dword [eax + 4], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xe4]
mov eax, dword [ebp - 0x34]
cmp eax, 0xfffffff8
mov eax, dword [ebp - 0x1c]
setge cl
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 0x14]
setg dl
xor ecx, ecx
cmp edx, eax
setle cl
sub ecx, 0x2a7fad54
mov dword [ebp - 0xe4], ecx
lea ecx, [ebp - 0x148]
call fcn.1002fe13
lea eax, [ebp - 0x48]
push eax
call fcn.1003e377
push 2
lea ecx, [ebp - 0xbc]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x40], esi
call fcn.1002fd91
mov dword [ebp - 0x1c], 0x3fcb50bf
mov dword [ebp - 0x30], 0x3d4a1cf0
mov dword [ebp - 0x1c], ebx
jmp 0x1003cf34
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xbc]
mov dword [eax + ecx*4], 0xeac8
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x1003cf21
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003cf51
push ebx
push ebx
push 0x2481
push ebx
call dword [sym.imp.USER32.dll_AppendMenuA]
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x1c], edi
jg 0x1003d014
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003cf7f
push ebx
push 0x196c
call dword [sym.imp.USER32.dll_GetWindowInfo]
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], edi
jg 0x1003d005
mov ebx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebx + 4]
neg ecx
push 0
sbb ecx, ecx
xor eax, eax
inc ecx
cmp ecx, 0x3e76
setne al
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xbc]
mov esi, dword [ebp - 0x14]
cmp eax, dword [ecx + edx*4]
mov ecx, dword [ebp - 0x14]
pop eax
setne al
imul esi, eax
mov eax, dword [ebp - 0xbc]
neg esi
sbb esi, esi
xor edx, edx
neg esi
cmp dword [eax + ecx*4], esi
mov eax, dword [ebp - 0x14]
setge dl
xor ecx, ecx
cmp edx, 0xfffffff6
setl cl
xor edx, edx
cmp ecx, eax
sete dl
sub edx, 0x6358
neg edx
sbb edx, edx
inc edx
mov dword [ebp - 0x30], edx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jle 0x1003cf8d
xor ebx, ebx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jle 0x1003cf5d
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0xbc]
call fcn.1002fe13
cmp byte [ebp + 0xc], 0
jne 0x1003d02d
test esi, esi
jne 0x1003d666
push 4
lea ecx, [ebp - 0x94]
call fcn.1002fd91
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x14], 8
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x1c], ebx
jmp 0x1003d063
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x94]
mov dword [eax + ecx*4], 0xffff
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jl 0x1003d050
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], 3
jg 0x1003d212
mov dword [ebp - 0x38], 0x3e8f0887
mov edx, 0xccce
mov dword [ebp - 0x1c], 2
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x94]
sub edx, dword [eax + ecx*4]
je 0x1003d167
mov dword [ebp - 0x38], 0x77cc
cmp dword [ebp - 0x38], 0x7a62
jle 0x1003d137
mov edx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov ecx, ebx
mov dword [ebp - 0x2c], 0x2acc
mov dword [ebp - 0x24], ecx
mov esi, ebx
mov eax, esi
xor eax, edx
xor eax, ecx
lea ecx, [ebp - 0x24c]
cdq
push edx
push eax
call fcn.1000d8f0
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003d0e3
mov eax, dword [eax]
push eax
call fcn.1004cdd6
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x24c]
call fcn.1003011d
mov ecx, dword [ebp - 0x24]
inc esi
mov edx, dword [ebp - 0x1c]
cmp esi, 0x3de0
jl 0x1003d0c5
mov eax, dword [ebp - 0x20]
add ecx, eax
dec dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
jne 0x1003d0c3
inc eax
mov dword [ebp - 0x20], eax
cmp eax, 0x445a
jl 0x1003d0b7
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, 0x3e07
jl 0x1003d0b4
push ebx
push 0x2026
push ebx
call dword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003d147
push ebx
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
cmp dword [ebp - 0x38], 0x7593
jge 0x1003d15b
push 0x1000b6d8
call fcn.1004cdd6
pop ecx
mov dword [ebp - 4], 0xb
jmp 0x1003d20a
mov dword [ebp - 0x38], 5
xor edx, edx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x94]
cmp dword [eax + ecx*4], edi
setge dl
xor esi, esi
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x94]
cmp esi, dword [ecx + eax*4]
sbb eax, eax
add eax, 0x439376b0
neg eax
sbb eax, eax
inc eax
add eax, dword [ecx + edx*4]
je 0x1003d1b4
mov eax, edi
cmp dword [ebp - 0x28], ebx
jne 0x1003d1b6
mov eax, ebx
mov dword [ebp - 0x38], eax
xor edx, edx
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
cmp ecx, eax
setle dl
cmp edx, 7
jge 0x1003d1ce
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
cmp eax, edi
mov eax, dword [ebp - 0x14]
setle cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x94]
setle dl
add edx, dword [eax + esi*4]
cmp edx, dword [ebp - 0x1c]
je 0x1003d1fa
mov eax, ebx
cmp dword [ebp - 0x1c], ebx
je 0x1003d1fc
mov eax, edi
mov ecx, 0xa67b9c5c
cmp ecx, eax
sbb eax, eax
neg eax
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0x14]
jmp 0x1003d06c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.1002fe13
mov dl, byte [ebp + 0xc]
lea eax, [ebp - 0x274]
mov ecx, dword [ebp - 0x48]
push eax
call fcn.10031e99
cmp byte [ebp + 0xc], 0
lea edi, [ebp - 0xa4]
mov esi, eax
pop ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x1003d660
cmp dword [ebp - 0x9c], 0
je 0x1003d660
mov dword [ebp - 0x20], 0xde0b
lea ecx, [ebp - 0x124]
push 3
call fcn.1002fd91
mov dword [ebp - 4], 0xe
xor edi, edi
mov dword [ebp - 0x2c], 8
inc edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x14], ebx
jmp 0x1003d294
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x124]
or dword [eax + ecx*4], 0xffffffff
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x1003d284
mov dword [ebp - 0x14], ebx
jmp 0x1003d2ac
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x190], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x1003d29f
cmp dword [ebp - 0x20], ebx
je 0x1003d424
mov dword [ebp - 0x24], 0x23f126c7
mov dword [ebp - 0x2c], 0x6013
cmp dword [ebp - 0x2c], 0x638e
jle 0x1003d341
push ebx
push 0x1c7e
call dword [sym.imp.GDI32.dll_RectVisible]
mov dword [ebp - 0x1c], ebx
mov edi, ebx
mov dword [ebp - 0x38], ebx
mov esi, ebx
mov dword [ebp - 0x28], ebx
mov eax, edi
mov edi, dword [ebp - 0x1c]
cdq
idiv esi
mov esi, 0x2dd1
mov ebx, edx
mov eax, edi
mov ecx, 0x1060b0b8
and eax, ebx
cdq
push edx
push eax
call fcn.1002fc7c
inc ebx
dec esi
jne 0x1003d2fa
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x38]
inc esi
mov dword [ebp - 0x28], esi
cmp esi, 0x1a51
jl 0x1003d2eb
inc edi
mov dword [ebp - 0x38], edi
push 0
pop ebx
cmp edi, 0x2cd9
jl 0x1003d2e6
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 0x35b2
jl 0x1003d2e1
xor edi, edi
inc edi
mov dword [ebp - 0x30], 0x45c761b8
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x2c], 0x5fd9
jge 0x1003d38b
mov edx, 0x1000b738
mov ecx, 0x1060b0b8
call fcn.10031726
jmp 0x1003d38b
mov dword [ebp - 0x20], 2
cmp dword [ebp - 0x20], ebx
jl 0x1003d4a3
mov dword [ebp - 0x38], 0xffffffff
mov edx, edi
mov dword [ebp - 0x28], 0x2324015f
mov dword [ebp - 0x30], 0x9ae86a67
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
sub edx, eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x124]
mov dword [eax + ecx*4], edx
imul eax, edx, 0x3cfc
test eax, eax
jne 0x1003d3e2
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edi
xor edx, edx
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
cmp eax, ecx
mov eax, dword [ebp - 0x24]
setg dl
xor ecx, ecx
cmp edx, eax
setge cl
xor eax, eax
add ecx, dword [ebp - 0x24]
cmp ecx, 0x642e5f0e
setg al
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x30], eax
dec dword [ebp - 0x20]
jns 0x1003d39b
jmp 0x1003d4a3
push 3
lea ecx, [ebp - 0x118]
call fcn.1002fd91
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x28], 0x5778c4b1
mov dword [ebp - 0x40], 0x37a54743
mov dword [ebp - 0x1c], ebx
jmp 0x1003d45a
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x118]
mov dword [eax + ecx*4], 0x2dfce958
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jl 0x1003d447
cmp dword [ebp - 0x2c], ebx
je 0x1003d468
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x118]
xor edx, edx
mov ecx, dword [ebp - 0x18c]
mov esi, dword [eax + 4]
mov eax, dword [ebp - 0x18c]
cmp ecx, eax
lea ecx, [ebp - 0x118]
setl dl
xor eax, eax
add edx, esi
neg esi
cmp esi, edx
setl al
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
call fcn.1002fe13
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.1002fe13
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x100]
push 3
mov dword [ebp - 0x84], eax
call fcn.1002fd91
mov dword [ebp - 4], 0x11
mov dword [ebp - 0x30], 0x941fc9a5
mov dword [ebp - 0x14], ebx
jmp 0x1003d4f1
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x100]
mov dword [eax + ecx*4], 2
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x1003d4de
mov dword [ebp - 0x14], ebx
jmp 0x1003d50d
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x198], 0x86cce57b
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x1003d4fc
mov eax, dword [ebp - 0x100]
add eax, 4
mov dword [eax], ebx
cmp dword [eax], ebx
jle 0x1003d646
mov dword [ebp - 0x24], 0x6e5c7a00
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003d53d
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [ebp - 0x24], edi
cmp dword [ebp - 0x24], ebx
jl 0x1003d636
push edi
lea ecx, [ebp - 0x13c]
call fcn.1002fd91
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x14], 0x5b8
cmp dword [ebp - 0x14], 0x645
jle 0x1003d5cb
mov eax, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x4e06
mov esi, ebx
add eax, esi
lea ecx, [ebp - 0x264]
cdq
push edx
push eax
call fcn.1000d8f0
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003d594
mov eax, dword [eax]
push eax
call fcn.1004cdd6
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x264]
call fcn.1003011d
mov eax, dword [ebp - 0x2c]
inc esi
cmp esi, 0x6359
jl 0x1003d57a
dec eax
dec dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
jne 0x1003d578
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, 0x5b95
jl 0x1003d56e
mov dword [ebp - 0x1c], ebx
jmp 0x1003d5e3
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x13c]
mov dword [eax + ecx*4], 0x28f6c74a
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edi
jl 0x1003d5d0
cmp dword [ebp - 0x14], 0x1dd
jge 0x1003d5fc
push 0x1000b7d8
call fcn.1004cdd6
pop ecx
mov dword [ebp - 4], 0x12
mov ecx, dword [ebp - 0x13c]
mov dword [ecx], ebx
mov eax, dword [ecx]
inc dword [ecx]
cmp dword [ecx], 2
mov dword [ebp + eax*4 - 0x198], 0x76b87d0f
jl 0x1003d60b
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0x11
call fcn.1002fe13
dec dword [ebp - 0x24]
jmp 0x1003d540
mov eax, dword [ebp - 0x100]
add eax, 4
inc dword [eax]
jmp 0x1003d51e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.1002fe13
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x80], eax
jmp 0x1003d663
xor edi, edi
inc edi
mov esi, dword [ebp - 0x34]
push 2
lea ecx, [ebp - 0x160]
call fcn.1002fd91
mov dword [ebp - 0x1c], 0x13532fe2
mov dword [ebp - 0x1c], ebx
jmp 0x1003d68e
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x160]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x1003d67f
mov dword [ebp - 0x1c], edi
cmp dword [ebp - 0x1c], ebx
jl 0x1003d6c6
mov dword [ebp - 0x24], 0x20002526
mov dword [ebp - 0x24], ebx
jmp 0x1003d6bb
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x160]
mov dword [eax + ecx*4], 0x17be1879
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 2
jl 0x1003d6a8
dec dword [ebp - 0x1c]
jns 0x1003d69c
lea ecx, [ebp - 0x160]
call fcn.1002fe13
test esi, esi
jne 0x1003dcbd
cmp dword [ebp - 0xa4], esi
jle 0x1003dcbd
mov dword [ebp - 0x24], ebx
lea ecx, [ebp - 0x154]
mov dword [ebp - 0x14], 0x40a98cee
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x28], 0xcdc14c38
push 2
call fcn.1002fd91
mov dword [ebp - 4], 0x15
mov dword [ebp - 0x20], ebx
jmp 0x1003d723
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0xf4], 0xc558bac0
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 3
jl 0x1003d712
mov dword [ebp - 0x20], ebx
jmp 0x1003d741
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x154]
mov dword [eax + ecx*4], 0xe89405db
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 2
jl 0x1003d72e
mov dword [ebp - 0x38], 0x71d9
cmp dword [ebp - 0x38], 0x723c
jle 0x1003d7b3
mov eax, ebx
mov dword [ebp - 0x2c], ebx
mov esi, ebx
mov ecx, esi
shl eax, cl
lea ecx, [ebp - 0x234]
cdq
push edx
push eax
call fcn.1000d8f0
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1003d77a
mov eax, dword [eax]
push eax
call fcn.1004cdd6
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x234]
call fcn.1003011d
mov eax, dword [ebp - 0x2c]
inc esi
cmp esi, 0x3950
jl 0x1003d75e
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 0x1b63
jl 0x1003d75c
push ebx
push 0x617
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
cmp dword [ebp - 0x24], edi
jg 0x1003d7bb
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setle dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x24]
setge cl
mov dword [ebp - 0x30], ecx
xor ecx, ecx
cmp dword [ebp - 0x30], eax
setne cl
xor eax, eax
cmp ecx, 0x49687fd0
setg al
add eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x14]
imul eax, eax, 7
test eax, eax
jne 0x1003d814
mov edx, ebx
cmp dword [ebp - 0x14], ebx
je 0x1003d816
mov edx, edi
mov esi, dword [ebp - 0x24]
xor ecx, ecx
mov dword [ebp - 0xf0], esi
mov eax, dword [ebp - 0x1c]
cmp edx, eax
push 6
sete cl
xor edx, edx
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
pop eax
setg dl
neg edx
cmp eax, esi
sbb eax, eax
xor ecx, ecx
inc eax
cmp eax, edx
mov eax, dword [ebp - 0x154]
setle cl
cmp dword [ebp - 0x38], 0x7186
mov dword [eax + 4], ecx
jge 0x1003d867
push 0x1000b838
call fcn.1004cdd6
pop ecx
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebp - 0xf0]
mov eax, dword [ebp - 0xf0]
mov eax, dword [ebp - 0x24]
cmp eax, 0xfffffff8
mov eax, dword [ebp - 0x1c]
setge cl
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 0x14]
setg dl
xor ecx, ecx
cmp edx, eax
setle cl
sub ecx, 0x2a7fad54
mov dword [ebp - 0xf0], ecx
lea ecx, [ebp - 0x154]
or dword [ebp - 4], 0xffffffff
call fcn.1002fe13
push dword [ebp + 8]
movdqa xmm0, xmmword [0x1000c4b0]
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x1d4]
mov dword [ebp - 0x54], ebx
push eax
push ebx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x50], ebx
movdqu xmmword [ebp - 0x1d4], xmm0
mov dword [ebp - 0x4c], ebx
call fcn.10031c45
mov dword [ebp - 4], 0x18
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], 0xab6ce1a8
mov dword [ebp - 0x30], edi
mov dword [eax], ebx
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003d929
push 0x1a0f
push 0x286
push 0x2db
push 0xe05
push 0x18c
push 0xd25
call dword [sym.imp.GDI32.dll_PatBlt]
mov ecx, dword [ebp - 0x54]
dec dword [ecx]
cmp dword [ecx], 0xffffffea
jge 0x1003d8fc
mov eax, dword [ecx + 4]
mov dword [ecx + 0xc], eax
add eax, 7
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], ebx
je 0x1003d98b
mov dword [ebp - 0x28], 0xcfd1f2e9
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003d95f
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
mov dword [ebp - 0x20], 3
cmp dword [ebp - 0x20], ebx
jl 0x1003da76
dec dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x54]
cmp dword [eax + ecx*4], ebx
jne 0x1003da76
dec dword [ebp - 0x20]
jns 0x1003d96f
jmp 0x1003da76
mov dword [ebp - 0x38], 0xa5e0
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003d9a1
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [ebp - 0x20], 3
cmp dword [ebp - 0x20], ebx
jl 0x1003da76
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x28], 0x59785734
lea ecx, [ebp - 0x1a4]
push 2
call fcn.1002fd91
mov dword [ebp - 0x1c], ebx
jmp 0x1003d9e0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1a4]
mov dword [eax + ecx*4], 0x4b969b42
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x1003d9cd
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003da1a
push 0x801
push ebx
push 0x2089
push 0xa07
push 0x2431
push ebx
push 0x1396
push 0x16a1
push 0x2148
call dword [sym.imp.USER32.dll_DrawIconEx]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x20], eax
jg 0x1003da2b
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x54]
mov ecx, dword [esi + 8]
mov dword [eax + edx*4], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], ebx
jne 0x1003da53
cmp dword [ebp - 0x38], ebx
jne 0x1003da53
mov eax, dword [ebp - 0x54]
mov edx, ebx
cmp dword [eax], ebx
je 0x1003da55
mov edx, edi
mov eax, dword [ebp - 0x30]
xor ecx, ecx
cmp edx, eax
setne cl
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x1a4]
call fcn.1002fe13
dec dword [ebp - 0x20]
jns 0x1003d9b4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.1002fe13
cmp dword [ebp - 0xa0], 0
je 0x1003dcba
mov dword [ebp - 0x20], 0x8cff0ea7
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x24], 0x4db2a93f
mov dword [ebp - 0x28], 8
mov dword [ebp - 0x1c], 0x47d05199
mov dword [ebp - 0x20], ebx
jmp 0x1003db73
mov dword [ebp - 0x28], 0xfffffffb
mov dword [ebp - 0x2c], 0x24b54114
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], ebx
jne 0x1003daf6
cmp dword [ebp - 0x20], ebx
je 0x1003daea
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
cmp eax, 0xfffffff9
setge cl
cmp ecx, 0xfffffffd
mov ecx, edi
jne 0x1003daec
mov ecx, ebx
mov eax, dword [ebp - 0x2c]
imul eax, ecx
test eax, eax
je 0x1003daf9
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x28]
jne 0x1003db08
mov edx, ebx
cmp dword [ebp - 0x14], ebx
je 0x1003db0a
mov edx, edi
mov eax, dword [ebp - 0x20]
xor ecx, ecx
cmp edx, eax
setle cl
cmp dword [ebp - 0x20], ecx
jge 0x1003db20
cmp dword [ebp - 0x20], ebx
jne 0x1003db7d
jmp 0x1003db43
mov dword [ebp - 0x14], ebx
jmp 0x1003db3d
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003db3a
push 0x1aed
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffe8
jl 0x1003db25
mov dword [ebp - 0x14], ebx
jmp 0x1003db6a
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003db67
push ebx
push 0x574
push 0x138e
push 0xf45
call dword [sym.imp.GDI32.dll_SetViewportExtEx]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xb
jge 0x1003db48
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 2
jne 0x1003daba
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x24], ebx
jne 0x1003db8c
mov ecx, ebx
cmp dword [ebp - 0x20], ebx
je 0x1003db8e
mov ecx, edi
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
sub eax, ecx
xor ecx, ecx
cmp eax, 0x5cb2
mov eax, dword [ebp - 0x24]
setge cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x20]
setg dl
xor ecx, ecx
cmp edx, eax
setle cl
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], ebx
jne 0x1003dbc2
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp eax, edi
setg cl
sub ecx, dword [ebp - 0x20]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0xa0]
call fcn.1003c38f
mov dword [ebp - 0x14], ebx
push 0xfffffffffffffffe
pop esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], 0x467b47e0
mov dword [ebp - 0x38], 0xedb6b7be
mov dword [ebp - 0x34], eax
mov eax, 0xc23cea2f
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x40], 0xfb96f37d
mov dword [ebp - 0x1c], ebx
jmp 0x1003dc4b
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x20c], esi
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jl 0x1003dc3e
cmp dword [ebp - 0x14], ebx
jne 0x1003dc6b
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp eax, edx
setge cl
mov dword [ebp - 0x204], ecx
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x28]
sub edx, eax
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
add edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
cmp edx, eax
lea eax, [ebp - 0x48]
setge cl
mov dword [ebp - 0x168], ecx
push eax
mov dword [ebp - 0x40], ecx
call fcn.1003e377
mov esi, dword [ebp - 0x34]
mov dword [eax], esi
jmp 0x1003dcbd
mov esi, dword [ebp - 0x34]
lea ecx, [ebp - 0xa4]
call fcn.100389aa
cmp dword [ebp - 0x3c], 0
jne 0x1003e025
test esi, esi
je 0x1003e025
push dword [ebp + 8]
movdqa xmm0, xmmword [0x1000c4f0]
lea eax, [ebp - 0x1e4]
push eax
lea eax, [ebp - 0x1f4]
mov dword [ebp - 0x70], ebx
push eax
push ebx
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x6c], ebx
movdqu xmmword [ebp - 0x1f4], xmm0
mov dword [ebp - 0x68], ebx
call fcn.10031c45
mov dword [ebp - 0x14], 6
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x40], 0xd1d84757
mov dword [ebp - 0x40], 0xe16511c2
push 3
mov dword [ebp - 0x30], 0xffffffff
pop esi
mov dword [ebp - 0x14], esi
cmp dword [ebp - 0x14], ebx
jl 0x1003de02
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x1c], ebx
jmp 0x1003ddf0
mov dword [ebp - 0x20], 0xfffffffb
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x20], esi
cmp dword [ebp - 0x20], ebx
jl 0x1003ddbf
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
xor edx, edx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x70]
cmp dword [ecx + eax*4], 0x16aac895
setne dl
xor eax, eax
cmp edx, dword [ecx + esi*4]
setle al
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], ebx
je 0x1003dd9b
mov edx, edi
cmp dword [ebp - 0x1c], ebx
jne 0x1003dd9d
mov edx, ebx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x30]
sub eax, edx
sub eax, dword [ecx + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
dec dword [ebp - 0x20]
jns 0x1003dd66
push 3
pop esi
mov dword [ebp - 0x24], 0xffffffea
jmp 0x1003dde7
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003dde4
push ebx
push ebx
push 0x10a
push 0xd99
push ebx
call dword [sym.imp.USER32.dll_InsertMenuW]
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 5
je 0x1003ddc8
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], esi
jle 0x1003dd4a
dec dword [ebp - 0x14]
jns 0x1003dd3f
mov dword [ebp - 0x14], 0x1b
cmp dword [ebp - 0x14], 0xffffffeb
jg 0x1003de6d
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], 0x14b71808
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x24], ebx
jne 0x1003de2b
mov esi, edi
cmp dword [ebp - 0x14], ebx
je 0x1003de2d
mov esi, ebx
dec dword [ebp - 0x3c]
xor edx, edx
mov eax, dword [ebp - 0x3c]
cmp eax, edi
mov eax, dword [ebp - 0x14]
setle dl
xor ecx, ecx
cmp edx, eax
mov edx, dword [ebp - 0x30]
push 9
setl cl
xor eax, eax
cmp ecx, esi
setne al
xor ecx, ecx
cmp eax, dword [edx + 0xc]
pop eax
setge cl
cmp eax, ecx
push 3
sbb eax, eax
inc eax
mov dword [ebp - 0x40], eax
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffeb
pop esi
jle 0x1003de15
lea ecx, [ebp - 0x70]
call fcn.1002fe13
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
call fcn.1003c3b1
mov dword [ebp - 0x24], 0x62d5e48d
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x24], 8
jg 0x1003e014
mov dword [ebp - 0x1c], 0x665683c8
mov dword [ebp - 0x38], 0x7878
cmp dword [ebp - 0x38], 0x7bde
jle 0x1003df13
mov edi, ebx
mov dword [ebp - 0x28], ebx
mov esi, ebx
mov dword [ebp - 0x44], ebx
mov eax, edi
mov dword [ebp - 0x30], ebx
cdq
mov edi, ebx
idiv esi
mov dword [ebp - 0x40], edx
mov esi, ebx
mov ebx, dword [ebp - 0x40]
mov eax, esi
mov ecx, 0x1060b0b8
and eax, edi
or eax, ebx
cdq
push edx
push eax
call fcn.1002fc7c
inc esi
cmp esi, 0x19af
jl 0x1003decd
inc edi
push 0
pop ebx
cmp edi, 0x656b
jl 0x1003dec8
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x28]
inc esi
mov dword [ebp - 0x44], esi
cmp esi, 0x5af
jl 0x1003debb
inc edi
mov dword [ebp - 0x28], edi
cmp edi, 0x2820
jl 0x1003deb6
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x1c], 0x16
jl 0x1003dfc7
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003df9d
mov dword [ebp - 0x44], 0x458a
cmp dword [ebp - 0x44], 0x493f
jle 0x1003df6e
push ebx
push 0x1fe8
call dword [sym.imp.GDI32.dll_SetBkColor]
mov esi, ebx
mov edi, ebx
mov ecx, edi
mov eax, esi
sar eax, cl
mov ecx, 0x1060b0b8
cdq
push edx
push eax
call fcn.1002fc7c
inc edi
cmp edi, 0x50f0
jl 0x1003df49
inc esi
cmp esi, 0x6975
jl 0x1003df47
push ebx
push 0x14f4
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0x19
cmp dword [ebp - 0x44], 0x4334
jge 0x1003df99
mov edx, 0x1000b8cc
mov ecx, 0x1060b0b8
call fcn.10031726
or dword [ebp - 4], 0xffffffff
inc dword [ebp - 0x1c]
jmp 0x1003df16
mov dword [ebp - 4], 0x1b
cmp dword [ebp - 0x38], 0x7506
jge 0x1003dfe6
mov edx, 0x1000b88c
mov ecx, 0x1060b0b8
call fcn.10031726
or dword [ebp - 4], 0xffffffff
inc dword [ebp - 0x24]
jmp 0x1003de90
lea eax, [ebp - 0x64]
push eax
call fcn.1003e315
mov ecx, dword [ebp - 0x88]
mov dword [eax], ecx
mov dword [ebp - 0x2c], 0x684b
cmp dword [ebp - 0x2c], 0x6a8c
jle 0x1003e08d
mov dword [ebp - 0x3c], ebx
mov eax, ebx
mov dword [ebp - 0x38], 0x879
mov dword [ebp - 0x28], eax
mov esi, eax
mov dword [ebp - 0x44], 0x5a38
mov edi, ebx
mov ecx, edi
mov eax, esi
sar eax, cl
mov ecx, 0x1060b0b8
cdq
push edx
push eax
call fcn.1002fc7c
inc edi
cmp edi, 0x7e34
jl 0x1003e04f
inc esi
dec dword [ebp - 0x44]
jne 0x1003e04d
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x3c]
add eax, esi
dec dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
jne 0x1003e044
inc esi
mov dword [ebp - 0x3c], esi
cmp esi, 0x3f6c
jl 0x1003e038
mov dword [ebp - 4], 0x1d
cmp dword [ebp - 0x2c], 0x67bf
jge 0x1003e0ac
mov edx, 0x1000b934
mov ecx, 0x1060b0b8
call fcn.10031726
or dword [ebp - 4], 0xffffffff
push dword [ebp + 8]
movdqa xmm0, xmmword [0x1000c4d0]
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x1e4]
mov dword [ebp - 0xb0], ebx
push eax
push ebx
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xac], ebx
movdqu xmmword [ebp - 0x1e4], xmm0
mov dword [ebp - 0xa8], ebx
call fcn.10031c45
push 2
lea ecx, [ebp - 0x10c]
mov dword [ebp - 4], 0x1f
call fcn.1002fd91
mov dword [ebp - 0x30], 9
mov dword [ebp - 0x1c], ebx
jmp 0x1003e147
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10c]
mov dword [eax + ecx*4], 0xa9ac70c3
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x1003e134
mov esi, dword [ebp - 0x10c]
mov dword [esi + 4], ebx
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 0xb0]
cmp dword [eax + ecx*4], ebx
jne 0x1003e1be
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x1003e1b5
push ebx
push 0x22f0
push 0x10b8
push 0x2237
push 0x183e
push 0x25d
push 0x1989
push 0x255f
push 0x390
push 0x38b
push 0xf5c
push 0x15e3
push 0x14e
push 0x284
call dword [sym.imp.GDI32.dll_CreateFontA]
inc dword [esi + 4]
cmp dword [esi + 4], 3
jle 0x1003e156
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x30], eax
call fcn.1002fe13
lea ecx, [ebp - 0xb0]
call fcn.1002fe13
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret