Function at 0x1001865f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x68], edx
push edi
mov dword [ebp - 0x80], ecx
mov dword [ebp - 4], ebx
jmp 0x10018686
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0x64], 0xbbca6318
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jl 0x10018678
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], bl
je 0x100186b5
push ebx
push 0x1b77
push 0x1034
call esi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
mov dword [ebp - 0x5c], ebx
jmp 0x100186cc
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], bl
je 0x100186c9
push ebx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
inc dword [ebp - 0x5c]
cmp dword [ebp - 0x5c], 3
jg 0x100186ba
cmp byte [ebp + 8], bl
je 0x10018d21
push 4
pop edi
mov dword [ebp + 8], edi
mov dword [ebp + 8], 0xfffffff7
mov dword [ebp - 0xc], 0xf341
mov dword [ebp + 8], ebx
jmp 0x10018705
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0xf0], 0x4e2db58e
inc dword [ebp + 8]
cmp dword [ebp + 8], 3
jl 0x100186f4
mov dword [ebp + 8], ebx
jmp 0x10018721
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0xfc], 0xe4438bea
inc dword [ebp + 8]
cmp dword [ebp + 8], 3
jl 0x10018710
inc dword [ebp - 0xc]
mov byte [ebp + 0xb], bl
cmp byte [ebp + 0xb], bl
je 0x10018762
push 0x11b7
push ebx
push 0x1b3b
push 0x1623
push 0x605
push ebx
push 0x12ed
push 0x1e3c
call esi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawIconEx]
mov dword [ebp + 8], 0xc407858f
mov dword [ebp + 8], ebx
jmp 0x1001877c
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x38], 0xea75c96d
inc dword [ebp + 8]
cmp dword [ebp + 8], 2
jl 0x1001876e
mov dword [ebp - 0x38], 0x15
cmp dword [ebp - 0x38], 0x13
je 0x100187c8
mov ecx, 0x831d26ec
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xbc], ecx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xbc], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 8], 0x54dbbe56
dec dword [ebp - 0x38]
cmp dword [ebp - 0x38], 0x13
jne 0x10018794
mov dword [ebp - 0x10], 0xfffffffe
mov dword [ebp - 0x1c], 0xdfe924f6
mov byte [ebp + 0xb], bl
cmp byte [ebp + 0xb], bl
je 0x100187e4
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x10], ebx
jmp 0x10018896
mov dword [ebp - 8], 0xb96ca2cb
mov dword [ebp - 4], 0xd8bc0d13
mov dword [ebp - 0xc], 0x34a938f7
mov dword [ebp - 8], 0xffffffef
jmp 0x10018889
mov dword [ebp + 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov dword [ebp + 8], 0xfffffffc
jmp 0x10018880
mov dword [ebp - 0xc], 8
xor edx, edx
mov dword [ebp - 0x1c], 0x512a30a
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
cmp ecx, eax
mov ecx, dword [ebp + 8]
setle dl
xor eax, eax
cmp edx, 0x5bd5
setg al
xor edx, edx
sub ecx, eax
mov eax, dword [ebp - 0x10]
cmp ecx, eax
setle dl
sub edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
dec dword [ebp + 8]
cmp dword [ebp + 8], 0xffffffe9
jg 0x10018821
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jle 0x1001880a
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xffffffe2
je 0x100187ec
mov eax, dword [ebp + 0xc]
push 1
pop esi
push 0xfffffffffffffff9
pop edx
cmp byte [eax], bl
je 0x10018b9d
mov dword [ebp - 0x10], 0x7e2799ac
mov dword [ebp - 8], 0x9a695768
mov dword [ebp + 8], 0xffffffff
mov dword [ebp - 0x14], 0xfc5c3c3a
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp + 8], 0xffffffff
mov dword [ebp - 0x20], 0xd606
mov dword [ebp - 0x1c], 0xfffffff8
mov dword [ebp - 0x10], 0xfffffffe
jmp 0x10018b5c
mov dword [ebp - 0xc], 0xa8ce9b8a
mov dword [ebp + 8], 0xfb66c146
mov dword [ebp + 8], ebx
jmp 0x10018916
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x30], 0xffbe
inc dword [ebp + 8]
cmp dword [ebp + 8], 3
jl 0x10018908
mov byte [ebp + 0xb], bl
cmp byte [ebp + 0xb], bl
je 0x1001892b
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x10], ebx
jne 0x10018937
mov eax, esi
cmp dword [ebp - 0x28], ebx
jne 0x10018939
mov eax, ebx
xor ecx, ecx
cmp eax, 0xddb7
mov eax, dword [ebp - 0x30]
sete cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x10]
setle dl
xor ecx, ecx
cmp eax, edx
setle cl
inc ecx
jne 0x1001895d
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], 0x6eab3ae5
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp + 8]
cmp eax, ecx
mov eax, dword [ebp - 0x30]
setl dl
xor ecx, ecx
cmp edx, eax
setl cl
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], ebx
je 0x10018990
mov eax, esi
cmp dword [ebp - 0x10], ebx
jne 0x10018992
mov eax, ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x30]
cmp eax, 0xa9d01274
mov eax, dword [ebp - 0x10]
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
setl cl
cmp dword [ebp - 0x30], ecx
jne 0x100189b6
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, 0xc2a4
setge cl
sub ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 8]
setge dl
xor ecx, ecx
cmp eax, edx
mov eax, dword [ebp - 0x30]
setge cl
xor edx, edx
imul ecx, ecx, 0xfffe
cmp ecx, eax
setl dl
mov dword [ebp + 8], edx
xor edx, edx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
cmp ecx, eax
setge dl
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x2c], esi
je 0x10018a3e
mov byte [ebp + 0xb], bl
cmp byte [ebp + 0xb], bl
je 0x10018b59
push 0xfec
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x10018b59
mov dword [ebp - 4], 0xffffffff
mov dword [ebp + 8], 0xfa00a4ed
mov dword [ebp - 8], 0xffffffe3
jmp 0x10018b4f
mov dword [ebp + 8], ebx
jmp 0x10018a6e
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0xb8], 0x9a92
inc dword [ebp + 8]
cmp dword [ebp + 8], edi
jl 0x10018a5d
mov byte [ebp + 0xb], bl
cmp byte [ebp + 0xb], bl
je 0x10018a8f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
mov eax, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0xac]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
cmp eax, 0xc30
mov eax, dword [ebp - 0x30]
setge dl
xor ecx, ecx
cmp edx, eax
push 0xfffffffffffffff9
setg cl
pop eax
cmp eax, ecx
sbb eax, eax
neg eax
imul ecx, eax, 0xf393
mov eax, dword [ebp - 0x20]
sub ecx, eax
sub ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
neg ecx
sbb ecx, ecx
xor edx, edx
neg ecx
cmp eax, ecx
setge dl
sub edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x1c]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
mov eax, dword [ebp - 0xb4]
setl cl
xor edx, edx
cmp eax, ecx
mov eax, dword [ebp - 4]
setge dl
xor ecx, ecx
cmp edx, eax
setne cl
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], eax
jl 0x10018b26
mov edx, ebx
cmp dword [ebp - 4], ebx
je 0x10018b28
mov edx, esi
mov eax, dword [ebp - 0xb4]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0xc]
setne cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 4]
setne dl
xor ecx, ecx
cmp eax, edx
setg cl
mov dword [ebp + 8], ecx
inc dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffe6
jne 0x10018a58
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xb
jg 0x100188f5
push 0x11b7
push ebx
push 0x1b3b
push 0x1623
push 0x605
push ebx
push 0x12ed
push 0x1e3c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawIconEx]
push 0xfffffffffffffff9
pop edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x20], 0xe3d4752e
mov dword [ebp - 4], 0xc12d4938
mov dword [ebp - 8], edi
mov dword [ebp - 0x1c], 0x1a16
push 3
mov dword [ebp + 8], edx
mov dword [ebp + 8], ebx
pop ecx
jmp 0x10018bd0
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x48], ebx
inc dword [ebp + 8]
cmp dword [ebp + 8], ecx
jl 0x10018bc6
mov dword [ebp + 8], ebx
jmp 0x10018be4
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x54], ecx
inc dword [ebp + 8]
cmp dword [ebp + 8], ecx
jl 0x10018bda
mov dword [ebp + 8], ebx
jmp 0x10018bf8
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x7c], edx
inc dword [ebp + 8]
cmp dword [ebp + 8], edi
jl 0x10018bee
mov dword [ebp + 8], ebx
jmp 0x10018c0f
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x98], edi
inc dword [ebp + 8]
cmp dword [ebp + 8], 2
jl 0x10018c02
inc dword [ebp - 0x78]
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x98], ebx
je 0x10018c39
mov eax, esi
cmp dword [ebp - 0x44], ebx
jne 0x10018c3b
mov eax, ebx
mov ecx, dword [ebp - 0x78]
sub ecx, eax
mov eax, dword [ebp - 0x14]
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [ebp - 0x78]
setle dl
xor ecx, ecx
cmp edx, eax
mov edx, esi
setge cl
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0xc]
dec dword [ebp - 4]
cmp eax, 0xc114
mov eax, dword [ebp - 0x4c]
cmovl edx, ebx
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x78]
setne cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x50]
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 8]
setne cl
xor edx, edx
cmp ecx, eax
setge dl
add edx, 0x63e3
neg edx
sbb edx, edx
inc edx
cmp edx, 0x2f603f55
jle 0x10018cb2
mov eax, esi
cmp dword [ebp - 0x4c], ebx
jne 0x10018cb4
mov eax, ebx
xor ecx, ecx
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x40]
setg cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 8]
setl dl
sub edx, eax
mov dword [ebp - 0x4c], edx
je 0x10018cd7
mov edx, esi
cmp dword [ebp - 0x44], ebx
jne 0x10018cd9
mov edx, ebx
mov eax, dword [ebp - 0x44]
xor ecx, ecx
cmp edx, eax
mov edx, dword [ebp - 0x14]
sete cl
add edx, ecx
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x74]
neg edx
neg edx
sbb edx, edx
neg edx
add ecx, edx
xor edx, edx
cmp ecx, eax
setl dl
cmp edx, dword [ebp - 0x74]
jge 0x10018d09
cmp dword [ebp - 8], ebx
je 0x10018d0b
mov ebx, esi
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp ebx, eax
setl cl
imul ecx, dword [ebp - 0x40]
mov dword [ebp - 0x14], ecx
jmp 0x10018ff6
mov dword [ebp + 8], 0xac204e2d
xor esi, esi
mov dword [ebp - 8], 0x5fa2ef7
inc esi
mov dword [ebp + 8], ebx
jmp 0x10018d45
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x6c], 0xffffffff
inc dword [ebp + 8]
cmp dword [ebp + 8], esi
jl 0x10018d37
push 8
mov dword [ebp + 8], 0xffffffff
pop edi
jmp 0x10018dd3
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], 0xf9986e3e
mov dword [ebp - 0x20], 0x6b71
cmp dword [ebp + 8], ebx
jne 0x10018d93
mov eax, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp + 8]
cmp eax, esi
mov eax, dword [ebp - 0xc]
setle dl
xor ecx, ecx
cmp edx, eax
setge cl
cmp ecx, 0xe974a520
mov ecx, ebx
sbb eax, eax
inc eax
add eax, dword [ebp - 0xc]
jne 0x10018d95
mov ecx, esi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
sub ecx, eax
cmp esi, ecx
mov ecx, edi
sbb eax, eax
xor edx, edx
neg eax
sub ecx, eax
add ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
imul ecx, dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp ecx, eax
setl dl
add edx, dword [ebp + 8]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 4]
dec dword [ebp + 8]
cmp dword [ebp + 8], 0xfffffff2
jl 0x10018d56
mov dword [ebp - 8], 0x18
jmp 0x10018e09
mov dword [ebp + 8], ebx
jmp 0x10018df8
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0xe4], esi
inc dword [ebp + 8]
cmp dword [ebp + 8], 3
jl 0x10018deb
cmp dword [ebp - 0xe0], ebx
jne 0x10018e0f
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xfffffff2
jg 0x10018de6
mov dword [ebp - 8], 0x60f951fe
mov eax, 0x5aa775be
mov dword [ebp - 4], 0xb8f3d421
mov dword [ebp + 8], 0xaf14c90d
mov dword [ebp - 0x20], 0xcf30836b
mov dword [ebp - 0x1c], 0x1dfd9475
mov dword [ebp - 0xc], 0xeefb6f65
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], 0x80031aa0
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x24], 0x1158
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp + 8], 0xba70
mov dword [ebp + 8], ebx
jmp 0x10018e84
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x3c], 0x35b263d1
inc dword [ebp + 8]
cmp dword [ebp + 8], esi
jl 0x10018e76
push 4
mov dword [ebp + 8], ebx
pop edi
jmp 0x10018e9e
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0x90], esi
inc dword [ebp + 8]
cmp dword [ebp + 8], edi
jl 0x10018e91
mov dword [ebp + 8], ebx
jmp 0x10018eb9
mov eax, dword [ebp + 8]
mov dword [ebp + eax*4 - 0xd8], 9
inc dword [ebp + 8]
cmp dword [ebp + 8], edi
jl 0x10018ea8
cmp dword [ebp - 8], ebx
jne 0x10018f20
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0xc]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp eax, edx
setne cl
cmp dword [ebp - 4], ecx
jne 0x10018ee7
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x1c], esi
jle 0x10018ef3
mov eax, esi
cmp dword [ebp - 0xc], ebx
jne 0x10018ef5
mov eax, ebx
xor ecx, ecx
cmp eax, 0x694a2199
mov eax, dword [ebp - 0x84]
setl cl
xor edx, edx
cmp ecx, eax
mov eax, dword [ebp - 0x14]
mov ecx, ebx
setle dl
inc dword [ebp - 0x14]
cmp eax, edx
mov eax, esi
cmove eax, ebx
cmp eax, dword [ebp - 0x1c]
jl 0x10018f22
mov ecx, esi
xor eax, eax
cmp ecx, 0xfffffffe
setne al
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
neg ecx
sbb ecx, ecx
xor eax, eax
neg ecx
cmp ecx, 0xa3a4aa3e
sete al
cmp eax, dword [ebp - 0x20]
jge 0x10018f49
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x58]
xor edx, edx
mov eax, dword [ebp - 0x8c]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 0x90]
imul ecx, eax, 0x170
mov eax, dword [ebp - 4]
cmp ecx, eax
mov eax, dword [ebp - 0x24]
setge dl
xor ecx, ecx
cmp edx, eax
setge cl
add ecx, dword [ebp - 0xd4]
jne 0x10018f8a
mov edi, ebx
cmp dword [ebp - 0xd4], ebx
je 0x10018f8c
mov edi, esi
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, dword [ebp - 8]
cmp ecx, eax
mov ecx, dword [ebp - 0x3c]
setle dl
sub ecx, edx
cmp edi, esi
sbb eax, eax
xor edx, edx
neg eax
imul eax, dword [ebp - 0x90]
cmp ecx, eax
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x3c]
setne dl
sub ecx, edx
add eax, ecx
mov ecx, dword [ebp - 0x24]
imul ecx, eax
test ecx, ecx
je 0x10018fce
cmp dword [ebp - 0x10], ebx
jne 0x10018fd0
mov esi, ebx
mov ecx, dword [ebp + 0x10]
xor eax, eax
cmp esi, 0x3301997f
setge al
imul eax, dword [ebp - 0xa0]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret