Function at 0x100157d0
Capabilities:
Create process on windows
Get graphical window text

Disassembly:
mov eax, 0x10071c7f
call fcn.100714d0
sub esp, 0x13c
push ebx
push esi
push edi
mov dword [ebp - 0x58], ecx
lea ecx, [ebp - 0x68]
push 2
mov dword [ebp - 0x70], edx
call fcn.100139c6
xor ebx, ebx
mov dword [ebp - 0x18], 0xfffffff7
mov dword [ebp - 0x1c], ebx
jmp 0x10015811
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x68]
mov dword [eax + ecx*4], 0x342eb90d
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 2
jl 0x10015801
xor edx, edx
inc edx
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], ebx
jl 0x100158d9
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], ebx
jmp 0x1001583c
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x44], 0xac453072
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 3
jl 0x1001582e
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x68]
cmp dword [eax + ecx*4], ebx
jne 0x100158d9
mov dword [ebp - 0x40], ebx
jmp 0x100158cb
mov dword [ebp - 0x20], 0x2ba7b7e8
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x68]
cmp dword [eax + ecx*4], ebx
je 0x100158b2
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x20], 0xfff9
mov ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x68]
cmp dword [eax + ecx*4], 0xfffffffe
setne dl
imul eax, dword [ebp - 0x20], 0x9855
mov dword [ebp - 0x2c], edx
sub eax, dword [ebp - 0x18]
neg eax
sbb eax, eax
xor edx, edx
inc eax
cmp dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x68]
sete dl
xor ecx, ecx
cmp dword [eax + esi*4], edx
setle cl
xor edx, edx
inc edx
mov esi, edx
cmp ecx, edx
jle 0x100158b4
mov esi, ebx
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov eax, dword [ebp - 0x68]
cmp esi, dword [eax + ecx*4]
sete dl
mov dword [ebp - 0x2c], edx
xor edx, edx
inc dword [ebp - 0x40]
inc edx
cmp dword [ebp - 0x40], edx
jle 0x10015856
dec dword [ebp - 0x18]
jns 0x10015826
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], bl
je 0x100158f5
push ebx
push ebx
push ebx
push ebx
push 0x1a1c
push edx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [ebp - 0x68]
call fcn.10013a48
mov edi, dword [sym.imp.GDI32.dll_SetViewportOrgEx]
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x1c], 0xcea5d6c0
mov dword [ebp - 0x2c], 0xfffffffa
mov dword [ebp - 0x1c], 0xfffffffd
cmp dword [ebp - 0x1c], ebx
jl 0x10015947
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], bl
je 0x10015942
push ebx
push 0x63
push 0x7f7
call esi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call edi
inc dword [ebp - 0x1c]
jns 0x10015926
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], bl
je 0x1001596a
push 0x1d7e
call esi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], bl
je 0x10015982
call esi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_EndPage]
mov dword [ebp - 0x2c], 2
xor esi, esi
mov dword [ebp - 0x1c], 0xd0b5486b
inc esi
mov dword [ebp - 0x18], esi
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], bl
je 0x100159b7
push 0xcce
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetTextAlign]
push 0xfffffffffffffff9
pop esi
cmp dword [ebp - 0x2c], ebx
je 0x100159ce
mov dword [ebp - 0x2c], ebx
imul eax, dword [ebp - 0x18], 0x9fa8
mov dword [ebp - 0x2c], eax
jmp 0x10015a1a
mov dword [ebp - 0x34], 0x5fb2
mov dword [ebp - 0x1c], 0xffffffea
jmp 0x100159f9
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], bl
je 0x100159ed
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xfffffff6
jne 0x100159de
dec dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0xffffffe8
mov dword [ebp - 0x18], ebx
jl 0x100159f0
jmp 0x10015a14
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x2c], ebx
jne 0x10015a1a
cmp dword [ebp - 0x34], ebx
jne 0x10015a1a
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x10
jg 0x10015a04
mov dword [ebp - 0x1c], 0xcea5d6c0
mov dword [ebp - 0x2c], 0xfffffffa
mov dword [ebp - 0x1c], 0xfffffffd
cmp dword [ebp - 0x1c], ebx
jl 0x10015a59
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], bl
je 0x10015a54
push ebx
push 0x63
push 0x7f7
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call edi
inc dword [ebp - 0x1c]
jns 0x10015a34
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0x3f0b
mov dword [ebp - 0x14], 0x7ecc2443
mov dword [ebp - 0x18], 0xdcd16652
push 2
call fcn.100139c6
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], 0x36c745d0
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x18], ebx
jmp 0x10015aa6
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x88]
mov dword [eax + ecx*4], 0xbdbdf7cd
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x10015a93
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x88]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x88]
imul eax, dword [edi]
mov dword [edi + 4], eax
test eax, eax
jne 0x10015afa
cmp dword [ebp - 0x14], ebx
jne 0x10015afa
xor edx, edx
mov esi, ebx
inc edx
jmp 0x10015aff
xor edx, edx
inc edx
mov esi, edx
mov eax, dword [ebp - 0x18]
xor ecx, ecx
cmp esi, eax
setg cl
cmp ecx, dword [ebp - 0x18]
jle 0x10015b11
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x18]
test eax, eax
je 0x10015b29
mov esi, edx
cmp dword [edi + 4], ebx
jne 0x10015b2b
mov esi, ebx
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp esi, eax
setge cl
sub ecx, dword [ebp - 0x1c]
imul ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x28], ebx
jne 0x10015b5d
cmp dword [ebp - 0x18], ebx
jne 0x10015b5d
mov edx, ebx
mov eax, dword [ebp - 0x20]
xor ecx, ecx
cmp edx, eax
setge cl
xor eax, eax
cmp ecx, 0x2c21
lea ecx, [ebp - 0x88]
setl al
mov dword [ebp - 0x2c], eax
call fcn.10013a48
mov dword [ebp - 0x14], 9
mov dword [ebp - 0x20], 0xfff6
mov dword [ebp - 0x14], ebx
jmp 0x10015ba4
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x148], 0xc64a6847
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jl 0x10015b93
mov dword [ebp - 0x14], ebx
jmp 0x10015bc5
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], bl
je 0x10015bc2
push 0x47e
call dword [sym.imp.KERNEL32.dll_SetLastError]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jle 0x10015baf
inc dword [ebp - 0x20]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x24], 0x8c6a53d0
xor esi, esi
mov dword [ebp - 0x24], 8
or edi, 0xffffffff
mov dword [ebp - 0x24], ebx
inc esi
mov dword [ebp - 0x24], 0xfffffffa
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x24], 0x21dfe4b2
push 3
call fcn.100139c6
mov dword [ebp - 0x20], 0x2250db85
mov dword [ebp - 0x14], ebx
jmp 0x10015c21
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x114]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 3
jl 0x10015c12
dec dword [ebp - 0x20]
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], bl
je 0x10015c46
push ebx
push ebx
push ebx
push ebx
push 0x1a1c
push esi
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [ebp - 0x114]
call fcn.10013a48
push esi
lea ecx, [ebp - 0xc0]
call fcn.100139c6
mov dword [ebp - 0x2c], ebx
xor edx, edx
mov dword [ebp - 0x1c], 0x1ce3cb5a
inc edx
mov dword [ebp - 0x34], 0x1932e3ca
mov dword [ebp - 0x14], ebx
jmp 0x10015c89
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc0]
mov dword [eax + ecx*4], 0xb8f5
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x10015c76
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], ebx
jmp 0x10015cab
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc0]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], edx
jl 0x10015c9c
lea ecx, [ebp - 0xc0]
call fcn.10013a48
push 2
lea ecx, [ebp - 0x94]
call fcn.100139c6
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
jmp 0x10015ce6
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x94]
mov dword [eax + ecx*4], 0x204e
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x10015cd3
xor esi, esi
mov dword [ebp - 0x1c], ebx
inc esi
cmp dword [ebp - 0x1c], esi
jg 0x10015e11
push 2
lea ecx, [ebp - 0xd8]
call fcn.100139c6
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], 9
mov dword [ebp - 0x14], ebx
jmp 0x10015d2b
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xd8]
mov dword [eax + ecx*4], 0x29bf39
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x10015d18
mov edi, dword [ebp - 0xd8]
mov dword [edi + 4], ebx
mov dword [ebp - 0x18], 0x9576c3a0
lea ecx, [ebp - 0xa8]
push 1
call fcn.100139c6
xor edx, edx
mov dword [ebp - 0x14], ebx
inc edx
jmp 0x10015d69
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xa8]
mov dword [eax + ecx*4], 0x52f34111
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x10015d56
mov dword [ebp - 0x18], ebx
jmp 0x10015dd4
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], ebx
jl 0x10015dca
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], ebx
jl 0x10015dc5
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], ebx
jl 0x10015dc0
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x94]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 0xa8]
mov dword [edx + esi*4], ecx
mov dword [eax], ecx
dec dword [ebp - 0x20]
jns 0x10015d98
xor edx, edx
inc edx
dec dword [ebp - 0x28]
jns 0x10015d8d
dec dword [ebp - 0x14]
jns 0x10015d82
mov dword [ebp - 0x2c], 0xffffffff
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edx
jle 0x10015d73
lea ecx, [ebp - 0xa8]
call fcn.10013a48
inc dword [edi + 4]
cmp dword [edi + 4], 1
jle 0x10015d3a
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], bl
call fcn.10013a48
inc dword [ebp - 0x1c]
xor esi, esi
inc esi
cmp dword [ebp - 0x1c], esi
jle 0x10015cfb
or edi, 0xffffffff
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x10015e2e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_EndPage]
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], edi
call fcn.10013a48
push esi
lea ecx, [ebp - 0xf0]
call fcn.100139c6
mov dword [ebp - 0x20], 0x4f833fcb
mov dword [ebp - 0x14], ebx
jmp 0x10015e63
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xf0]
mov dword [eax + ecx*4], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x10015e54
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x20], ebx
jl 0x10015eac
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x14], ebx
jmp 0x10015ea2
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x10015e9f
push 0x26ad
push 0x2407
push 0x2103
push 0xb38
call dword [sym.imp.GDI32.dll_CreateRectRgn]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jle 0x10015e7c
dec dword [ebp - 0x20]
jns 0x10015e70
lea ecx, [ebp - 0xf0]
call fcn.10013a48
mov dword [ebp - 0x24], 0xda11525
lea ecx, [ebp - 0xb4]
push esi
call fcn.100139c6
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], ebx
jmp 0x10015ee5
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xb4]
mov dword [eax + ecx*4], 0xec2e
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x10015ed2
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x10015f06
push 0x2430
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [ebp - 0x1c], ebx
jmp 0x10015f30
mov dword [ebp - 0x20], 0x3d9532bb
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x20], ebx
jl 0x10015f2d
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xb4]
cmp dword [eax + ecx*4], ebx
jne 0x10015f2d
dec dword [ebp - 0x20]
jns 0x10015f1a
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], ebx
jle 0x10015f0b
lea ecx, [ebp - 0xb4]
call fcn.10013a48
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x24], 0x3c69aed2
mov dword [ebp - 0x28], 0xb036
mov dword [ebp - 0x18], 0x13717be9
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], 0xae734f1
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], ebx
jmp 0x10015f7b
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x11c], 0x697
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x10015f6a
cmp dword [ebp - 0x28], 0x1f78
jle 0x10015fbb
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
jg 0x10015fab
cmp dword [ebp - 0x28], ebx
jne 0x10015fa4
mov eax, ebx
cmp dword [ebp - 0x18], ebx
je 0x10015fa6
mov eax, esi
add dword [ebp - 0x18], eax
je 0x10015fb2
mov eax, esi
cmp dword [ebp - 0x28], ebx
jne 0x10015fb4
mov eax, ebx
cmp eax, dword [ebp - 0x28]
jle 0x10015fbb
mov esi, ebx
mov eax, dword [ebp - 0x28]
xor ecx, ecx
cmp esi, eax
setl cl
xor edx, edx
add ecx, 0xffff
imul ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
cmp ecx, eax
mov eax, dword [ebp - 0x28]
setge dl
xor ecx, ecx
cmp edx, eax
setl cl
xor eax, eax
imul ecx, ecx, 0xfffd
sub ecx, dword [ebp - 0x28]
sub ecx, 0x397bde51
cmp ecx, edi
setl al
cmp eax, dword [ebp - 0x18]
jne 0x10016022
cmp dword [ebp - 0x18], ebx
jne 0x10016022
mov eax, ebx
jmp 0x10016025
xor eax, eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x10016036
cmp dword [ebp - 0x18], ebx
jne 0x10016036
mov eax, ebx
jmp 0x10016039
xor eax, eax
inc eax
xor ecx, ecx
cmp eax, edi
setle cl
xor edx, edx
imul ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
cmp ecx, eax
mov eax, dword [ebp - 0x28]
setg dl
xor ecx, ecx
cmp edx, eax
setle cl
neg ecx
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xa9025b0d
mov eax, dword [ebp - 0x28]
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, eax
mov eax, dword [ebp - 0x11c]
setle dl
xor ecx, ecx
cmp edx, eax
setle cl
xor esi, esi
mov dword [ebp - 0x2c], ecx
inc esi
push esi
lea ecx, [ebp - 0xfc]
call fcn.100139c6
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], 0xfffb
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0xcd9d7
mov dword [ebp - 0x2c], 0x42573927
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], ebx
jmp 0x100160cc
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x54], 3
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 4
jl 0x100160be
mov dword [ebp - 0x18], ebx
jmp 0x100160e8
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x138], 0xe31bb000
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jl 0x100160d7
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x4c], 8
sbb eax, eax
inc eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
add ecx, eax
mov eax, dword [ebp - 0x54]
add eax, ecx
mov ecx, dword [ebp - 0x54]
imul ecx, eax
mov eax, dword [ebp - 0x1c]
imul eax, ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x4c], ebx
je 0x1001612b
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], 0xffff6eb0
cmp dword [ebp - 0x1c], ebx
jne 0x10016132
cmp dword [ebp - 0x50], ebx
jne 0x10016132
mov esi, ebx
mov eax, dword [ebp - 0x2c]
xor edx, edx
cmp esi, eax
push 6
sete dl
xor ecx, ecx
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 0x18]
cmp edx, eax
mov eax, dword [ebp - 0x48]
setle cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x48]
pop esi
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x4c]
setne cl
sub ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x18], eax
jl 0x1001626e
mov dword [ebp - 0x18], 7
jmp 0x10016193
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x10016190
push ebx
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], esi
jge 0x10016180
xor edx, edx
inc edx
mov dword [ebp - 0x24], ebx
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x24], 0xfffffffb
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x24], 0xfffffff6
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x24], 0x46721591
mov dword [ebp - 0x24], 0x9ea41449
mov dword [ebp - 0x24], 0xb04800fa
mov dword [ebp - 0x24], 0xcc58a012
mov dword [ebp - 0x24], 0x91df82d8
mov dword [ebp - 0x24], 0x89226c31
mov dword [ebp - 0x2c], 0xfffffffd
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x24], 0x33037736
mov dword [ebp - 0x24], 0x2fd2d1a4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x24], 0x6478c38e
mov dword [ebp - 0x24], 0x4be76d23
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x24], 0xd8ef068c
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x24], 0x76a47cde
mov dword [ebp - 0x24], 8
mov dword [ebp - 0x24], 0x9fa553fc
mov dword [ebp - 0x24], 0xb333ee6
mov dword [ebp - 0x24], 0x3f6a0837
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x24], 0x200279e5
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x24], 0x68993dd6
mov dword [ebp - 0x24], edi
push edx
call fcn.100139c6
xor edx, edx
inc edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x14], ebx
jmp 0x100162e3
mov dword [ebp - 0x18], ebx
jmp 0x10016284
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x9c], 0xfffffffd
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 2
jl 0x10016273
xor edx, edx
mov dword [ebp - 0x18], ebx
inc edx
jmp 0x1001629c
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x6c], edi
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edx
jl 0x10016292
cmp dword [ebp - 0x48], ebx
je 0x100162c0
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov eax, edx
neg ecx
sbb ecx, ecx
inc ecx
cmp ecx, dword [ebp - 0x9c]
je 0x100162c2
mov eax, ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
jmp 0x1001619b
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x108]
mov dword [eax + ecx*4], 0xfffffff6
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x100162d0
inc dword [ebp - 0x20]
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x2c], 0xa9961215
call fcn.10013a48
xor esi, esi
mov dword [ebp - 0x14], ebx
inc esi
jmp 0x10016314
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xfc]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x10016305
mov dword [ebp - 0x18], 0x8d327cb3
mov dword [ebp - 0x1c], 0xdb505206
mov dword [ebp - 0x20], 0xf6f49c23
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
je 0x1001641a
push dword [ebp - 0x58]
movdqa xmm0, xmmword [0x10007ef0]
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x7c], ebx
push eax
push ebx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x78], ebx
movdqu xmmword [ebp - 0x12c], xmm0
mov dword [ebp - 0x74], ebx
call fcn.10014f35
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x7c]
mov dword [ebp - 0x1c], eax
xor eax, eax
mov edx, dword [ebp - 0x18]
cmp dword [edi + 4], esi
setne al
xor ecx, ecx
imul edx, eax
mov eax, dword [ebp - 0x18]
cmp eax, edx
setne cl
cmp ecx, 0xffff
mov ecx, dword [ebp - 0x1c]
sbb eax, eax
neg eax
sub ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
sub ecx, dword [ebp - 0x18]
cmp ecx, 8
sbb eax, eax
neg eax
mov dword [edi + 4], eax
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], 0xe
jl 0x10016409
push esi
lea ecx, [ebp - 0xcc]
call fcn.100139c6
xor edx, edx
mov dword [ebp - 0x14], ebx
inc edx
jmp 0x100163e2
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xcc]
mov dword [eax + ecx*4], edx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x100163d3
mov eax, dword [ebp - 0xcc]
mov ecx, dword [edi + 4]
mov dword [eax], ecx
lea ecx, [ebp - 0xcc]
call fcn.10013a48
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xe
push 1
pop esi
jge 0x100163bf
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 2
call fcn.10013a48
or edi, 0xffffffff
jmp 0x10016438
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x10016438
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0xe4]
push esi
call fcn.100139c6
mov dword [ebp - 0x14], ebx
jmp 0x10016467
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xe4]
mov dword [eax + ecx*4], 0x477862f
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], esi
jl 0x10016454
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], 0
je 0x1001647b
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov eax, dword [ebp - 0xe4]
lea ecx, [ebp - 0xe4]
mov dword [eax], 0xf
call fcn.10013a48
lea eax, [ebp - 0x2d]
mov byte [ebp - 0x2d], bl
push eax
push ebx
call fcn.1001880d
inc dword [ebp - 0x28]
pop ecx
pop ecx
lea ecx, [ebp - 0xfc]
mov dword [ebp - 4], edi
call fcn.10013a48
mov dword [ebp - 0x18], 0x1e87df2f
xor edx, edx
mov dword [ebp - 0x14], 0x56890c54
inc edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x24], 0x7d24b5e4
mov dword [ebp - 0x28], 0xe360de57
mov dword [ebp - 0x1c], 6
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x5c], 0x61e33ecd
mov dword [ebp - 0x2c], 2
mov dword [ebp - 0x2c], 0x14ff6a91
mov dword [ebp - 0x14], ebx
jmp 0x10016502
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x38], ebx
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edx
jl 0x100164f8
cmp dword [ebp - 0x18], ebx
je 0x10016583
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], ebx
je 0x1001655d
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x28]
jg 0x10016522
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x34]
dec dword [ebp - 0x1c]
cmp ecx, eax
mov eax, dword [ebp - 0x20]
cmovg edx, ebx
xor ecx, ecx
cmp edx, eax
setne cl
xor edx, edx
cmp ecx, 0x9e149cf
setge dl
sub edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x5c]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setge cl
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x28]
imul edx, eax
mov eax, dword [ebp - 0x38]
cmp edx, eax
setge cl
cmp ecx, dword [ebp - 0x5c]
jge 0x10016583
xor eax, eax
inc eax
jmp 0x10016585
mov eax, ebx
mov dword [ebp - 0x34], eax
dec dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xe0a8eac8
mov dword [ebp - 0x14], 0x17
jmp 0x100165c3
cmp byte [ebp - 0xd], 0
je 0x100165c0
push ebx
push 0xf7b
push 0xa9f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetDIBColorTable]
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xfffffffd
mov byte [ebp - 0xd], bl
jl 0x1001659b
cmp byte [ebp - 0xd], 0
je 0x100165df
push ebx
push 0x7c8
push ebx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x70]
mov ecx, 0x3e8
cdq
idiv ecx
mov ecx, dword [ebp - 0x58]
mov esi, edx
mov edi, eax
call fcn.1001575e
mov ecx, dword [ebp - 0xc]
add eax, esi
add eax, edi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret