Function at 0x10018c56
Capabilities:
Delete directory
Set thread local storage value

Disassembly:
mov eax, 0x10063b16
call fcn.10063290
sub esp, 0x33c
push ebx
mov dword [ebp - 0x5c], ecx
push esi
mov dword [ebp - 0x48], 0x29a3
xor esi, esi
mov dword [ebp - 0x2c], 0x75c1
inc esi
push edi
mov dword [ebp - 0x18], 0x29ea4144
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], 0xc25fcc58
mov dword [ebp - 0x30], 0xe665969a
push 3
pop edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x30], 0xec326874
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x18], ebx
jmp 0x10018cc0
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x244], 0x238e486a
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jl 0x10018caf
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
inc dword [ebp - 0x34]
je 0x10018d00
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp eax, 0x19fa553f
mov edx, esi
setne cl
cmp ecx, 0xf92e
jle 0x10018d02
mov edx, ebx
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
cmp eax, edx
setge cl
add ecx, dword [ebp - 0x240]
je 0x10018d40
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], bl
je 0x10018dc6
push ebx
push 0x249d
push 0x1c8c
push 0x148f
push 0x144c
call dword [sym.imp.GDI32.dll_CreateBitmap]
jmp 0x10018dc6
push edi
lea ecx, [ebp - 0x138]
call fcn.1001b2e8
mov dword [ebp - 0x28], 0xbb1e5de2
mov dword [ebp - 0x18], ebx
jmp 0x10018d6b
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x138]
mov dword [eax + ecx*4], 9
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x10018d58
mov edi, dword [ebp - 0x138]
xor ecx, ecx
mov eax, dword [ebp - 0x240]
mov esi, dword [edi + 4]
cmp eax, esi
mov eax, dword [ebp - 0x138]
setne cl
xor edx, edx
cmp esi, ecx
sete dl
add edx, dword [eax]
xor eax, eax
cmp edx, esi
setne al
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x28]
setl cl
xor eax, eax
cmp ecx, dword [edi + 4]
lea ecx, [ebp - 0x138]
setl al
mov dword [ebp - 0x28], eax
call fcn.1001b36a
xor esi, esi
push 3
inc esi
pop edi
mov eax, dword [0x1060e7d8]
test al, 1
jne 0x10018e59
or eax, esi
mov dword [0x1060e7d8], eax
push ebx
mov dword [ebp - 4], ebx
push ebx
mov dword [0x1060e7a0], ebx
mov dword [0x1060e7a4], ebx
call fcn.1001d4e8
mov dword [0x1060e7a0], eax
mov dword [0x1060e7a8], ebx
mov dword [0x1060e7b0], ebx
mov byte [ebp - 4], 2
mov ecx, 0x1060e7a8
mov dword [ebp - 0x12c], eax
lea eax, [ebp - 0x12c]
push eax
push 0x10
push ebx
lea eax, [ebp - 0x224]
mov dword [0x1060e7bc], 0x3f800000
push eax
mov dword [0x1060e7ac], ebx
call fcn.1001d2c0
push 0x100649ef
mov dword [0x1060e7b4], 7
mov dword [0x1060e7b8], 8
call fcn.1004e2ec
or dword [ebp - 4], 0xffffffff
pop ecx
imul eax, dword [ebp - 0x5c], 0x2710
lea ecx, [ebp - 0x15c]
push 2
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x9c], eax
call fcn.1001b2e8
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], 0xfff9
mov dword [ebp - 0x28], 0xfffffff9
mov dword [ebp - 0x48], 0xce34aafb
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x18], ebx
jmp 0x10018ea9
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x15c]
mov dword [eax + ecx*4], 0x55bb2c21
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x10018e96
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x24], eax
cmp dword [eax + 4], ebx
je 0x10018f44
mov dword [ebp - 0x18], 0x1879
mov dword [ebp - 0x2c], 0x7a73d2d6
cmp dword [eax + 4], ebx
je 0x10018edb
mov eax, dword [ebp - 0x2c]
mov eax, esi
jmp 0x10018edd
mov eax, ebx
inc dword [ebp - 0x34]
xor edx, edx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
mov eax, dword [ebp - 0x28]
setl dl
sub edx, 8
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setge cl
xor edx, edx
cmp ecx, 0xd162
setg dl
xor ecx, ecx
imul edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x48]
cmp edx, eax
mov eax, dword [ebp - 0x18]
setne cl
xor edx, edx
neg ecx
cmp ecx, eax
mov eax, dword [ebp - 0x34]
setne dl
xor ecx, ecx
cmp eax, edx
mov edx, dword [ebp - 0x24]
setl cl
xor eax, eax
cmp ecx, dword [edx + 4]
setge al
mov dword [edx + 4], eax
jmp 0x10018fef
push 2
lea ecx, [ebp - 0x174]
call fcn.1001b2e8
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x28], 0xff4c90eb
mov dword [ebp - 0x18], ebx
jmp 0x10018f77
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x174]
mov dword [eax + ecx*4], 0x1aaf
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x10018f64
mov eax, dword [ebp - 0x15c]
xor ecx, ecx
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x38], 0x870af03f
cmp dword [eax], 0x1676492a
sete cl
xor eax, eax
sub ecx, dword [edx + 4]
cmp ecx, 0xfffffff8
setl al
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x174]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
neg ecx
sbb ecx, ecx
inc ecx
imul eax, ecx
add eax, dword [ebp - 0x48]
imul eax, dword [edx + 4]
add eax, 0x782282ac
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x28], eax
jne 0x10018fdc
mov eax, ebx
cmp dword [ebp - 0x2c], ebx
je 0x10018fde
mov eax, esi
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x174]
mov dword [edx + 4], eax
call fcn.1001b36a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15c]
call fcn.1001b36a
lea eax, [ebp - 0x9c]
push eax
call fcn.1001b3ac
mov eax, dword [eax]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x3c], esi
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
mov dword [ebp - 0x48], eax
je 0x1001902a
push ebx
push 0xf55
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x28], 0x1138
cmp dword [ebp - 0x28], 0x133f
mov dword [ebp - 0x30], 0x10008b18
jle 0x100190a5
mov ecx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x2c], ebx
mov esi, ebx
mov edx, ebx
mov dword [ebp - 0x24], 0x3729
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], edx
lea eax, [ebx + ecx]
mov ecx, 0x1060d6f8
and eax, edx
cdq
push edx
push eax
call fcn.1001b0b7
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
add edx, esi
dec dword [ebp - 0x24]
mov dword [ebp - 0x34], edx
jne 0x1001905a
inc esi
push 0
pop ebx
cmp esi, 0x25ec
jl 0x1001904b
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 0x43af
jl 0x10019049
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, 0x7ae
jl 0x10019046
xor esi, esi
inc esi
mov dword [ebp - 0x24], 0xffffffe4
cmp dword [ebp - 0x24], 0xfffffff6
jge 0x100192af
push 2
lea ecx, [ebp - 0x1c0]
call fcn.1001b2e8
mov dword [ebp - 4], 4
mov dword [ebp - 0x18], 0xfffffff6
mov dword [ebp - 0x3c], 0xd7d393e7
mov dword [ebp - 0x40], 0xd627
mov dword [ebp - 0x18], ebx
jmp 0x100190f7
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c0]
mov dword [eax + ecx*4], 0xfffffffc
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x100190e4
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0x18], ebx
jl 0x10019207
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x38], 0x392e
cmp dword [ebp - 0x38], 0x3a17
jle 0x10019197
mov ecx, ebx
mov dword [ebp - 0x34], ebx
mov eax, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x2c], ecx
mov edx, ebx
mov ecx, eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x2c]
sar eax, cl
mov dword [ebp - 0x2c], eax
mov ecx, edx
shl eax, cl
lea ecx, [ebp - 0x2e4]
cdq
push edx
push eax
call fcn.1000dafa
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10019154
mov eax, dword [eax]
push eax
call fcn.1004e316
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x2e4]
call fcn.1001b738
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0x7947
jl 0x10019138
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x3c], eax
cmp eax, 0x7eaf
jl 0x10019126
inc ecx
mov dword [ebp - 0x34], ecx
cmp ecx, 0x7a9e
jl 0x10019121
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, 0xfffffffc
setg cl
xor edx, edx
cmp ecx, 0xa017
setne dl
xor ecx, ecx
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp edx, eax
setg cl
cmp ecx, esi
sbb eax, eax
neg eax
imul eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub ecx, eax
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp eax, ecx
sbb eax, eax
inc eax
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x38], 0x35fa
jge 0x100191f8
push 0x10008b6c
call fcn.1004e316
pop ecx
mov dword [ebp - 4], 4
dec dword [ebp - 0x18]
jmp 0x10019100
mov dword [ebp - 0x38], 0x37af
cmp dword [ebp - 0x38], 0x38fd
jle 0x1001924b
call dword [sym.imp.USER32.dll_GetMessageTime]
mov esi, ebx
mov dword [ebp - 0x3c], ebx
mov eax, ebx
mov ecx, 0x1060d6f8
and eax, esi
cdq
push edx
push eax
call fcn.1001b0b7
inc ebx
cmp ebx, 0x348a
jl 0x10019222
inc esi
push 0
pop ebx
cmp esi, 0x5f71
jl 0x1001921f
xor esi, esi
inc esi
cmp dword [ebp - 0x40], ebx
je 0x10019256
or dword [ebp - 4], 0xffffffff
jmp 0x1001929c
mov byte [ebp - 4], 7
cmp dword [ebp - 0x38], 0x377d
jge 0x10019296
mov edx, 0x10008bd0
mov ecx, 0x1060d6f8
call fcn.1001d5c2
jmp 0x10019296
or eax, 0xffffffff
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x1c0]
call fcn.1001b36a
inc dword [ebp - 0x24]
jmp 0x100190ac
mov dword [ebp - 4], 9
cmp dword [ebp - 0x28], 0xfe6
jge 0x100192cc
mov edx, dword [ebp - 0x30]
mov ecx, 0x1060d6f8
call fcn.1001d5c2
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x48], 0
je 0x10019465
mov dword [ebp - 0x20], 0x15252cb1
lea ecx, [ebp - 0x104]
push esi
call fcn.1001b2e8
mov dword [ebp - 0x28], 0x93be41b0
mov dword [ebp - 0x2c], 0xfffffffa
mov dword [ebp - 0x20], ebx
jmp 0x10019332
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x68], ebx
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edi
jl 0x10019328
mov dword [ebp - 0x20], ebx
jmp 0x1001934f
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x104]
mov dword [eax + ecx*4], 0x4981ff29
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], esi
jl 0x1001933c
mov dword [ebp - 0x20], 2
cmp dword [ebp - 0x20], ebx
jl 0x100193e9
mov dword [ebp - 0x18], ebx
jmp 0x10019376
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x144], esi
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x10019369
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x68]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x68]
mov eax, dword [ebp - 0x60]
mov eax, dword [ebp - 0x64]
mov eax, dword [ebp - 0x104]
mov dword [eax], ebx
mov dword [ebp - 0x144], 2
cmp dword [ebp - 0x144], ebx
jl 0x100193e0
mov dword [ebp - 0x30], 0xe80d
cmp dword [ebp - 0x30], ebx
jne 0x100193e0
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x100193d8
push 0x8ce
push 0x95b
push 0x194d
push 0x1394
call dword [sym.imp.GDI32.dll_CreateRectRgn]
dec dword [ebp - 0x144]
jns 0x100193a9
dec dword [ebp - 0x20]
jns 0x10019364
cmp dword [ebp - 0x64], ebx
je 0x1001940c
dec dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x64], ebx
jl 0x10019402
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x104]
cmp dword [eax], ebx
jge 0x10019413
mov ecx, ebx
cmp dword [ebp - 0x20], ebx
je 0x10019415
mov ecx, esi
mov eax, dword [ebp - 0x28]
add eax, ecx
je 0x10019423
cmp dword [ebp - 0x64], ebx
je 0x10019423
mov ebx, esi
mov ecx, dword [ebp - 0x104]
xor eax, eax
add ebx, 0xffff21d1
cmp ebx, dword [ecx]
setne al
sub eax, dword [ecx]
mov dword [ecx], eax
xor ecx, ecx
mov eax, dword [ebp - 0x28]
sub esi, eax
mov eax, dword [ebp - 0x64]
cmp eax, esi
setge cl
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x104]
call fcn.1001b36a
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xf0], eax
jmp 0x1001b019
mov eax, dword [0x1060e7d8]
test al, 2
jne 0x100194fd
or eax, 2
mov dword [0x1060e7d8], eax
push ebx
mov dword [ebp - 4], 0xb
push ebx
mov dword [0x1060e7f0], ebx
mov dword [0x1060e7f4], ebx
call fcn.1001d4e8
mov dword [0x1060e7f0], eax
mov dword [0x1060e7f8], ebx
mov dword [0x1060e800], ebx
mov byte [ebp - 4], 0xd
mov ecx, 0x1060e7f8
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x128]
push eax
push 0x10
push ebx
lea eax, [ebp - 0x234]
mov dword [0x1060e80c], 0x3f800000
push eax
mov dword [0x1060e7fc], ebx
call fcn.1001d2c0
push 0x100649ea
mov dword [0x1060e804], 7
mov dword [0x1060e808], 8
call fcn.1004e2ec
or dword [ebp - 4], 0xffffffff
pop ecx
push 2
lea ecx, [ebp - 0x1a8]
call fcn.1001b2e8
mov dword [ebp - 0x34], 0x2667a876
push 2
mov dword [ebp - 0x30], 0xfffffff8
mov dword [ebp - 0x18], ebx
pop edx
jmp 0x10019533
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1a8]
mov dword [eax + ecx*4], 0xdf99ff60
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edx
jl 0x10019520
mov dword [ebp - 0x34], ebx
jmp 0x10019550
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1a8]
mov dword [eax + ecx*4], 0xbacd7953
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], edx
jl 0x1001953d
lea ecx, [ebp - 0x1a8]
call fcn.1001b36a
push dword [ebp + 8]
lea eax, [ebp - 0x284]
mov dword [ebp - 0xe4], ebx
push eax
lea eax, [ebp - 0x294]
mov dword [ebp - 0xe0], ebx
xorps xmm0, xmm0
mov dword [ebp - 0xdc], ebx
push eax
movdqu xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0x14], 0xfffffff9
lea ecx, [ebp - 0xe4]
push ebx
movdqu xmmword [ebp - 0x294], xmm0
call fcn.1001dce5
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x30], 0x614f
cmp dword [ebp - 0x14], ebx
je 0x1001974b
mov byte [ebp - 0x19], bl
mov dword [ebp - 0x3c], 0x18aa
cmp dword [ebp - 0x3c], 0x1945
jle 0x10019636
mov ecx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x2c], ebx
mov esi, ebx
mov eax, ebx
mov dword [ebp - 0x38], 0x55e4
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
and eax, ebx
and eax, ecx
mov ecx, 0x1060d6f8
cdq
push edx
push eax
call fcn.1001b0b7
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
add eax, esi
dec dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
jne 0x100195ec
inc esi
push 0
pop ebx
cmp esi, 0x79b7
jl 0x100195dd
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 0x3a3d
jl 0x100195db
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, 0x2cf2
jl 0x100195d8
xor esi, esi
inc esi
cmp byte [ebp - 0x19], 0
je 0x10019647
push 0x7a3
call dword [sym.imp.USER32.dll_GetQueueStatus]
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x3c], 0x166f
jge 0x10019687
mov edx, 0x10008c80
mov ecx, 0x1060d6f8
call fcn.1001d5c2
jmp 0x10019687
mov dword [ebp - 4], 0xe
mov byte [ebp - 0x19], bl
mov dword [ebp - 0x3c], 0x961
cmp dword [ebp - 0x3c], 0xd08
jle 0x1001971b
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, ebx
mov dword [ebp - 0x18], ebx
mov ecx, ebx
mov dword [ebp - 0x38], ebx
cdq
idiv ecx
mov dword [ebp - 0x2c], ebx
mov eax, ebx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], 0x344d
cdq
lea ecx, [ebp - 0x2fc]
push edx
push eax
call fcn.1000dafa
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x100196dc
mov eax, dword [eax]
push eax
call fcn.1004e316
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x2fc]
call fcn.1001b738
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x30]
dec dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
jne 0x100196c4
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x38], ecx
cmp ecx, 0x42a7
jl 0x100196b2
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0x5684
jl 0x100196ad
cmp byte [ebp - 0x19], 0
je 0x1001972e
push ebx
push 0x689
push ebx
call dword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
cmp dword [ebp - 0x3c], 0x89e
jge 0x10019903
push 0x10008cc8
call fcn.1004e316
pop ecx
jmp 0x10019903
push dword [ebp + 8]
movdqa xmm0, xmmword [0x1000c6b0]
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x254]
mov dword [ebp - 0x98], ebx
push eax
push ebx
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x94], ebx
movdqu xmmword [ebp - 0x254], xmm0
mov dword [ebp - 0x90], ebx
call fcn.1001dce5
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x14], 0x12
cmp dword [ebp - 0x14], 0xffffffe7
jne 0x10019824
mov eax, dword [ebp - 0xe4]
mov ebx, dword [ebp - 0x98]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], 0xd7c6
xor edx, edx
mov dword [ebp - 0x28], 0xd3650dfa
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x98]
cmp dword [eax], ecx
setl dl
cmp edx, dword [ebx + 0xc]
je 0x100197d4
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov eax, dword [ebp - 0x98]
cmp dword [eax], esi
setge cl
xor edx, edx
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
mov eax, dword [ebp - 0x98]
sete dl
xor ecx, ecx
sub edx, 0x757e2a0c
imul edx, dword [eax]
mov eax, dword [ebp - 0x14]
cmp eax, edx
mov eax, dword [ebp - 0x40]
setl cl
mov dword [eax + 0xc], ecx
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffe7
je 0x100197ae
xor ebx, ebx
mov dword [ebp - 0x14], ebx
jmp 0x100198ef
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x30], 0x5316d004
mov dword [ebp - 0x20], edi
cmp dword [ebp - 0x20], ebx
jl 0x100198ec
mov dword [ebp - 0x34], 0xfffffff7
mov dword [ebp - 0x18], ebx
jmp 0x10019863
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x308], 4
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x10019852
mov dword [ebp - 0x34], ebx
jmp 0x100198de
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x24], edi
cmp dword [ebp - 0x24], ebx
jl 0x100198bb
push edi
lea ecx, [ebp - 0x214]
call fcn.1001b2e8
mov dword [ebp - 0x28], 0xfffffffb
mov dword [ebp - 0x18], ebx
jmp 0x100198a3
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x214]
mov dword [eax + ecx*4], 0xbbbbfefa
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x10019890
inc dword [ebp - 0x28]
lea ecx, [ebp - 0x214]
call fcn.1001b36a
dec dword [ebp - 0x24]
jns 0x10019878
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x100198db
push ebx
push ebx
push 0x10ae
push 0x1616
push 0xcc9
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], edi
jle 0x1001986d
dec dword [ebp - 0x20]
jns 0x10019846
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jle 0x1001982c
lea ecx, [ebp - 0x98]
call fcn.1001b36a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.1001b36a
lea eax, [ebp - 0x5c]
push eax
call fcn.1001b40e
cmp byte [ebp + 0xc], 0
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
jne 0x1001992e
test eax, eax
jne 0x1001a01f
push dword [ebp + 8]
lea eax, [ebp - 0x254]
mov dword [ebp - 0x14], 0xfffffff9
push eax
lea eax, [ebp - 0x264]
mov dword [ebp - 0x110], ebx
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x10c], ebx
push ebx
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x108], ebx
movdqu xmmword [ebp - 0x264], xmm0
call fcn.1001dce5
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x30], 0x614f
cmp dword [ebp - 0x14], ebx
je 0x100199b5
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x10019996
push 0x7a3
call dword [sym.imp.USER32.dll_GetQueueStatus]
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x10019b4e
push ebx
push 0x689
push ebx
call dword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
jmp 0x10019b4e
push dword [ebp + 8]
movdqa xmm0, xmmword [0x1000c6b0]
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x284]
mov dword [ebp - 0x74], ebx
push eax
push ebx
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x70], ebx
movdqu xmmword [ebp - 0x284], xmm0
mov dword [ebp - 0x6c], ebx
call fcn.1001dce5
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x14], 0x12
cmp dword [ebp - 0x14], 0xffffffe7
jne 0x10019a72
mov eax, dword [ebp - 0x110]
mov ebx, dword [ebp - 0x74]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], 0xd7c6
xor edx, edx
mov dword [ebp - 0x28], 0xd3650dfa
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x74]
cmp dword [eax], ecx
setl dl
cmp edx, dword [ebx + 0xc]
je 0x10019a28
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov eax, dword [ebp - 0x74]
cmp dword [eax], esi
setge cl
xor edx, edx
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
mov eax, dword [ebp - 0x74]
sete dl
xor ecx, ecx
sub edx, 0x757e2a0c
imul edx, dword [eax]
mov eax, dword [ebp - 0x14]
cmp eax, edx
mov eax, dword [ebp - 0x40]
setl cl
mov dword [eax + 0xc], ecx
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffe7
je 0x10019a05
xor ebx, ebx
mov dword [ebp - 0x14], ebx
jmp 0x10019b3d
mov dword [ebp - 0x2c], 0xffffffff
mov dword [ebp - 0x30], 0x5316d004
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x2c], ebx
jl 0x10019b3a
mov dword [ebp - 0x24], 0xfffffff7
mov dword [ebp - 0x18], ebx
jmp 0x10019ab1
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x2cc], 4
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x10019aa0
mov dword [ebp - 0x24], ebx
jmp 0x10019b2c
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x20], edi
cmp dword [ebp - 0x20], ebx
jl 0x10019b09
push edi
lea ecx, [ebp - 0x230]
call fcn.1001b2e8
mov dword [ebp - 0x28], 0xfffffffb
mov dword [ebp - 0x18], ebx
jmp 0x10019af1
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x230]
mov dword [eax + ecx*4], 0xbbbbfefa
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x10019ade
inc dword [ebp - 0x28]
lea ecx, [ebp - 0x230]
call fcn.1001b36a
dec dword [ebp - 0x20]
jns 0x10019ac6
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x10019b29
push ebx
push ebx
push 0x10ae
push 0x1616
push 0xcc9
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], edi
jle 0x10019abb
dec dword [ebp - 0x2c]
jns 0x10019a94
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jle 0x10019a7a
lea ecx, [ebp - 0x74]
call fcn.1001b36a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.1001b36a
mov dl, byte [ebp + 0xc]
lea eax, [ebp - 0x348]
mov ecx, dword [ebp - 0x5c]
push eax
call fcn.1000db75
mov esi, eax
lea edi, [ebp - 0xb8]
pop ecx
push 3
lea ecx, [ebp - 0x124]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [ebp - 0x38], 0xb6fd43dd
mov dword [ebp - 0x30], 0xfff12f3c
push esi
call fcn.1001b2e8
mov dword [ebp - 0x2c], 0xfffffff9
mov dword [ebp - 0x28], 0xc7d8169b
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x20], ebx
jmp 0x10019bc1
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x7c], 0x5872
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 2
jl 0x10019bb3
mov dword [ebp - 0x20], ebx
jmp 0x10019bdf
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x124]
mov dword [eax + ecx*4], 0x6e9f0866
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], esi
jl 0x10019bcc
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x10019bf4
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
dec dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x124]
cmp dword [eax], ecx
jne 0x10019c07
mov eax, dword [ebp - 0x78]
mov eax, dword [ebp - 0x7c]
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x78]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x78]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
test eax, eax
setle cl
add ecx, dword [ebp - 0x78]
imul eax, ecx, 0xffff7650
test eax, eax
je 0x10019c3f
cmp dword [ebp - 0x18], ebx
je 0x10019c3f
xor edi, edi
inc edi
mov ecx, edi
jmp 0x10019c44
xor edi, edi
mov ecx, ebx
inc edi
mov eax, dword [ebp - 0x124]
cmp ecx, dword [eax + 4]
jge 0x10019c60
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x124]
or dword [eax], 0xffffffff
jmp 0x10019c81
mov dword [ebp - 0x18], 2
cmp dword [ebp - 0x18], ebx
jl 0x10019c81
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x10019c7c
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
dec dword [ebp - 0x18]
jns 0x10019c6c
lea ecx, [ebp - 0x124]
call fcn.1001b36a
cmp byte [ebp + 0xc], 0
je 0x1001a022
cmp dword [ebp - 0xb0], 0
je 0x1001a022
mov dword [ebp - 0x20], 0xbea12209
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x24], 0xa6c65b0b
mov dword [ebp - 0x18], 0x3cf68729
push edi
call fcn.1001b2e8
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], 0xaec51ac0
mov dword [ebp - 0x14], ebx
jmp 0x10019ce6
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x150]
mov dword [eax + ecx*4], 9
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x10019cd3
mov dword [ebp - 0x14], ebx
jmp 0x10019d01
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x2b4], 0x4fc3
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x10019cf0
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp eax, 0xb1b0
setl cl
imul ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x10019d2f
mov eax, ebx
cmp dword [ebp - 0x24], ebx
je 0x10019d31
mov eax, edi
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
add ecx, eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x150]
dec edx
neg edx
push 7
sbb edx, edx
mov dword [eax], ecx
neg edx
pop eax
cmp eax, ecx
sbb eax, eax
xor ecx, ecx
neg eax
cmp edx, eax
setl cl
xor eax, eax
cmp ecx, 0x34ab
setge al
add eax, 5
cmp eax, dword [ebp - 0x24]
je 0x10019d7d
mov eax, dword [ebp - 0x150]
cmp dword [eax], ebx
mov eax, edi
jne 0x10019d7f
mov eax, ebx
cmp eax, dword [ebp - 0x2c]
jne 0x10019d87
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov ecx, edi
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
sub ecx, eax
cmp dword [ebp - 0x20], ecx
jl 0x10019da0
mov ecx, edi
cmp dword [ebp - 0x20], ebx
jne 0x10019da2
mov ecx, ebx
mov eax, dword [ebp - 0x2c]
xor edx, edx
add eax, ecx
cmp eax, 0x31cd1ac8
mov eax, dword [ebp - 0x2c]
setg dl
xor ecx, ecx
cmp edx, eax
setge cl
add ecx, dword [ebp - 0x20]
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x150]
dec dword [ebp - 0x2a8]
call fcn.1001b36a
mov eax, dword [ebp - 0xac]
lea ecx, [ebp - 0x88]
push esi
mov dword [ebp - 0xec], eax
call fcn.1001b2e8
mov dword [ebp - 4], 0x16
lea eax, [ebp - 0x294]
push dword [ebp + 8]
movdqa xmm0, xmmword [0x1000c6d0]
lea ecx, [ebp - 0x168]
push eax
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x14], 0x6aabecba
push eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], 0x92279191
mov dword [ebp - 0x40], 0x32f4bb0f
push ebx
movdqu xmmword [ebp - 0x2a4], xmm0
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x160], ebx
call fcn.1001dce5
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x14], ebx
jmp 0x10019e64
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x88]
mov dword [eax + ecx*4], 0x313dd33a
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x10019e51
mov dword [ebp - 0x14], ebx
jmp 0x10019e7f
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x8c], 0x8f0bd907
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x10019e6e
push 2
mov dword [ebp - 0x14], ebx
pop ecx
jmp 0x10019e99
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x118], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ecx
jl 0x10019e8c
mov dword [ebp - 0x14], ebx
jmp 0x10019eb4
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x274], 0x5846
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x10019ea3
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], ebx
jl 0x10019ff7
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], 7
lea ecx, [ebp - 0x1b4]
push esi
call fcn.1001b2e8
mov dword [ebp - 0x28], 0xd05c4471
mov dword [ebp - 0x18], ebx
jmp 0x10019efd
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1b4]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x10019eee
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x88]
mov eax, dword [eax + ecx*4]
xor ecx, ecx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
cmp eax, 0xb5a2
mov edx, dword [ebp - 0x88]
setg cl
sub ecx, dword [edx + esi*4]
jne 0x10019f48
mov edx, ebx
cmp dword [ebp - 0x14], ebx
je 0x10019f4a
mov edx, edi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x88]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x2c]
imul ecx, edx
sub ecx, eax
add ecx, dword [ebp - 0x114]
jne 0x10019f6c
mov eax, dword [ebp - 0x114]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ecx + 8]
sub eax, 0xfffffffa
neg eax
push 0
sbb eax, eax
xor edx, edx
inc eax
sub ecx, eax
mov eax, dword [ebp - 0x88]
add ecx, 3
cmp dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x40]
setl dl
sub edx, eax
add edx, 0x77c4
mov dword [ebp - 0x114], edx
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x38]
cmp dword [ecx + edx*4], eax
mov eax, dword [ebp - 0x2c]
pop edx
setg dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x1b4]
setge cl
mov dword [eax], ecx
lea ecx, [ebp - 0x1b4]
dec dword [ebp - 0x26c]
call fcn.1001b36a
dec dword [ebp - 0x14]
push 3
pop esi
jns 0x10019ecf
lea ecx, [ebp - 0x168]
call fcn.1001b36a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.1001b36a
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xe8], eax
jmp 0x1001a025
push 3
pop esi
xor edi, edi
inc edi
push 4
lea ecx, [ebp - 0xcc]
call fcn.1001b2e8
mov dword [ebp - 0x14], 0x6960f57a
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 0x5c0c8fbf
mov dword [ebp - 0x18], ebx
jmp 0x1001a05b
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xcc]
mov dword [eax + ecx*4], 0x7786
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jl 0x1001a048
mov dword [ebp - 0x14], ebx
jmp 0x1001a1b5
mov dword [ebp - 0x28], 0x6652f093
mov dword [ebp - 0x30], 0x55bb5fb4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xcc]
cmp dword [ecx + eax*4], ebx
je 0x1001a149
mov dword [ebp - 0x2c], 0xc80fc3a0
cmp dword [ebp - 0x2c], ebx
jne 0x1001a0c3
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0x14]
cmp ecx, eax
mov eax, dword [ebp - 0x2c]
setne dl
xor ecx, ecx
cmp edx, eax
setge cl
cmp ecx, edi
mov ecx, ebx
sbb eax, eax
neg eax
add eax, dword [ebp - 0x14]
neg eax
sbb eax, eax
inc eax
cmp eax, 0x856dfc9b
je 0x1001a0c5
mov ecx, edi
xor eax, eax
cmp ecx, 0x14ad
setl al
cmp eax, 0x6a530863
jne 0x1001a0e5
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x28], ebx
cmp dword [eax + 4], ebx
je 0x1001a0e8
mov dword [ebp - 0x28], edi
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xcc]
setge cl
imul ecx, dword [eax + edx*4]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
neg eax
sbb eax, eax
xor ecx, ecx
neg eax
cmp eax, 0x5ed9a924
setg cl
xor eax, eax
cmp ecx, 2
setne al
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x24], ebx
jl 0x1001a1af
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x1001a142
push 0x3fd
push ebx
call dword [sym.imp.USER32.dll_CharUpperBuffW]
dec dword [ebp - 0x24]
jns 0x1001a12d
jmp 0x1001a1af
mov dword [ebp - 0x38], edi
cmp dword [ecx], ebx
jne 0x1001a196
cmp dword [ebp - 0x24], ebx
je 0x1001a158
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
or ecx, 0xffffffff
cmp ecx, eax
sbb eax, eax
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
sub ecx, eax
sub ecx, dword [ebp - 0x24]
je 0x1001a183
mov ecx, dword [ebp - 0x14]
mov edx, edi
mov eax, dword [ebp - 0xcc]
cmp dword [eax + ecx*4], ebx
jne 0x1001a185
mov edx, ebx
mov eax, dword [ebp - 0x38]
xor ecx, ecx
cmp eax, edx
mov eax, ebx
setne cl
cmp ecx, 0xfffffffd
jle 0x1001a198
mov eax, edi
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x1001a1af
push 0x1307
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [ebp - 0x14]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jle 0x1001a069
lea ecx, [ebp - 0xcc]
call fcn.1001b36a
mov ecx, dword [ebp - 0x34]
test ecx, ecx
jne 0x1001aa5f
cmp dword [ebp - 0xb8], ecx
jle 0x1001aa5f
mov dword [ebp - 0x30], esi
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x30], 0x4cd4536
or eax, 0xffffffff
mov dword [ebp - 0x30], 9
mov dword [ebp - 0x30], 0xd09ea983
mov dword [ebp - 0x30], 0xb659d568
mov dword [ebp - 0x30], 0x588d0d3f
mov dword [ebp - 0x30], 0x60693009
mov dword [ebp - 0x30], 0x3244d513
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x30], 0x7207182
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], 0x7ab6
inc dword [ebp - 0x28]
push 4
call fcn.1001b2e8
mov dword [ebp - 4], 0x18
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x18], 0xfffffffe
push esi
call fcn.1001b2e8
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x20], ebx
jmp 0x1001a27b
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x180]
mov dword [eax + ecx*4], 2
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 4
jl 0x1001a268
mov dword [ebp - 0x20], ebx
jmp 0x1001a299
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x19c]
mov dword [eax + ecx*4], 0xfffffff8
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], esi
jl 0x1001a286
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x30], eax
mov dword [eax + 8], 0xfffffff1
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x1001a2c7
push 0x6a
push 0x18dc
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov eax, dword [ebp - 0x30]
inc dword [eax + 8]
cmp dword [eax + 8], 0x17
jl 0x1001a2ae
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x24], ebx
jl 0x1001a500
mov dword [ebp - 0x30], 0xfffffff7
lea ecx, [ebp - 0x1f0]
mov dword [ebp - 0x3c], 0xffffffff
mov dword [ebp - 0x190], esi
mov dword [ebp - 0x18c], esi
mov dword [ebp - 0x188], esi
mov dword [ebp - 0x184], esi
push edi
call fcn.1001b2e8
push edi
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0x1a
call fcn.1001b2e8
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x38], 0x7813
cmp dword [ebp - 0x38], 0x7b57
jle 0x1001a387
mov ecx, ebx
mov dword [ebp - 0x2c], ebx
mov eax, ebx
mov dword [ebp - 0x28], ebx
xor eax, ecx
lea ecx, [ebp - 0x338]
cdq
push edx
push eax
call fcn.1000dafa
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001a356
mov eax, dword [eax]
push eax
call fcn.1004e316
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x338]
call fcn.1001b738
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, 0x87e
jl 0x1001a33c
inc ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, 0x3e4c
jl 0x1001a337
cmp dword [ebp - 0x38], 0x76ca
jge 0x1001a39b
push 0x10008d18
call fcn.1004e316
pop ecx
mov dword [ebp - 4], 0x1b
mov dword [ebp - 0x20], ebx
jmp 0x1001a3ba
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1f0]
mov dword [eax + ecx*4], 5
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edi
jl 0x1001a3a7
mov dword [ebp - 0x20], ebx
jmp 0x1001a3d7
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1cc]
mov dword [eax + ecx*4], 0xfff9
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], edi
jl 0x1001a3c4
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov eax, dword [ebp - 0x1cc]
dec dword [eax]
cmp dword [eax], edi
sete cl
xor eax, eax
cmp ecx, edi
setge al
add eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x3c]
add ecx, eax
mov eax, dword [ebp - 0x180]
neg ecx
sbb ecx, ecx
neg ecx
neg ecx
mov dword [eax + 8], ecx
mov dword [ebp - 0x3c], ecx
xor ecx, ecx
cmp dword [eax], ebx
setne cl
dec dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
xor edx, edx
cmp ecx, eax
setl dl
xor ecx, ecx
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0x18]
cmp eax, edx
mov eax, dword [ebp - 0x19c]
setge cl
mov dword [eax + 4], ecx
mov dword [ebp - 0x28], 0x3a0b
cmp dword [ebp - 0x28], 0x3cc9
jle 0x1001a481
mov edi, ebx
mov dword [ebp - 0x30], ebx
mov ecx, ebx
mov eax, edi
shl eax, cl
mov ecx, 0x1060d6f8
cdq
push edx
push eax
call fcn.1001b0b7
inc ebx
cmp ebx, 0xa4b
jl 0x1001a456
inc edi
push 0
pop ebx
cmp edi, 0x1038
jl 0x1001a453
xor edi, edi
inc edi
mov byte [ebp - 0x19], bl
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0x28], 0x394f
jge 0x1001a4c4
mov edx, 0x10008d50
mov ecx, 0x1060d6f8
call fcn.1001d5c2
jmp 0x1001a4c4
mov dword [ebp - 4], 0x1b
cmp byte [ebp - 0x19], 0
je 0x1001a4de
push ebx
push 0x1e74
push ebx
call dword [sym.imp.GDI32.dll_GetRegionData]
lea ecx, [ebp - 0x1cc]
call fcn.1001b36a
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 0x19
call fcn.1001b36a
dec dword [ebp - 0x24]
jmp 0x1001a2d3
lea ecx, [ebp - 0x19c]
call fcn.1001b36a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x180]
call fcn.1001b36a
push 2
lea ecx, [ebp - 0xd8]
call fcn.1001b2e8
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x14], 0xa9d6
mov dword [ebp - 0x18], 0xfffffff8
mov dword [ebp - 0x24], ebx
jmp 0x1001a550
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xd8]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 2
jl 0x1001a541
mov dword [ebp - 0x20], edi
cmp dword [ebp - 0x20], ebx
jl 0x1001a664
mov dword [ebp - 0x24], 0xfffffffc
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jne 0x1001a577
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + ecx*4]
inc eax
cmp eax, 0xffffffff
je 0x1001a5ef
cmp dword [ebp - 0x14], ebx
je 0x1001a5ef
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x14], ebx
jl 0x1001a5c4
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x1001a5bf
push ebx
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
dec dword [ebp - 0x14]
jns 0x1001a5ae
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ebp - 0x24]
cmp dword [ecx + edx*4], eax
jne 0x1001a5e7
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x40], edi
jmp 0x1001a65b
mov dword [ebp - 0x30], 0x718da91e
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x18], ebx
jl 0x1001a658
mov dword [ebp - 0x14], ebx
jmp 0x1001a64e
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ecx + eax*4]
mov dword [ecx + edx*4], eax
mov dword [ebp - 0x24], ebx
jmp 0x1001a646
mov dword [ebp - 0x2c], 0xfffffffd
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x2c], ebx
jl 0x1001a643
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x1001a63e
push ebx
push 0x58e
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
dec dword [ebp - 0x2c]
jns 0x1001a629
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], edi
jle 0x1001a61a
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jle 0x1001a603
dec dword [ebp - 0x18]
jns 0x1001a5fe
mov eax, dword [ebp - 0x30]
dec dword [ebp - 0x20]
jns 0x1001a562
lea ecx, [ebp - 0xd8]
call fcn.1001b36a
mov dword [ebp - 0x18], 8
lea ecx, [ebp - 0x1e4]
push esi
call fcn.1001b2e8
mov dword [ebp - 0x24], 0x5cefd06b
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], ebx
jmp 0x1001a6a4
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1e4]
mov dword [eax + ecx*4], 0xa2337124
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], esi
jl 0x1001a691
mov dword [ebp - 0x20], ebx
jmp 0x1001a6bf
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x220], 0xfffffffb
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], esi
jl 0x1001a6ae
cmp dword [ebp - 0x18], ebx
jne 0x1001a70d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1e4]
mov dword [eax + 4], ecx
cmp ecx, 0xb2bc40ed
jae 0x1001a6ef
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x220], eax
je 0x1001a70d
mov eax, ebx
cmp dword [ebp - 0x220], ebx
je 0x1001a70f
mov eax, edi
lea ecx, [ebp - 0x1e4]
mov dword [ebp - 0x24], eax
call fcn.1001b36a
cmp dword [ebp - 0xb4], 0
je 0x1001aa5f
cmp dword [ebp - 0xb8], 0
je 0x1001aa5f
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x24], 0x62858905
push 2
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x18], ebx
pop esi
jmp 0x1001a761
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xc0], 0xa964a90c
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x1001a750
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x1001a775
call dword [sym.imp.USER32.dll_WaitMessage]
cmp dword [ebp - 0x14], ebx
je 0x1001a77d
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp ecx, eax
mov eax, dword [ebp - 0x14]
setge dl
xor ecx, ecx
cmp edx, eax
setl cl
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xad6
jne 0x1001a859
mov dword [ebp - 0x34], 9
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp - 0x24], ebx
jl 0x1001a8e0
mov dword [ebp - 0x18], 0xcc01
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x14], edi
cmp dword [ebp - 0x14], ebx
jl 0x1001a84b
mov dword [ebp - 0x30], edi
cmp dword [ebp - 0x18], ebx
je 0x1001a7ed
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
xor ecx, ecx
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp + eax*4 - 0xc0]
mov eax, dword [ebp - 0x34]
cmp eax, 0x6fe1
setge cl
imul edx, ecx
test edx, edx
je 0x1001a81b
mov eax, edi
cmp dword [ebp - 0x30], ebx
jne 0x1001a81d
mov eax, ebx
add eax, 9
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0xc0]
test eax, eax
setg cl
inc ecx
neg ecx
sbb ecx, ecx
inc ecx
mov dword [ebp - 0x2c], ecx
dec dword [ebp - 0x14]
jns 0x1001a7e2
dec dword [ebp - 0x24]
jns 0x1001a7cc
jmp 0x1001a8e0
mov dword [ebp - 0x20], 0x4f8a3d35
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xbc], ebx
jne 0x1001a87b
mov edx, ebx
cmp dword [ebp - 0x20], ebx
je 0x1001a87d
mov edx, edi
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x20]
sbb ecx, ecx
neg ecx
add ecx, edx
add eax, ecx
xor ecx, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
imul eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], 0x6b81
mov eax, dword [ebp - 0x2c]
cmp eax, edi
mov eax, dword [ebp - 0x20]
setl cl
sub eax, ecx
jne 0x1001a8c2
mov eax, ebx
cmp dword [ebp - 0x24], ebx
je 0x1001a8c4
mov eax, edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], ebx
jmp 0x1001a8db
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0xc0], ebx
jne 0x1001a8e0
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jle 0x1001a8cc
mov ecx, dword [ebp - 0xb4]
call fcn.10018c14
mov dword [ebp - 0x14], 0xfffffff8
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x38], 0xecf0
mov dword [ebp - 0x28], 0x5ab06c0e
mov dword [ebp - 0x2c], 0x44ad
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], ebx
je 0x1001a925
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
cmp eax, ecx
mov eax, dword [ebp - 0x2c]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x14]
setne cl
mov dword [ebp - 0x30], ecx
xor ecx, ecx
cmp eax, dword [ebp - 0x30]
setle cl
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x14], eax
jle 0x1001a9fa
mov dword [ebp - 0x2c], 0x48214d2f
mov dword [ebp - 0x14], ebx
jmp 0x1001a9f2
push 2
mov dword [ebp - 0x20], ebx
pop ecx
jmp 0x1001a996
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x200], 0x9a164e62
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], ecx
jl 0x1001a985
mov dword [ebp - 0x20], ebx
jmp 0x1001a9ad
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x208], edi
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], ecx
jl 0x1001a9a0
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x2c]
je 0x1001a9c1
mov eax, edi
cmp dword [ebp - 0x2c], ebx
jne 0x1001a9c3
mov eax, ebx
mov ecx, dword [ebp - 0x2c]
neg eax
neg eax
sbb eax, eax
xor edx, edx
neg eax
add ecx, eax
mov eax, dword [ebp - 0x1fc]
cmp ecx, eax
setge dl
add edx, 0x483bbb66
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x204], edx
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffee
jge 0x1001a97d
jmp 0x1001aa51
push esi
lea ecx, [ebp - 0x1d8]
call fcn.1001b2e8
mov dword [ebp - 0x18], ebx
jmp 0x1001aa1e
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1d8]
mov dword [eax + ecx*4], 9
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x1001aa0b
mov dword [ebp - 0x24], 0x12
jmp 0x1001aa40
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1d8]
neg ecx
sbb ecx, ecx
neg ecx
mov dword [eax], ecx
dec dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0xffffffe8
jl 0x1001aa2c
lea ecx, [ebp - 0x1d8]
call fcn.1001b36a
lea eax, [ebp - 0x5c]
push eax
call fcn.1001b40e
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
push edi
lea ecx, [ebp - 0xa8]
call fcn.1001b2e8
mov dword [ebp - 4], 0x20
mov dword [ebp - 0x28], 5
mov dword [ebp - 0x14], ebx
jmp 0x1001aa91
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xa8]
mov dword [eax + ecx*4], 0x97f6af11
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1001aa7e
mov dword [ebp - 0x14], ebx
jmp 0x1001aaac
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x1f8], 0x4b4b26d8
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x1001aa9b
mov dword [ebp - 0x14], ebx
jmp 0x1001aac8
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xf8], 0xbf60
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x1001aab7
mov esi, dword [ebp - 0xa8]
mov dword [esi], ebx
cmp dword [esi], 0xffffffe2
jge 0x1001aca6
mov dword [ebp - 0x24], 0x3fa75c19
mov dword [ebp - 0x30], 0xfffffff6
mov dword [ebp - 0x3c], 5
mov dword [ebp - 0x2c], 0x349dda4a
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x24], 0xffffffe7
jge 0x1001ac6d
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x28], 0xba5fc026
mov dword [ebp - 0x28], 0x61302d9c
mov dword [ebp - 0x38], 0x1d2f
cmp dword [ebp - 0x38], 0x1f4f
jle 0x1001ab7b
mov esi, ebx
mov ecx, ebx
mov dword [ebp - 0x28], ebx
mov eax, esi
shl eax, cl
lea ecx, [ebp - 0x320]
cdq
push edx
push eax
call fcn.1000dafa
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1001ab4f
mov eax, dword [eax]
push eax
call fcn.1004e316
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x320]
call fcn.1001b738
mov ecx, dword [ebp - 0x28]
inc ecx
mov dword [ebp - 0x28], ecx
cmp ecx, 0x25b7
jl 0x1001ab33
inc esi
cmp esi, 0x6958
jl 0x1001ab2e
mov dword [ebp - 0x40], 0x9ce5
cmp dword [ebp - 0x38], 0x1c8a
jge 0x1001ab96
push 0x10008db0
call fcn.1004e316
pop ecx
mov dword [ebp - 4], 0x20
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax]
sub edx, ecx
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
add eax, edx
add ecx, eax
mov eax, 0xe6fc2e60
cmp eax, ecx
sbb eax, eax
xor edx, edx
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
cmp ecx, eax
setge dl
xor ecx, ecx
imul edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp edx, eax
mov eax, dword [ebp - 0xa8]
setl cl
xor edx, edx
cmp dword [eax], ecx
mov esi, dword [eax]
mov eax, dword [ebp - 0x18]
setl dl
mov dword [ebp - 0x30], edx
xor edx, edx
cmp dword [ebp - 0x30], 0xffffffff
setle dl
xor ecx, ecx
cmp edx, eax
setg cl
xor eax, eax
cmp ecx, esi
setl al
xor ecx, ecx
cmp eax, esi
mov eax, dword [ebp - 0x18]
setne cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x3c]
setne dl
xor ecx, ecx
cmp edx, eax
setne cl
xor eax, eax
test ecx, ecx
setle al
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
neg eax
sbb eax, eax
xor ecx, ecx
neg eax
add eax, 0x10b4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax]
cmp edx, edi
setg cl
xor eax, eax
cmp ecx, edx
setge al
mov dword [ebp - 0x28], eax
dec dword [ebp - 0x24]
jmp 0x1001aafd
mov eax, dword [ebp - 0xf8]
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0xa8]
xor eax, eax
cmp dword [esi], eax
setg al
xor ecx, ecx
cmp eax, dword [esi]
setne cl
xor edx, edx
cmp ecx, dword [esi]
setle dl
xor eax, eax
cmp edx, 0xc6e1
setl al
dec dword [esi]
mov dword [ebp - 0x28], eax
jmp 0x1001aad5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.1001b36a
lea ecx, [ebp - 0xb8]
call fcn.10014bda
push 3
pop esi
push esi
lea ecx, [ebp - 0x58]
call fcn.1001b2e8
mov dword [ebp - 4], 0x23
mov dword [ebp - 0x30], 0xbab1f35
mov dword [ebp - 0x24], ebx
jmp 0x1001aced
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x44], 0xe2db
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], edi
jl 0x1001acdf
mov dword [ebp - 0x24], ebx
jmp 0x1001ad07
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x58]
mov dword [eax + ecx*4], 0xfffffff7
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], esi
jl 0x1001acf7
mov eax, dword [ebp - 0x58]
mov dword [eax], ebx
cmp dword [eax], ebx
jl 0x1001aef4
mov dword [ebp - 0x2c], 0xc80ae7b1
mov dword [ebp - 0x2c], 0x289d
cmp dword [ebp - 0x2c], 0x2a01
jle 0x1001ad9e
call dword [sym.imp.USER32.dll_EndMenu]
mov edi, ebx
mov dword [ebp - 0x3c], ebx
mov eax, ebx
mov dword [ebp - 0x38], ebx
mov edx, edi
mov dword [ebp - 0x30], ebx
mov ecx, eax
mov edi, ebx
shl edx, cl
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x30], ebx
mov ecx, ebx
mov eax, edi
shl eax, cl
mov ecx, 0x1060d6f8
or eax, edx
cdq
push edx
push eax
call fcn.1001b0b7
mov edx, dword [ebp - 0x28]
inc ebx
cmp ebx, 0x2b23
jl 0x1001ad51
inc edi
push 0
pop ebx
cmp edi, 0x6a70
jl 0x1001ad4e
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, 0x9c5
jl 0x1001ad40
inc edi
mov dword [ebp - 0x3c], edi
cmp edi, 0x546
jl 0x1001ad3b
xor edi, edi
inc edi
mov dword [ebp - 0x18], ebx
jmp 0x1001adb4
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x2c0], 0xab721576
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jl 0x1001ada3
mov byte [ebp - 4], 0x24
cmp dword [ebp - 0x2c], 0x27ed
jge 0x1001adf9
mov edx, 0x10008e40
mov ecx, 0x1060d6f8
call fcn.1001d5c2
jmp 0x1001adf9
mov dword [ebp - 4], 0x23
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x44]
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x44], ebx
je 0x1001ae20
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x44]
mov eax, dword [ebp - 0x58]
xor ecx, ecx
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x44]
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x44]
cmp eax, edi
mov eax, dword [ebp - 0x58]
setg cl
xor edx, edx
cmp ecx, 0xd2cc
setge dl
xor ecx, ecx
cmp edx, dword [eax]
mov eax, dword [ebp - 0x44]
setg cl
xor edx, edx
cmp ecx, 0x2ef703c5
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x58]
setl cl
mov dword [ebp - 0x30], ecx
xor ecx, ecx
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x44]
cmp eax, dword [ebp - 0x30]
setne cl
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x2bc], edi
mov eax, dword [ecx + 8]
mov edx, dword [ecx]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x44]
dec eax
neg eax
sbb eax, eax
xor ecx, ecx
neg eax
cmp eax, edx
mov eax, dword [ebp + edx*4 - 0x44]
setle cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x58]
sete dl
mov eax, dword [eax]
sub edx, dword [ebp + eax*4 - 0x44]
xor eax, eax
cmp edx, 0x84b6
setne al
xor ecx, ecx
cmp eax, 0xd1a0c8
mov eax, dword [ebp - 0x2c]
setge cl
sub eax, ecx
neg eax
sbb eax, eax
xor edx, edx
inc eax
cmp eax, 0xfffffffc
mov eax, dword [ebp - 0x58]
setle dl
xor ecx, ecx
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0x44]
cmp eax, edx
mov eax, dword [ebp - 0x58]
setle cl
mov dword [ebp - 0x30], ecx
dec dword [eax]
jmp 0x1001ad11
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x1001af09
push ebx
push 0x25f2
call dword [sym.imp.USER32.dll_ShowOwnedPopups]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.1001b36a
cmp dword [ebp - 0x48], 0
jne 0x1001afda
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x1001afda
mov dword [ebp - 0x28], 0x4e79
or eax, 0xffffffff
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0xc588e1b6
mov dword [ebp - 0x28], 0xa43b2b74
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], ebx
jmp 0x1001af5d
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xf4], ebx
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jl 0x1001af50
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], 2
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x2c]
cmp ecx, eax
mov eax, dword [ebp - 0xf4]
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x2c]
setge cl
xor edx, edx
add eax, ecx
mov ecx, dword [ebp - 0x28]
cmp eax, 0x3ccde6bc
setge dl
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp ecx, edx
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x34]
setge al
mov dword [ebp - 0x2c], eax
call fcn.10018c4c
mov esi, eax
lea eax, [ebp - 0x9c]
push eax
mov dword [ebp - 0xf0], esi
call fcn.1001b3ac
push 3
mov dword [eax], esi
pop esi
mov dword [ebp - 0x28], 0xafd94fe5
mov dword [ebp - 0x4c], 0x1bca9d69
mov dword [ebp - 0x30], 0x4b03e386
mov dword [ebp - 0x40], esi
mov byte [ebp - 0x19], bl
cmp byte [ebp - 0x19], 0
je 0x1001b003
push ebx
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
cmp dword [ebp - 0x28], ebx
je 0x1001b00b
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x30], ebx
jne 0x1001b013
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], edi
mov eax, dword [ebp + 8]
lea esi, [ebp - 0xf0]
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