Function at 0x1001b660
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10087ce6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x350
push ebx
xor ebx, ebx
mov dword [esp + 0x20], 0xf75dcec3
mov byte [esp + 0x2b], bl
push esi
push edi
mov dword [esp + 0x118], edx
mov dword [esp + 0x40], ecx
cmp byte [esp + 0x33], bl
je 0x1001b6aa
push ebx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
xor esi, esi
mov dword [esp + 0x28], ebx
inc esi
jmp 0x1001b82b
lea ecx, [esp + 0x12c]
call fcn.100198f4
mov eax, 0x7a3a11c1
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0x34], 0x278c007c
mov dword [esp + 0x10], ebx
jmp 0x1001b70d
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x128]
mov dword [eax + ecx*4], 0x2a4f402e
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x1001b6f7
mov dword [esp + 0xc8], esi
cmp dword [esp + 0xc8], ebx
jl 0x1001b81b
mov esi, dword [esp + 0x128]
mov ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0x128]
cmp dword [eax + ecx*4], ebx
je 0x1001b7c8
xor edx, edx
mov dword [esp + 0x10], ebx
inc edx
cmp dword [esp + 0x10], edx
jge 0x1001b768
or ecx, 0xffffffff
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x44], ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jl 0x1001b756
mov dword [esp + 0x44], ebx
cmp dword [esp + 0x44], 0xffffffe3
jge 0x1001b7e6
mov byte [esp + 0x33], bl
cmp byte [esp + 0x33], bl
je 0x1001b798
push ebx
push 0x1efc
push 0x23f3
call edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
mov byte [esp + 0x33], bl
cmp byte [esp + 0x33], bl
je 0x1001b7bb
push 0x2b2
push 0x13bf
push 0x21a
call edi
push eax
push ebx
call dword [sym.imp.USER32.dll_PeekMessageA]
dec dword [esp + 0x44]
cmp dword [esp + 0x44], 0xffffffe3
jl 0x1001b773
jmp 0x1001b7e3
mov byte [esp + 0x33], bl
cmp byte [esp + 0x33], bl
je 0x1001b7e3
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
xor edx, edx
inc edx
cmp dword [esi + 4], ebx
je 0x1001b805
mov ecx, dword [esp + 0xc8]
mov eax, dword [esp + 0x128]
mov eax, dword [eax + ecx*4]
test eax, eax
mov dword [esi + 4], eax
mov eax, edx
jne 0x1001b807
mov eax, ebx
mov dword [esp + 0x34], eax
dec dword [esp + 0xc8]
jns 0x1001b72f
xor esi, esi
inc esi
lea ecx, [esp + 0x128]
call fcn.10019976
inc dword [esp + 0x28]
push 2
cmp dword [esp + 0x2c], esi
jge 0x1001b6bc
mov dword [esp + 0x1c], 0x63126ff2
lea ecx, [esp + 0xa4]
mov dword [esp + 0x24], 0x65352f76
mov dword [esp + 0x20], 0x409884cb
call fcn.100198f4
mov dword [esp + 0x34], 0xfffc
mov dword [esp + 0x10], ebx
jmp 0x1001b87f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xa0]
mov dword [eax + ecx*4], 0xd68f9855
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x1001b869
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], 0xf8f5
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
sub eax, 0xfffa
neg eax
sbb eax, eax
xor edx, edx
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xa0]
dec ecx
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
cmp ecx, eax
setge dl
cmp edx, 5
ja 0x1001babe
mov dword [esp + 0x3c], 0xce7
or esi, 0xffffffff
mov dword [esp + 0x10], esi
xor ecx, ecx
mov dword [esp + 0x28], esi
inc ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], 0xec287848
mov dword [esp + 0x20], ebx
jmp 0x1001b91a
mov eax, dword [esp + 0x20]
mov dword [esp + eax*4 + 0x48], 0xe2718b96
inc dword [esp + 0x20]
cmp dword [esp + 0x20], ecx
jl 0x1001b90a
mov dword [esp + 0x20], ebx
jmp 0x1001b936
mov eax, dword [esp + 0x20]
mov dword [esp + eax*4 + 0x58], 0x5dd68647
inc dword [esp + 0x20]
cmp dword [esp + 0x20], ecx
jl 0x1001b926
mov dword [esp + 0x20], 0x84ed
xor edx, edx
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x10]
cmp eax, ecx
setg dl
cmp esi, edx
sbb eax, eax
xor edx, edx
inc eax
inc edx
mov dword [esp + 0x28], eax
cmp dword [esp + 0x28], edx
jbe 0x1001b975
mov ecx, edx
cmp dword [esp + 0x48], ebx
jne 0x1001b977
mov ecx, ebx
mov eax, dword [esp + 0x3c]
add eax, ecx
jne 0x1001b985
cmp dword [esp + 0x10], ebx
je 0x1001b993
mov eax, dword [esp + 0xa0]
mov ecx, edx
cmp dword [eax + 4], ebx
jne 0x1001b995
mov ecx, ebx
xor eax, eax
cmp ecx, esi
setg al
sub eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x18]
jge 0x1001b9ae
mov ecx, ebx
cmp dword [esp + 0x10], ebx
je 0x1001b9b0
mov ecx, edx
mov eax, dword [esp + 0x18]
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x48]
setne dl
xor ecx, ecx
cmp eax, edx
mov eax, dword [esp + 0xa0]
setg cl
mov dword [eax], ecx
mov dword [esp + 0x58], 0x5eba
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
sub eax, 0x7a2aa563
je 0x1001ba23
cmp dword [esp + 0x1c], ebx
je 0x1001ba23
mov dword [esp + 0x28], ebx
jmp 0x1001ba1a
mov dword [esp + 0x24], 9
inc dword [esp + 0x28]
cmp dword [esp + 0x28], 0x1a
jne 0x1001ba0e
jmp 0x1001ba47
mov dword [esp + 0x3c], 0xfffffff6
mov dword [esp + 0x24], ebx
jmp 0x1001ba41
mov eax, dword [esp + 0x24]
mov eax, dword [esp + eax*4 + 0x58]
mov dword [esp + 0x3c], eax
inc dword [esp + 0x24]
cmp dword [esp + 0x24], ebx
jle 0x1001ba31
mov eax, dword [esp + 0x20]
xor ecx, ecx
cmp eax, 0x7dcc
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x48]
setle cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x48]
setle dl
xor ecx, ecx
cmp edx, eax
setle cl
lea eax, [ecx - 1]
cmp eax, dword [esp + 0x34]
je 0x1001ba7c
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
xor edx, edx
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x24]
mov dword [eax], esi
mov eax, dword [esp + 0x10]
cmp ecx, eax
setge dl
xor eax, eax
cmp esi, edx
setl al
xor ecx, ecx
imul eax, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x34], eax
setne cl
xor esi, esi
mov dword [esp + 0x20], ecx
inc esi
jmp 0x1001bb2c
mov dword [esp + 0x3c], 0xffff
xor edx, edx
mov dword [esp + 0x34], 0xf543a9b1
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
cmp eax, ecx
setge dl
sub edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xa0]
add ecx, edx
xor edx, edx
mov dword [eax], ecx
mov eax, dword [esp + 0x34]
cmp ecx, eax
sete dl
sub edx, 0x679d
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
add edx, dword [esp + 0x1c]
add edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp eax, edx
mov eax, dword [esp + 0x1c]
setl cl
sub eax, ecx
neg eax
sbb eax, eax
inc eax
sub eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
push 6
mov dword [esp + 0x20], 0xe
pop eax
jmp 0x1001bb61
mov byte [esp + 0x33], bl
cmp byte [esp + 0x33], bl
je 0x1001bb5d
push ebx
push 0x1c4a
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
push 6
pop eax
dec dword [esp + 0x1c]
cmp dword [esp + 0x1c], eax
jl 0x1001bb39
lea ecx, [esp + 0xa0]
call fcn.10019976
mov dword [esp + 0x2c], 0xf73838a1
mov dword [esp + 0x3c], 0xfff6
push 3
mov dword [esp + 0x2c], 0xd16df251
mov dword [esp + 0x14], ebx
pop edi
jmp 0x1001bba7
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x2e8], 0x7b1891f7
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x1001bb94
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x28], ebx
jmp 0x1001bc06
mov dword [esp + 0x34], esi
mov dword [esp + 0x10], ebx
jmp 0x1001bbd1
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x50], edi
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x1001bbc5
mov dword [esp + 0x34], 0x3717
mov eax, dword [esp + 0x34]
mov eax, dword [esp + 0x50]
mov eax, dword [esp + 0x2ec]
mov eax, dword [esp + 0x50]
mov eax, dword [esp + 0x50]
mov eax, dword [esp + 0x3c]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x50], ebx
inc dword [esp + 0x28]
cmp dword [esp + 0x28], 2
jle 0x1001bbbb
push dword [esp + 0x40]
lea eax, [esp + 0x27c]
mov dword [esp + 0xf8], ebx
push eax
lea eax, [esp + 0x270]
mov dword [esp + 0x100], ebx
push eax
xorps xmm0, xmm0
mov dword [esp + 0x108], ebx
push ebx
lea ecx, [esp + 0x104]
movdqu xmmword [esp + 0x278], xmm0
call fcn.1001adcc
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x10], edi
jge 0x1001bc71
or ecx, 0xffffffff
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x33c], ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x1001bc5c
mov eax, dword [esp + 0xf4]
lea ecx, [esp + 0xf4]
mov dword [eax + 4], 0xffffffeb
call fcn.10019976
mov dword [esp + 0x10], ebx
jmp 0x1001bca4
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x32c], 0x4a53aa9a
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x1001bc91
push 2
lea ecx, [esp + 0x60]
call fcn.100198f4
mov dword [esp + 0x364], ebx
lea ecx, [esp + 0x100]
mov dword [esp + 0x1c], ebx
mov eax, 0x7f8b4dfe
mov dword [esp + 0x10], 0x33563700
mov dword [esp + 0x28], 0xd34caa8e
mov dword [esp + 0x18], esi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
push edi
call fcn.100198f4
xor edx, edx
mov eax, 0xfcbdc27b
inc edx
mov byte [esp + 0x364], dl
mov dword [esp + 0x38], 0x8c6aee34
mov dword [esp + 0x1f8], eax
mov dword [esp + 0x1fc], eax
mov dword [esp + 0x200], eax
mov dword [esp + 0x204], eax
mov dword [esp + 0x3c], 0x1f6
mov dword [esp + 0x20], ebx
jmp 0x1001bd4e
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x5c]
mov dword [eax + ecx*4], 0x53d06ce1
inc dword [esp + 0x20]
cmp dword [esp + 0x20], 2
jl 0x1001bd3b
mov dword [esp + 0x20], ebx
jmp 0x1001bd6d
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x100]
mov dword [eax + ecx*4], edx
inc dword [esp + 0x20]
cmp dword [esp + 0x20], edi
jl 0x1001bd5b
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x1c], edx
jg 0x1001bebb
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x24], 0x187110e6
lea ecx, [esp + 0x23c]
push edx
call fcn.100198f4
xor esi, esi
mov dword [esp + 0x20], ebx
inc esi
cmp dword [esp + 0x20], esi
jge 0x1001bdc2
or edx, 0xffffffff
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x23c]
mov dword [eax + ecx*4], edx
inc dword [esp + 0x20]
cmp dword [esp + 0x20], esi
jl 0x1001bdaa
cmp dword [edi + 4], ebx
jne 0x1001be2c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
setl cl
xor eax, eax
cmp ecx, 0x4e5477a
setle al
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x78]
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x1c], esi
jg 0x1001be07
cmp dword [esp + 0x24], ebx
je 0x1001be0b
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x100]
dec dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x7c]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x7c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + ecx*4]
sub ecx, dword [eax + edx*4]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + ecx*4]
xor ecx, ecx
mov dword [edx + esi*4], eax
mov eax, dword [esp + 0x24]
cmp dword [edx + esi*4], eax
sete cl
xor eax, eax
inc eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], ebx
jl 0x1001be9e
mov byte [esp + 0x33], bl
cmp byte [esp + 0x33], 0
je 0x1001be98
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
dec dword [esp + 0x18]
jns 0x1001be86
lea ecx, [esp + 0x23c]
call fcn.10019976
inc dword [esp + 0x1c]
xor edx, edx
inc edx
cmp dword [esp + 0x1c], edx
jle 0x1001bd85
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x28]
dec edx
neg edx
mov edi, dword [esp + 0x5c]
sbb edx, edx
inc edx
sub edx, eax
neg edx
sbb edx, edx
neg edx
sub edx, dword [esp + 0x28]
mov eax, dword [esp + 0x80]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setg cl
xor eax, eax
cmp ecx, dword [edi + 4]
setl al
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x1c], ebx
je 0x1001c037
mov dword [esp + 0x24], ebx
xor edx, edx
mov dword [esp + 0x20], 0xfffffff8
inc edx
mov dword [esp + 0x34], 0xb89d5a4b
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x18], edx
jg 0x1001bfdb
mov esi, dword [esp + 0x100]
mov dword [esp + 0x34], edx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
cmp dword [eax + ecx*4], ebx
je 0x1001bfb9
cmp dword [esp + 0x24], ebx
je 0x1001bfb1
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
cmp dword [eax + ecx*4], ebx
je 0x1001bf98
mov ecx, dword [esp + 0x18]
xor edx, edx
mov eax, dword [esp + 0x5c]
cmp dword [eax + ecx*4], 1
mov eax, dword [esp + 0x28]
sete dl
xor ecx, ecx
cmp edx, eax
setle cl
xor edx, edx
inc edx
mov eax, edx
cmp dword [esi + 8], ecx
jge 0x1001bf9a
mov eax, ebx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1fc], eax
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov eax, dword [esp + 0x7c]
cmp dword [esi + 8], eax
setg cl
mov dword [esp + 0x74], ecx
inc dword [esp + 0x18]
cmp dword [esp + 0x18], edx
jle 0x1001bf4e
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x24]
neg eax
sbb eax, eax
neg eax
add eax, dword [esp + 0x7c]
je 0x1001bff3
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
or ecx, 0xffffffff
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x100]
cmp ecx, dword [eax + 8]
mov eax, dword [esp + 0x20]
sbb edx, edx
xor ecx, ecx
neg edx
cmp eax, edx
setg cl
cmp dword [edi + 4], ecx
je 0x1001c02f
cmp dword [esp + 0x20], ebx
je 0x1001c02f
xor eax, eax
inc eax
jmp 0x1001c031
mov eax, ebx
mov dword [esp + 0x34], eax
jmp 0x1001c0a5
push 4
lea ecx, [esp + 0x1cc]
call fcn.100198f4
mov dword [esp + 0x10], ebx
jmp 0x1001c061
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c8]
mov dword [eax + ecx*4], 0xb622
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x1001c04b
mov eax, dword [esp + 0x1c8]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov byte [esp + 0x33], bl
cmp byte [esp + 0x33], 0
je 0x1001c099
push 0xc4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetPolyFillMode]
lea ecx, [esp + 0x1c8]
call fcn.10019976
lea ecx, [esp + 0x100]
call fcn.10019976
or eax, 0xffffffff
lea ecx, [esp + 0x5c]
mov dword [esp + 0x364], eax
call fcn.10019976
mov byte [esp + 0x17], bl
mov eax, 0xfa516694
mov dword [esp + 0x1c], 0x68ec0ae9
mov dword [esp + 0x208], eax
mov dword [esp + 0x20c], eax
mov dword [esp + 0x210], eax
mov dword [esp + 0x214], eax
xor eax, eax
mov dword [esp + 0x34], 0xa6f44401
inc eax
push 0xfffffffffffffff9
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], ebx
pop edi
jmp 0x1001c118
mov eax, dword [esp + 0x20]
mov dword [esp + eax*4 + 0x19c], edi
inc dword [esp + 0x20]
cmp dword [esp + 0x20], 2
jl 0x1001c109
mov dword [esp + 0x20], ebx
jmp 0x1001c138
mov eax, dword [esp + 0x20]
mov dword [esp + eax*4 + 0x30c], 0xe68fc786
inc dword [esp + 0x20]
cmp dword [esp + 0x20], 4
jl 0x1001c125
mov dword [esp + 0x1c], 0xffffffef
jmp 0x1001c167
mov dword [esp + 0x34], ebx
mov byte [esp + 0x33], bl
cmp byte [esp + 0x33], 0
je 0x1001c15f
push ebx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov eax, dword [esp + 0x34]
dec dword [esp + 0x1c]
cmp dword [esp + 0x1c], 0xffffffea
jg 0x1001c149
mov dword [esp + 0x1a0], 0xeab3
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
neg eax
sbb eax, eax
neg eax
sub eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x1c]
neg eax
sbb eax, eax
xor edx, edx
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x214], esi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30c], ecx
mov eax, dword [esp + 0x1c]
cmp ecx, eax
setge dl
sub edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], edx
xor edx, edx
cmp dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
setl dl
xor ecx, ecx
cmp eax, edx
setl cl
sub esi, ecx
cmp esi, 0xd050b7f4
jbe 0x1001c20b
cmp dword [esp + 0x1a0], ebx
jne 0x1001c20b
xor esi, esi
mov eax, ebx
inc esi
jmp 0x1001c210
xor esi, esi
inc esi
mov eax, esi
add dword [esp + 0x1c], eax
cmp byte [esp + 0x17], 0
je 0x1001c2f5
push dword [esp + 0x40]
movdqa xmm0, xmmword [0x10008050]
lea eax, [esp + 0x2dc]
push eax
lea eax, [esp + 0x2d0]
mov dword [esp + 0x18c], ebx
push eax
push ebx
lea ecx, [esp + 0x194]
mov dword [esp + 0x198], ebx
movdqu xmmword [esp + 0x2d8], xmm0
mov dword [esp + 0x19c], ebx
call fcn.1001adcc
mov dword [esp + 0x364], 2
mov dword [esp + 0x28], 0xe5ccc90a
mov dword [esp + 0x28], ebx
jmp 0x1001c2ca
push 2
lea ecx, [esp + 0x1a8]
call fcn.100198f4
mov dword [esp + 0x10], ebx
jmp 0x1001c2a5
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1a4]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x1001c293
mov eax, dword [esp + 0x1a4]
lea ecx, [esp + 0x1a4]
mov dword [eax + 4], 0x937a3a11
call fcn.10019976
inc dword [esp + 0x28]
cmp dword [esp + 0x28], 3
jle 0x1001c27f
or eax, 0xffffffff
lea ecx, [esp + 0x184]
mov dword [esp + 0x364], eax
call fcn.10019976
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x338], eax
mov dword [esp + 0x34], 0xfffffffe
mov dword [esp + 0x2c], 0xb2e8
mov dword [esp + 0x3c], 0x407374fd
mov dword [esp + 0x10], ebx
jmp 0x1001c32a
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x68], edi
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x1001c31e
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1001c354
push ebx
push 0xd51
push ebx
push ebx
push 0x1975
push 0x24e4
call dword [sym.imp.USER32.dll_ToAsciiEx]
mov eax, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov eax, dword [esp + 0x70]
dec eax
je 0x1001c367
mov eax, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x34]
neg edx
push 4
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, dword [esp + 0x70]
pop edi
sete cl
xor edx, edx
add eax, ecx
mov ecx, dword [esp + 0x34]
add ecx, eax
mov eax, dword [esp + 0x2c]
cmp ecx, eax
mov eax, dword [esp + 0x70]
push edi
setge dl
xor ecx, ecx
cmp edx, eax
setle cl
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x234]
mov dword [esp + 0x30], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x30], 0x2f4a8b10
mov dword [esp + 0x30], 9
mov dword [esp + 0x30], 0xfffffff6
call fcn.100198f4
mov dword [esp + 0x2c], 5
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], 0xd5228033
mov dword [esp + 0x10], ebx
jmp 0x1001c405
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x230]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x1001c3f3
dec dword [esp + 0x34]
lea ecx, [esp + 0x230]
call fcn.10019976
push dword [esp + 0x40]
lea eax, [esp + 0x2ac]
mov dword [esp + 0x24], 0xf75dcec3
push eax
lea eax, [esp + 0x2a0]
mov dword [esp + 0x124], ebx
push eax
xorps xmm0, xmm0
mov dword [esp + 0x12c], ebx
push ebx
lea ecx, [esp + 0x12c]
mov dword [esp + 0x134], ebx
movdqu xmmword [esp + 0x2a8], xmm0
call fcn.1001adcc
mov dword [esp + 0x2c], 0x60693009
or eax, 0xffffffff
mov dword [esp + 0x2c], 0x513244d5
mov dword [esp + 0x2c], esi
mov dword [esp + 0x2c], 0xab61
mov dword [esp + 0x2c], eax
mov dword [esp + 0x2c], 0xfffffff7
mov dword [esp + 0x2c], 0xba167c28
mov dword [esp + 0x10], ebx
jmp 0x1001c4b1
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x348], 0xbc9fa8bc
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x1001c49e
mov eax, dword [esp + 0x11c]
lea ecx, [esp + 0x11c]
mov dword [eax], 0x15
call fcn.10019976
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1001c633
push 3
pop esi
push esi
lea ecx, [esp + 0x158]
call fcn.100198f4
push esi
lea ecx, [esp + 0x164]
mov dword [esp + 0x368], esi
call fcn.100198f4
mov dword [esp + 0x34], 0xf30b
mov dword [esp + 0x20], ebx
jmp 0x1001c527
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x154]
mov dword [eax + ecx*4], 0xbbca6318
inc dword [esp + 0x20]
cmp dword [esp + 0x20], esi
jl 0x1001c511
mov dword [esp + 0x20], ebx
jmp 0x1001c549
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x160]
mov dword [eax + ecx*4], 7
inc dword [esp + 0x20]
cmp dword [esp + 0x20], esi
jl 0x1001c533
mov edi, dword [esp + 0x160]
mov dword [edi], ebx
mov ebx, dword [esp + 0x154]
lea eax, [ebx + 8]
mov dword [esp + 0x2c], eax
lea eax, [ebx + 4]
mov dword [esp + 0x3c], eax
mov edx, dword [edi]
mov dword [esp + 0x34], 0xfaa32f3f
mov esi, dword [ebx + edx*4]
lea ecx, [esi*2 + 0xc109]
sub ecx, 0xa1245c81
add ecx, edx
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp ecx, edx
mov edx, dword [esp + 0x3c]
setge al
xor ecx, ecx
cmp eax, 0x9507
setne cl
xor eax, eax
add ecx, esi
cmp ecx, dword [edx]
setge al
xor ecx, ecx
dec eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x160]
mov ebx, dword [esp + 0x154]
mov eax, dword [esp + 0x3c]
mov edx, dword [edi]
mov eax, dword [eax]
mov esi, dword [ebx + edx*4]
mov edx, dword [esp + 0x2c]
cmp eax, dword [edx]
mov eax, esi
setne cl
sub eax, ecx
imul ecx, eax, 0xdfdd
sub ecx, esi
neg ecx
sbb ecx, ecx
xor eax, eax
inc ecx
cmp ecx, dword [edi]
setle al
sub esi, eax
inc dword [edi]
cmp dword [edi], 2
mov dword [esp + 0x34], esi
jle 0x1001c56d
lea ecx, [esp + 0x160]
call fcn.10019976
or eax, 0xffffffff
lea ecx, [esp + 0x154]
mov dword [esp + 0x364], eax
call fcn.10019976
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
xor esi, esi
push 4
inc esi
pop edi
mov dword [esp + 0x18], 0x5d6c05ba
lea ecx, [esp + 0x1ec]
push 3
call fcn.100198f4
mov dword [esp + 0x364], edi
mov dword [esp + 0x34], 0x6d7d0454
mov dword [esp + 0x2c], edi
mov dword [esp + 0x10], ebx
jmp 0x1001c674
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1ec]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x1001c662
mov dword [esp + 0x18], 0xffffffee
jmp 0x1001c6fa
mov dword [esp + 0x34], 0x54320e32
lea ecx, [esp + 0x1bc]
push 3
call fcn.100198f4
mov dword [esp + 0x10], ebx
jmp 0x1001c6b7
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1bc]
mov dword [eax + ecx*4], 0xfffffff8
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x1001c6a1
cmp dword [esp + 0x34], ebx
je 0x1001c6c8
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov eax, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, 5
mov eax, dword [esp + 0x1bc]
setle cl
mov dword [eax + 8], ecx
lea ecx, [esp + 0x1bc]
call fcn.10019976
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 0x19
jle 0x1001c685
mov dword [esp + 0x18], 2
cmp dword [esp + 0x18], ebx
jl 0x1001c864
mov edi, 0x494dfd99
or eax, 0xffffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ebx
jmp 0x1001c738
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xe4], 0x50e35260
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x1001c725
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1001c756
push 0x1cf2
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [esp + 0x1c], ebx
jmp 0x1001c84c
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x1d4]
push 2
call fcn.100198f4
mov dword [esp + 0x20], ebx
jmp 0x1001c787
mov eax, dword [esp + 0x20]
mov dword [esp + eax*4 + 0x54], 0xfffffffb
inc dword [esp + 0x20]
cmp dword [esp + 0x20], esi
jl 0x1001c777
mov dword [esp + 0x20], ebx
jmp 0x1001c7a9
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1d4]
mov dword [eax + ecx*4], 0xfffffffa
inc dword [esp + 0x20]
cmp dword [esp + 0x20], 2
jl 0x1001c793
mov dword [esp + 0x54], 0x1c5a3d7f
mov eax, dword [esp + 0x54]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x1ec]
mov dword [eax + ecx*4], edi
xor ecx, ecx
mov eax, dword [esp + 0x1c]
cmp eax, edi
setg cl
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x34]
dec eax
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
cmp esi, eax
sbb eax, eax
inc eax
cmp eax, 0x967268f5
mov eax, dword [esp + 0x3c]
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
setne dl
or eax, 0xffffffff
cmp eax, edx
mov eax, dword [esp + 0x3c]
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, eax
mov eax, dword [esp + 0x1d4]
lea ecx, [esp + 0x1d4]
setge dl
sub edx, dword [eax + 4]
neg edx
sbb edx, edx
inc edx
mov dword [esp + 0x2c], edx
call fcn.10019976
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 2
jle 0x1001c75f
dec dword [esp + 0x18]
jns 0x1001c718
push 4
pop edi
or eax, 0xffffffff
lea ecx, [esp + 0x1ec]
mov dword [esp + 0x364], eax
call fcn.10019976
mov dword [esp + 0x20], ebx
jmp 0x1001ccb2
push 2
lea ecx, [esp + 0xec]
call fcn.100198f4
mov dword [esp + 0x364], 5
mov eax, 0x7a3a11c1
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0x18], 0x394a
mov dword [esp + 0x24], 0xcacff8ee
mov dword [esp + 0x1c], 0x8b421dd2
mov dword [esp + 0x10], ebx
jmp 0x1001c8ee
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x90], 0x7a10dd66
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x1001c8db
mov edx, ebx
cmp dword [esp + 0x18], ebx
je 0x1001c8fe
mov edx, esi
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x24]
cmp edx, eax
setne cl
sub ecx, dword [esp + 0x1c]
je 0x1001ca29
mov dword [esp + 0x2c], 3
mov dword [esp + 0x18], ebx
jmp 0x1001ca1d
mov dword [esp + 0x34], 0xfffffff6
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x1c], ebx
jl 0x1001c99b
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1001c995
push 0x3bc
push 0x7ce
push 0x1d08
push 0x9f7
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_IntersectClipRect]
dec dword [esp + 0x1c]
jns 0x1001c962
mov dword [esp + 0x1c], ebx
jmp 0x1001ca13
mov dword [esp + 0x10], 0x1e6e836
mov dword [esp + 0x24], ebx
jmp 0x1001c9e0
mov eax, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + eax*4 + 0x90]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + eax*4 + 0x90]
mov eax, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
sub eax, 5
mov dword [esp + 0x2c], eax
inc dword [esp + 0x24]
cmp dword [esp + 0x24], ebx
jle 0x1001c9af
mov dword [esp + 0x10], ebx
jmp 0x1001ca09
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1001ca05
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowInfo]
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jle 0x1001c9ec
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], ebx
jle 0x1001c9a1
inc dword [esp + 0x18]
cmp dword [esp + 0x18], ebx
jle 0x1001c950
jmp 0x1001ca4f
mov dword [esp + 0x10], ebx
jmp 0x1001ca42
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x288], 8
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x1001ca2f
dec dword [esp + 0x28c]
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1001ca6b
push 0x1ab
push 0x21f0
push ebx
call dword [sym.imp.USER32.dll_RemoveMenu]
mov dword [esp + 0x2c], 0x278c007c
mov dword [esp + 0x10], ebx
jmp 0x1001ca8f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xe8]
mov dword [eax + ecx*4], 0x2a4f402e
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x1001ca79
mov dword [esp + 0xb8], esi
cmp dword [esp + 0xb8], ebx
jl 0x1001cc95
mov esi, dword [esp + 0xe8]
or edi, 0xffffffff
mov dword [esp + 0x28], edi
mov dword [esp + 0x28], 0xa
jmp 0x1001cb80
push dword [esp + 0x40]
movdqa xmm0, xmmword [0x10007ff0]
lea eax, [esp + 0x28c]
push eax
lea eax, [esp + 0x280]
mov dword [esp + 0x114], ebx
push eax
push ebx
lea ecx, [esp + 0x11c]
mov dword [esp + 0x120], ebx
movdqu xmmword [esp + 0x288], xmm0
mov dword [esp + 0x124], ebx
call fcn.1001adcc
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], 0xfaeb382e
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x24], 3
jg 0x1001cb58
mov ecx, dword [esp + 0x10c]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add eax, dword [ecx + 4]
mov dword [esp + 0x2c], eax
inc dword [esp + 0x24]
cmp dword [esp + 0x24], 3
jle 0x1001cb2a
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1001cb70
push ebx
push 0x160a
push ebx
call dword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
lea ecx, [esp + 0x10c]
call fcn.10019976
inc dword [esp + 0x28]
cmp dword [esp + 0x28], 0x12
jl 0x1001cac5
mov edi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1001cba6
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_ShowOwnedPopups]
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0xe8]
cmp dword [eax + ecx*4], ebx
je 0x1001cc41
xor edx, edx
mov dword [esp + 0x10], ebx
inc edx
cmp dword [esp + 0x10], edx
jge 0x1001cbdf
or ecx, 0xffffffff
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x4c], ecx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jl 0x1001cbcd
mov dword [esp + 0x4c], ebx
cmp dword [esp + 0x4c], 0xffffffe3
jge 0x1001cc60
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1001cc10
push ebx
push 0x1efc
push 0x23f3
call edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1001cc34
push 0x2b2
push 0x13bf
push 0x21a
call edi
push eax
push ebx
call dword [sym.imp.USER32.dll_PeekMessageA]
dec dword [esp + 0x4c]
cmp dword [esp + 0x4c], 0xffffffe3
jl 0x1001cbea
jmp 0x1001cc5d
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1001cc5d
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
xor edx, edx
inc edx
cmp dword [esi + 4], ebx
je 0x1001cc7f
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0xe8]
mov eax, dword [eax + ecx*4]
test eax, eax
mov dword [esi + 4], eax
mov eax, edx
jne 0x1001cc81
mov eax, ebx
mov dword [esp + 0x2c], eax
dec dword [esp + 0xb8]
jns 0x1001cab1
xor esi, esi
inc esi
or eax, 0xffffffff
lea ecx, [esp + 0xe8]
mov dword [esp + 0x364], eax
call fcn.10019976
inc dword [esp + 0x20]
push 4
pop edi
cmp dword [esp + 0x20], esi
jge 0x1001c883
push 4
pop edi
push edi
lea ecx, [esp + 0x98]
call fcn.100198f4
mov dword [esp + 0x24], 0xfffffffc
mov dword [esp + 0x2c], 0xc1348862
mov dword [esp + 0x10], ebx
jmp 0x1001ccf8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x94]
mov dword [eax + ecx*4], 0xfffffffe
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x1001cce2
mov dword [esp + 0x24], ebx
jmp 0x1001cd1a
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x94]
mov dword [eax + ecx*4], 8
inc dword [esp + 0x24]
cmp dword [esp + 0x24], edi
jl 0x1001cd04
mov edx, dword [esp + 0x94]
mov eax, dword [edx + 0xc]
neg eax
je 0x1001cd60
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov edx, dword [edx + 8]
cmp edx, eax
setne cl
xor eax, eax
cmp ecx, edx
setle al
xor ecx, ecx
cmp eax, 0x5984
mov eax, dword [esp + 0x94]
setge cl
sub ecx, dword [eax]
sub ecx, 0x189d9e62
mov ecx, esi
jne 0x1001cd62
mov ecx, ebx
mov eax, dword [esp + 0x24]
push 6
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x98]
pop edi
cmp edi, ecx
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, dword [eax + 4]
mov eax, dword [esp + 0x24]
setle dl
xor ecx, ecx
cmp eax, edx
setg cl
cmp ecx, 0xfff7
sbb eax, eax
inc eax
cmp esi, eax
mov eax, dword [esp + 0x94]
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, dword [eax + 8]
setl dl
cmp edx, 0xefc16765
jne 0x1001cdbb
mov eax, esi
cmp dword [esp + 0x24], ebx
jne 0x1001cdbd
mov eax, ebx
xor ecx, ecx
cmp eax, 0x3cb8e004
mov eax, dword [esp + 0x94]
setge cl
mov dword [eax], ecx
lea ecx, [esp + 0x94]
call fcn.10019976
push dword [esp + 0x40]
movdqa xmm0, xmmword [0x10008030]
lea eax, [esp + 0x2cc]
push eax
lea eax, [esp + 0x2c0]
mov dword [esp + 0x198], ebx
push eax
push ebx
lea ecx, [esp + 0x1a0]
mov dword [esp + 0x1a4], ebx
movdqu xmmword [esp + 0x2c8], xmm0
mov dword [esp + 0x1a8], ebx
call fcn.1001adcc
mov dword [esp + 0x364], edi
lea ecx, [esp + 0xd8]
mov dword [esp + 0x10], 0x76e6bacd
mov dword [esp + 0x18], 9
push 2
call fcn.100198f4
push 3
mov byte [esp + 0x368], 7
lea ecx, [esp + 0x21c]
or eax, 0xffffffff
mov dword [esp + 0x30], 0x142b622b
pop edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x2c], esi
push edi
call fcn.100198f4
push 2
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x368], 8
call fcn.100198f4
push 2
mov dword [esp + 0x20], ebx
pop edx
jmp 0x1001cea5
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0xd8]
or dword [eax + ecx*4], 0xffffffff
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], edx
jl 0x1001ce92
mov dword [esp + 0x1c], ebx
jmp 0x1001cec3
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x218]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], edi
jl 0x1001ceb1
mov dword [esp + 0x1c], ebx
jmp 0x1001cee5
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x1b0]
mov dword [eax + ecx*4], 0x495ee35d
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], edx
jl 0x1001cecf
mov ecx, dword [esp + 0x10]
xor edx, edx
mov eax, dword [esp + 0x10]
cmp ecx, eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
setge dl
dec ecx
add ecx, edx
xor edx, edx
cmp ecx, eax
setle dl
cmp dword [esp + 0x10], edx
jne 0x1001cf3a
mov dword [esp + 0x18], ebx
jmp 0x1001cf2e
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xd8]
mov dword [eax + ecx*4], 0xa96141e4
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 2
jl 0x1001cf18
jmp 0x1001d00f
mov dword [esp + 0x24], 0x4df6f978
mov dword [esp + 0x2c], 0x18ebdb8
mov dword [esp + 0x2c], 0xff68e10d
mov dword [esp + 0x2c], 0xf7b40076
mov dword [esp + 0x2c], 0x12ef314d
mov dword [esp + 0x2c], 0xfffffff6
mov dword [esp + 0x2c], edi
mov dword [esp + 0x2c], 0x610cb4e3
mov dword [esp + 0x2c], 0x48968f25
mov dword [esp + 0x2c], 0x8d6e8597
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x18], esi
jg 0x1001d005
mov edx, dword [esp + 0xd8]
inc dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov eax, dword [edx + 4]
add eax, 0x37e0d1b3
je 0x1001cfb1
mov eax, esi
cmp dword [esp + 0x10], ebx
jne 0x1001cfb3
mov eax, ebx
add eax, 0xfffffff7
je 0x1001cfdb
mov dword [esp + 0x2c], 0xf215a609
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xd8]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x10], eax
jmp 0x1001cffb
mov dword [esp + 0x24], ebx
jmp 0x1001cff4
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0xd8]
or dword [eax + ecx*4], 0xffffffff
inc dword [esp + 0x24]
cmp dword [esp + 0x24], 2
jl 0x1001cfe1
inc dword [esp + 0x18]
cmp dword [esp + 0x18], esi
jle 0x1001cf97
mov eax, dword [esp + 0x1b0]
dec dword [eax + 4]
lea ecx, [esp + 0x1b0]
call fcn.10019976
lea ecx, [esp + 0x218]
call fcn.10019976
push 6
pop eax
lea ecx, [esp + 0xd8]
mov byte [esp + 0x364], al
call fcn.10019976
mov dword [esp + 0x20], 0x6f1bf506
mov eax, 0x9ff60657
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], eax
mov dword [esp + 0x28], 0x95364446
mov dword [esp + 0x2c], 0x1a0734f0
mov dword [esp + 0x2c], 0x9e17716e
mov dword [esp + 0x10], ebx
jmp 0x1001d093
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x258], esi
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x1001d084
mov dword [esp + 0x28], ebx
jmp 0x1001d178
mov dword [esp + 0x18], 5
dec dword [esp + 0x18]
mov dword [esp + 0x18], ebx
jmp 0x1001d16a
mov dword [esp + 0x38], 0x622b6078
xor edx, edx
mov dword [esp + 0x34], 5
mov eax, dword [esp + 0x18]
mov eax, dword [esp + eax*4 + 0x144]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
test eax, eax
mov eax, dword [esp + 0x258]
setg dl
xor ecx, ecx
cmp edx, eax
setne cl
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x25c], eax
mov eax, dword [esp + 0x18]
mov eax, dword [esp + eax*4 + 0x144]
cmp dword [esp + 0x38], ebx
je 0x1001d114
mov eax, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
cmp eax, 0xd82c32b9
setne cl
cmp ecx, 0x12ef
jg 0x1001d13a
mov ecx, esi
cmp dword [esp + 0x28], ebx
jne 0x1001d13c
mov ecx, ebx
neg ecx
sub ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
neg ecx
sbb ecx, ecx
inc ecx
sub ecx, dword [esp + eax*4 + 0x144]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x258]
mov dword [esp + 0x34], eax
inc dword [esp + 0x18]
cmp dword [esp + 0x18], edi
jle 0x1001d0b8
inc dword [esp + 0x28]
cmp dword [esp + 0x28], edi
jle 0x1001d0a3
mov edi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
or eax, 0xffffffff
mov dword [esp + 0x10], 0x8ec0ae97
mov dword [esp + 0x2c], 0x41fc9a57
mov dword [esp + 0x2c], eax
mov byte [esp + 0x17], bl
cmp byte [esp + 0x17], 0
je 0x1001d1b8
push 0xe4e
push ebx
push ebx
push 0x1ddd
call edi
mov dword [esp + 0x10], ebx
jmp 0x1001d216
mov dword [esp + 0x28], 0xf5cd53bc
mov dword [esp + 0x28], ebx
jmp 0x1001d1db
mov eax, dword [esp + 0x28]
mov dword [esp + eax*4 + 0x2f4], ebx
inc dword [esp + 0x28]
cmp dword [esp + 0x28], 3
jl 0x1001d1cc
mov dword [esp + 0x28], 2
cmp dword [esp + 0x28], ebx
jl 0x1001d205
cmp dword [esp + 0x10], 0xfffffffe
jg 0x1001d1be
push 4
lea ecx, [esp + 0x88]
call fcn.100198f4
mov dword [esp + 0x24], 0xfffffffc
push 4
mov dword [esp + 0x30], 0xc1348862
mov dword [esp + 0x14], ebx
pop edx
jmp 0x1001d25a
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x84]
mov dword [eax + ecx*4], 0xfffffffe
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jl 0x1001d244
mov dword [esp + 0x24], ebx
jmp 0x1001d27c