Function at 0x1000eead
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d895
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xb0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x34]
test eax, eax
je 0x1000f1a7
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x3c], 0x752f
mov dword [ebp - 0xa8], 0x10007c14
cmp dword [ebp - 0x3c], 0x77d2
jle 0x1000efd1
push 0
push 0x1741
call dword [sym.imp.GDI32.dll_GetCurrentPositionEx]
and dword [ebp - 0x20], 0
jmp 0x1000ef43
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x34c8
jge 0x1000efd1
and dword [ebp - 0x2c], 0
jmp 0x1000ef5d
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x3d04
jge 0x1000efcc
and dword [ebp - 0x24], 0
jmp 0x1000ef73
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x5795
jge 0x1000efca
and dword [ebp - 0x1c], 0
jmp 0x1000ef89
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2a86
jge 0x1000efc8
mov eax, dword [ebp - 0x24]
cdq
idiv dword [ebp - 0x1c]
mov eax, dword [ebp - 0x2c]
mov ecx, edx
sar eax, cl
or eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edx
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
mov ecx, 0x10606538
call fcn.1002a5c1
jmp 0x1000ef82
jmp 0x1000ef6c
jmp 0x1000ef56
jmp 0x1000ef3c
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x68], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0x751d
jge 0x1000eff4
mov edx, dword [ebp - 0xa8]
mov ecx, 0x10606538
call fcn.1002c06b
jmp 0x1000f010
or dword [ebp - 4], 0xffffffff
jmp 0x1000f01a
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x1000f19c
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x1000f16d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov edi, dword [edi]
add edi, dword [esi]
sub edi, dword [edx]
add edi, dword [ecx]
imul edi, dword [eax]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, edi
cmp eax, 0x694a
jle 0x1000f0c8
mov dword [ebp - 0x34], 1
jmp 0x1000f0cc
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x34]
jl 0x1000f0e7
mov dword [ebp - 0x44], 1
jmp 0x1000f0eb
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
add eax, 0x4c46983c
je 0x1000f107
mov eax, 0xacb2
test eax, eax
je 0x1000f107
mov dword [ebp - 0x74], 1
jmp 0x1000f10b
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x54]
mov dword [eax], 0xd0c1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jg 0x1000f129
mov dword [ebp - 0x38], 1
jmp 0x1000f12d
and dword [ebp - 0x38], 0
cmp dword [ebp - 0x38], 8
jg 0x1000f13c
mov dword [ebp - 0x40], 1
jmp 0x1000f140
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
jne 0x1000f153
mov dword [ebp - 0x48], 1
jmp 0x1000f157
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
je 0x1000f16d
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx]
sub ecx, dword [eax]
add ecx, 0x6979f9f4
cmp ecx, 0xc701401c
ja 0x1000f18e
mov dword [ebp - 0x50], 1
jmp 0x1000f192
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
jmp 0x1000f1a2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jmp 0x1000f257
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x84], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x1000f237
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1000f215
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 4
jge 0x1000f235
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0xa4]
call fcn.1002a774
mov dword [eax], 0xb0b826fb
jmp 0x1000f20a
jmp 0x1000f257
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x58]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret