Function at 0x10010ad1
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007062a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
push esi
push edi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10010dfa
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x128], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xfc], 0x1b38
cmp dword [ebp - 0xfc], 0x1382
jge 0x10010c48
push 4
lea ecx, [ebp - 0x58]
call fcn.100301c4
and dword [ebp - 4], 0
and dword [ebp - 0x34], 0
jmp 0x10010b4d
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 4
jge 0x10010b6d
push dword [ebp - 0x34]
lea ecx, [ebp - 0x58]
call fcn.100302cc
push eax
push 0x1000ea08
call fcn.10056960
pop ecx
pop ecx
jmp 0x10010b46
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x58]
call fcn.1003025b
push dword [eax]
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x58]
call fcn.1003024d
push dword [eax]
call fcn.100346e8
pop ecx
pop ecx
mov byte [ebp - 0x15], 0
push 3
lea ecx, [ebp - 0x58]
call fcn.100302cc
mov esi, eax
push 0
lea ecx, [ebp - 0x58]
call fcn.100302cc
mov edi, eax
push 1
lea ecx, [ebp - 0x58]
call fcn.100302cc
mov edi, dword [edi]
add edi, dword [eax]
push 2
lea ecx, [ebp - 0x58]
call fcn.100302cc
add edi, dword [eax]
cmp dword [esi], edi
jne 0x10010bd6
mov byte [ebp - 0x15], 1
jmp 0x10010c12
push 0
lea ecx, [ebp - 0x58]
call fcn.100302cc
mov esi, eax
push 3
lea ecx, [ebp - 0x58]
call fcn.100302cc
mov esi, dword [esi]
add esi, dword [eax]
push 1
lea ecx, [ebp - 0x58]
call fcn.100302cc
mov edi, eax
push 2
lea ecx, [ebp - 0x58]
call fcn.100302cc
mov ecx, dword [edi]
add ecx, dword [eax]
cmp esi, ecx
jne 0x10010c12
mov byte [ebp - 0x15], 1
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x10010c26
mov dword [ebp - 0xb4], 0x1000ea0c
jmp 0x10010c30
mov dword [ebp - 0xb4], 0x1000ea10
push dword [ebp - 0xb4]
call fcn.100572e2
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.1003034d
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x158]
movzx eax, byte [eax]
test eax, eax
je 0x10010c7b
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x10010df5
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0xe4], eax
push 0
mov ecx, dword [ebp - 0x44]
call fcn.100302cc
mov ecx, dword [ebp - 0xe4]
mov eax, dword [eax]
sub eax, dword [ecx]
cmp eax, 1
je 0x10010d21
mov eax, dword [ebp - 0x5c]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.100302cc
cmp dword [eax], 0
je 0x10010d21
mov dword [ebp - 0x70], 1
jmp 0x10010d25
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 1
jb 0x10010d37
mov dword [ebp - 0xc8], 1
jmp 0x10010d3e
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax]
cmp dword [ebp - 0xc8], eax
jge 0x10010d57
mov dword [ebp - 0x78], 1
jmp 0x10010d5b
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0x7d926128
jg 0x10010d70
mov dword [ebp - 0xb0], 1
jmp 0x10010d77
and dword [ebp - 0xb0], 0
cmp dword [ebp - 0xb0], 1
je 0x10010d98
mov eax, dword [ebp - 0x5c]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.100302cc
cmp dword [eax], 0
jne 0x10010d98
and dword [ebp - 0x80], 0
jmp 0x10010d9f
mov dword [ebp - 0x80], 1
mov eax, dword [ebp - 0x5c]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.100302cc
mov eax, dword [eax]
cmp eax, dword [ebp - 0x80]
jne 0x10010dbf
mov dword [ebp - 0xd8], 1
jmp 0x10010dc6
and dword [ebp - 0xd8], 0
cmp dword [ebp - 0xd8], 0x7704
jg 0x10010ddb
mov dword [ebp - 0x64], 1
jmp 0x10010ddf
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x64]
mov dword [eax], ecx
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x64]
mov dword [eax], ecx
jmp 0x100114da
lea eax, [ebp + 0x20]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x14c]
movzx eax, byte [eax]
test eax, eax
je 0x100114a0
mov dword [ebp - 0x188], 0xffffffff
mov dword [ebp - 0x190], 0x13dce9d
mov dword [ebp - 0x198], 0x4b25
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x194], 0x951ea66e
mov dword [ebp - 0x18c], 0x2456160c
push 2
lea ecx, [ebp - 0x170]
call fcn.100301c4
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], 0
jmp 0x10010ea3
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jge 0x10010eb9
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x178], 0xbd2ab60e
jmp 0x10010e9c
mov dword [ebp - 0x1c], 0
jmp 0x10010ec9
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x10010ee5
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x170]
call fcn.100302cc
mov dword [eax], 6
jmp 0x10010ec2
push 1
lea ecx, [ebp - 0x170]
call fcn.100302cc
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x88]
mov dword [ecx], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.10030248
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x48], 0xb7c7ce53
mov dword [ebp - 0x40], 0
jmp 0x10010f3b
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 3
jge 0x10010f51
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x1a8], 0
jmp 0x10010f34
mov dword [ebp - 0x48], 2
jmp 0x10010f61
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x10010f84
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x10010f82
push 0
push 0x12e6
push 0
call dword [sym.imp.GDI32.dll_GetEnhMetaFileHeader]
jmp 0x10010f5a
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x10010f9d
push 0x2057
push 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x94], 2
mov dword [ebp - 0xdc], 0xb95c1f4a
mov dword [ebp - 0x4c], 0
jmp 0x10010fee
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jge 0x10011004
mov eax, dword [ebp - 0x4c]
mov dword [ebp + eax*4 - 0x110], 1
jmp 0x10010fe7
mov dword [ebp - 0x154], 0x2191
cmp dword [ebp - 0x154], 0x1191
jge 0x100111a5
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x1000ea14
call fcn.10056960
add esp, 0xc
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x124]
call fcn.100301c4
mov dword [ebp - 4], 2
and dword [ebp - 0x38], 0
jmp 0x1001105c
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x2c]
jge 0x10011081
push dword [ebp - 0x38]
lea ecx, [ebp - 0x124]
call fcn.100302cc
push eax
push 0x1000ea04
call fcn.10056960
pop ecx
pop ecx
jmp 0x10011055
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x164]
call fcn.100301c4
mov byte [ebp - 4], 3
and dword [ebp - 0x3c], 0
jmp 0x100110a0
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x2c]
jge 0x100110c5
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x164]
call fcn.100302cc
push eax
push 0x1000ea04
call fcn.10056960
pop ecx
pop ecx
jmp 0x10011099
mov byte [ebp - 0xd], 1
push 0
lea ecx, [ebp - 0x124]
call fcn.100302cc
cmp dword [eax], 0
jne 0x100110e1
mov byte [ebp - 0xd], 0
jmp 0x1001115d
push dword [ebp - 0x24]
lea ecx, [ebp - 0x124]
call fcn.100302cc
cmp dword [eax], 0
je 0x100110fa
mov byte [ebp - 0xd], 1
jmp 0x1001115d
push dword [ebp - 0x24]
lea ecx, [ebp - 0x164]
call fcn.100302cc
cmp dword [eax], 0
jne 0x10011113
mov byte [ebp - 0xd], 0
jmp 0x1001115d
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x10011127
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x2c]
jge 0x1001115d
push dword [ebp - 0x28]
lea ecx, [ebp - 0x124]
call fcn.100302cc
cmp dword [eax], 0
je 0x1001115b
push dword [ebp - 0x28]
lea ecx, [ebp - 0x164]
call fcn.100302cc
cmp dword [eax], 0
je 0x1001115b
mov byte [ebp - 0xd], 1
jmp 0x1001115d
jmp 0x10011120
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10011171
mov dword [ebp - 0xb8], 0x1000ea0c
jmp 0x1001117b
mov dword [ebp - 0xb8], 0x1000ea10
push dword [ebp - 0xb8]
call fcn.100572e2
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x164]
call fcn.10030248
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x124]
call fcn.10030248
cmp dword [ebp - 0x14], 0
je 0x1001121a
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jne 0x100111bf
mov dword [ebp - 0x90], 1
jmp 0x100111c6
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
add eax, 0x4c714e92
jne 0x100111e2
cmp dword [ebp - 0x14], 0
jne 0x100111e2
and dword [ebp - 0x13c], 0
jmp 0x100111ec
mov dword [ebp - 0x13c], 1
mov eax, dword [ebp - 0x14]
sub eax, 0x5b04
je 0x10011208
cmp dword [ebp - 0x14], 0
je 0x10011208
mov dword [ebp - 0xd0], 1
jmp 0x1001120f
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xd0], eax
jne 0x10011229
cmp dword [ebp - 0x14], 0
jne 0x10011229
and dword [ebp - 0x98], 0
jmp 0x10011233
mov dword [ebp - 0x98], 1
mov eax, dword [ebp - 0x98]
shl eax, 3
cmp dword [ebp - 0x14], eax
jl 0x1001124d
mov dword [ebp - 0xc0], 1
jmp 0x10011254
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xc0], eax
jge 0x10011271
cmp dword [ebp - 0x14], 0
je 0x10011271
mov dword [ebp - 0xa0], 1
jmp 0x10011278
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xa0], eax
jl 0x1001128f
mov dword [ebp - 0xe0], 1
jmp 0x10011296
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xe0]
jge 0x100112ad
mov dword [ebp - 0xa8], 1
jmp 0x100112b4
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xa8], eax
jle 0x100112c8
mov dword [ebp - 0x6c], 1
jmp 0x100112cc
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x6c], eax
jle 0x100112dd
mov dword [ebp - 0x74], 1
jmp 0x100112e1
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 0x38d679bd
jle 0x100112f3
mov dword [ebp - 0x7c], 1
jmp 0x100112f7
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x84], eax
je 0x10011317
mov dword [ebp - 0x8c], 1
jmp 0x1001131e
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x94]
imul eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x14]
jg 0x1001134e
mov eax, 0x88c83b91
test eax, eax
jne 0x1001134e
and dword [ebp - 0x9c], 0
jmp 0x10011358
mov dword [ebp - 0x9c], 1
cmp dword [ebp - 0x9c], 0x9a70
jge 0x10011370
mov dword [ebp - 0xa4], 1
jmp 0x10011377
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0xae07df7d
jbe 0x1001138f
mov dword [ebp - 0xac], 1
jmp 0x10011396
and dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 1
jbe 0x100113a8
mov dword [ebp - 0x68], 1
jmp 0x100113ac
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 0xea376659
jb 0x100113c4
cmp dword [ebp - 0x14], 0
jne 0x100113c4
and dword [ebp - 0xbc], 0
jmp 0x100113ce
mov dword [ebp - 0xbc], 1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xbc], eax
jl 0x100113e5
mov dword [ebp - 0xc4], 1
jmp 0x100113ec
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc4]
cmp eax, 0x3e7a3298
je 0x10011408
mov dword [ebp - 0xcc], 1
jmp 0x1001140f
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xcc]
jne 0x10011426
mov dword [ebp - 0xd4], 1
jmp 0x1001142d
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0xdc]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x110], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x30]
mov dword [eax], 0
jmp 0x1001147e
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
cmp dword [eax], 1
jge 0x1001149e
mov eax, dword [ebp - 0x30]
push dword [eax]
mov ecx, dword [ebp - 0xf0]
call fcn.100302cc
mov dword [eax], 1
jmp 0x10011473
jmp 0x100114da
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
movzx eax, byte [eax]
test eax, eax
je 0x100114da
push 0x249
push 0x119c
push 0x229a
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret