Function at 0x100161e5
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10066894
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x24], 1
push 3
lea ecx, [esp + 0xe4]
mov dword [esp + 0x4c], edx
call fcn.10013fe8
xor ebx, ebx
mov dword [esp + 0x14], ebx
jmp 0x10016243
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xe0]
mov dword [eax + ecx*4], 0xfffffff9
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jl 0x1001622d
mov dword [esp + 0x24], 0xfffffff7
cmp dword [esp + 0x24], 0xffffffe7
jle 0x10016370
mov esi, dword [esp + 0xe0]
mov dword [esp + 0x20], 0xad67a4be
mov dword [esp + 0x28], 0xfffffffc
mov dword [esp + 0x34], 0xc75dfcc9
mov dword [esp + 0x30], 9
mov dword [esp + 0x10], ebx
jmp 0x1001629a
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x3c], 0xfffffffe
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 1
jl 0x1001628a
mov dword [esp + 0x10], ebx
jmp 0x100162b7
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x74], 1
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 1
jl 0x100162a7
dec dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
jne 0x10016331
mov ecx, dword [esp + 0x3c]
xor edx, edx
mov eax, dword [esp + 0x3c]
cmp ecx, eax
mov eax, dword [esp + 0x24]
setg dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x28]
setge cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x20]
setne dl
sub edx, 8
neg edx
sbb edx, edx
inc edx
mov dword [esp + 0x30], edx
xor edx, edx
cmp eax, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
setg dl
xor ecx, ecx
cmp eax, edx
setge cl
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x20], 0xfe3d2f55
sbb eax, eax
inc eax
cmp eax, dword [esi + 8]
jg 0x10016331
mov eax, ebx
jmp 0x10016334
xor eax, eax
inc eax
mov dword [esp + 0x20], eax
mov ecx, 0xea0e
mov eax, dword [esp + 0x28]
sub ecx, eax
add ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x34]
jne 0x10016358
cmp dword [esp + 0x74], ebx
je 0x10016358
xor eax, eax
inc eax
jmp 0x1001635a
mov eax, ebx
mov dword [esi + 8], eax
mov dword [esp + 0x30], eax
dec dword [esp + 0x24]
cmp dword [esp + 0x24], 0xffffffe7
jg 0x10016264
lea ecx, [esp + 0xe0]
call fcn.100147f2
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], 0xfffffffe
mov byte [esp + 0x1f], bl
cmp byte [esp + 0x1f], bl
je 0x100163a1
push ebx
call dword [sym.imp.USER32.dll_SetCursor]
push 4
mov dword [esp + 0x18], ebx
pop esi
jmp 0x100163b2
mov dword [esp + 0x30], esi
dec dword [esp + 0x14]
cmp dword [esp + 0x14], 0xfffffffc
jl 0x100163aa
push 3
lea ecx, [esp + 0xf0]
call fcn.10013fe8
mov dword [esp + 0x16c], ebx
mov dword [esp + 0x10], ebx
jmp 0x100163e7
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x158], 0x3df7
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x100163d4
xor ecx, ecx
mov dword [esp + 0x10], ebx
inc ecx
jmp 0x10016407
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x44], 0x490c4d8e
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ecx
jl 0x100163f7
mov dword [esp + 0x44], ecx
cmp dword [esp + 0x44], ebx
jl 0x1001644a
mov dword [esp + 0x14], 0x31d83293
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x14], ebx
jl 0x10016444
mov byte [esp + 0x1f], bl
cmp byte [esp + 0x1f], 0
je 0x1001643b
push ebx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
dec dword [esp + 0x14]
jns 0x10016429
xor ecx, ecx
inc ecx
dec dword [esp + 0x44]
jns 0x10016417
lea eax, [esp + 0x110]
push eax
push 0x31ca
lea eax, [esp + 0xf4]
push ebx
push eax
call fcn.10018af5
add esp, 0x10
mov dword [esp + 0x14], 0x25b9b55b
lea ecx, [esp + 0x12c]
push 2
call fcn.10013fe8
mov byte [esp + 0x16c], 1
lea ecx, [esp + 0xb0]
mov dword [esp + 0x18], 0xfffffffb
push esi
call fcn.10013fe8
mov byte [esp + 0x16c], 2
mov dword [esp + 0x10], ebx
jmp 0x100164bf
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x12c]
mov dword [eax + ecx*4], 0x7689
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 2
jl 0x100164a9
mov dword [esp + 0x10], ebx
jmp 0x100164e2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xb0]
mov dword [eax + ecx*4], 0xee72c34c
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x100164cc
mov dword [esp + 0x14], ebx
jmp 0x1001665e
mov dword [esp + 0x10], 0x260417be
mov dword [esp + 0x24], 0xf03f
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], 1
cmp dword [esp + 0x10], ebx
jl 0x100165eb
push 3
lea ecx, [esp + 0xfc]
call fcn.10013fe8
mov dword [esp + 0x28], 0xafddf34f
mov dword [esp + 0x20], ebx
jmp 0x10016546
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0xf8]
or dword [eax + ecx*4], 0xffffffff
inc dword [esp + 0x20]
cmp dword [esp + 0x20], 3
jl 0x10016533
mov eax, dword [esp + 0xf8]
xor ecx, ecx
inc dword [eax + 4]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x28], 1
mov esi, dword [eax]
mov eax, dword [esp + 0x28]
cmp eax, esi
setne cl
xor eax, eax
cmp ecx, 0xecc2
setl al
xor edx, edx
cmp eax, 0x308faa83
mov eax, dword [esp + 0x24]
setle dl
sub edx, esi
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setl cl
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0xf8]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
call fcn.100147f2
dec dword [esp + 0x10]
jns 0x10016517
push 4
pop esi
mov dword [esp + 0x20], 3
cmp dword [esp + 0x20], ebx
jl 0x1001665a
mov dword [esp + 0x10], 3
cmp dword [esp + 0x10], ebx
jl 0x10016654
mov dword [esp + 0x18], ebx
jmp 0x10016647
mov dword [esp + 0x24], ebx
jmp 0x1001662c
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0xb0]
mov eax, dword [ecx + eax*4]
mov dword [ecx + edx*4], eax
inc dword [esp + 0x24]
cmp dword [esp + 0x24], 3
jle 0x10016613
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0xb0]
cmp dword [eax + ecx*4], ebx
jne 0x1001664e
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 1
jle 0x1001660d
dec dword [esp + 0x10]
jns 0x10016607
dec dword [esp + 0x20]
jns 0x100165f9
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jl 0x100164f1
lea ecx, [esp + 0xb0]
call fcn.100147f2
lea ecx, [esp + 0x12c]
mov byte [esp + 0x16c], bl
call fcn.100147f2
mov dword [esp + 0x10], ebx
jmp 0x100166b1
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x14], ebx
jmp 0x100166a6
push ebx
call fcn.10018ba0
dec dword [esp + 0x18]
pop ecx
cmp dword [esp + 0x14], 0xffffffe7
jge 0x1001669b
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x16
je 0x1001668d
mov dword [esp + 0x10], ebx
jmp 0x100167c7
mov dword [esp + 0x18], 0xf47a6dee
mov dword [esp + 0x18], ebx
jmp 0x100167b8
mov dword [esp + 0x14], 0x1b6eab3c
lea ecx, [esp + 0xd4]
push 3
call fcn.10013fe8
push 0x3d6c
lea eax, [esp + 0xd8]
mov byte [esp + 0x170], 3
push eax
push ebx
lea eax, [esp + 0x12c]
mov dword [esp + 0x34], 0x7673ed13
push 0x1a68
push eax
call fcn.1001884a
add esp, 0x14
cmp dword [esp + 0x14], ebx
jne 0x10016747
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xd4]
mov dword [eax + 4], ecx
test ecx, ecx
je 0x10016737
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
imul eax, dword [esp + 0x18], 0xffff
test eax, eax
je 0x10016776
cmp dword [esp + 0x18], ebx
je 0x10016776
xor eax, eax
inc eax
jmp 0x10016778
mov eax, ebx
mov dword [esp + 0x28], eax
xor edx, edx
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
cmp eax, 1
mov eax, dword [esp + 0x10]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0xec]
mov byte [esp + 0x16c], bl
setl cl
mov dword [eax + 8], ecx
lea ecx, [esp + 0xd4]
call fcn.100147f2
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 0x13
je 0x100166d2
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 0xffffffed
jle 0x100166c1
or dword [esp + 0x16c], 0xffffffff
lea ecx, [esp + 0xec]
call fcn.100147f2
cmp dword [edi + 0x10], ebx
jne 0x100167f2
xor al, al
jmp 0x100173ba
mov dword [esp + 0x18], 0x9a92
lea ecx, [esp + 0x90]
mov dword [esp + 0x2c], 0xeb4c8f0d
push esi
call fcn.10013fe8
mov dword [esp + 0x16c], esi
lea ecx, [esp + 0xc8]
xor eax, eax
mov dword [esp + 0x28], 0x7ddbf4df
inc eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], 0x38009552
mov dword [esp + 0x20], 0xffffffff
push eax
call fcn.10013fe8
mov dword [esp + 0x10], ebx
jmp 0x1001685e
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x90]
mov dword [eax + ecx*4], 0xfffffffd
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x10016848
xor edx, edx
mov dword [esp + 0x10], ebx
inc edx
jmp 0x10016880
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xa0], 0x9b996a53
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jl 0x1001686d
mov dword [esp + 0x10], ebx
jmp 0x100168a2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc8]
mov dword [eax + ecx*4], 2
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jl 0x1001688c
mov eax, dword [esp + 0x18]
xor edx, edx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp ecx, eax
mov eax, dword [esp + 0x90]
setge dl
xor ecx, ecx
mov dword [eax], edx
mov dword [esp + 0x2c], 0xfffffffc
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x90]
cmp ecx, dword [eax]
sbb edx, edx
inc edx
mov dword [esp + 0xa0], edx
mov eax, dword [esp + 0x18]
sub edx, eax
sub edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
cmp eax, edx
setg cl
xor edx, edx
imul ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], 2
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x90]
mov ecx, dword [eax]
mov eax, dword [esp + 0xc8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xc8]
cmp dword [eax], ecx
mov eax, dword [esp + 0x18]
sete dl
xor ecx, ecx
cmp edx, eax
sete cl
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0xc8]
call fcn.100147f2
or dword [esp + 0x16c], 0xffffffff
lea ecx, [esp + 0x90]
call fcn.100147f2
push 5
pop esi
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x84]
mov dword [esp + 0x10], 1
push 3
call fcn.10013fe8
push 0x3ae0
push 0x373f
push 0x52fe
push 0x1729
push 0x7f41
push 0x2c9b
push 0x5399
mov dword [esp + 0x188], esi
lea eax, [esp + 0xa0]
push ebx
push eax
mov dword [esp + 0x3c], 0xd015b01d
lea eax, [esp + 0x84]
mov dword [esp + 0x48], 0xabac8ef3
mov dword [esp + 0x4c], 0xffff
push 0x3019
mov dword [esp + 0x3c], 0xcf62
mov dword [esp + 0x8c], 0x55ef1c8d
push eax
call fcn.10018db2
mov eax, dword [esp + 0x58]
add esp, 0x2c
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jne 0x10016a32
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
inc dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov eax, dword [esp + 0x2c]
cmp eax, 1
setge cl
sub ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x18]
sub ecx, 0xcd5
neg ecx
sbb ecx, ecx
inc ecx
sub ecx, dword [esp + 0x24]
sub ecx, 0xbe72f236
mov eax, dword [esp + 0x84]
neg ecx
sbb ecx, ecx
inc ecx
cmp ecx, 1
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, dword [eax]
mov eax, dword [esp + 0x14]
setle dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x24]
setge cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x14]
setle dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x84]
setle cl
add ecx, dword [eax]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
xor ecx, ecx
cmp dword [esp + 0x30], eax
mov eax, dword [esp + 0x84]
sete cl
xor edx, edx
cmp ecx, dword [eax]
setg dl
xor ecx, ecx
mov dword [eax + 8], edx
mov eax, dword [esp + 0x24]
cmp edx, eax
mov eax, dword [esp + 0x64]
setle cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x18]
setge dl
xor ecx, ecx
cmp edx, eax
setg cl
sub ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
neg ecx
sbb ecx, ecx
inc ecx
mov dword [esp + 0x30], ecx
xor ecx, ecx
cmp dword [esp + 0x30], eax
setge cl
dec ecx
mov dword [esp + 0x24], ecx
je 0x10016b35
mov byte [esp + 0x1f], bl
cmp byte [esp + 0x1f], 0
je 0x10016b1f
push 0x2c14
push ebx
call fcn.1001980e
pop ecx
pop ecx
lea eax, [esp + 0x84]
xor cl, cl
push eax
lea edx, [esp + 0x68]
call fcn.10015db2
pop ecx
jmp 0x10016b75
mov dword [esp + 0x30], 0xf3c8
mov dword [esp + 0x18], 2
cmp dword [esp + 0x18], ebx
jl 0x10016b6d
lea eax, [esp + 0x3b]
mov byte [esp + 0x3b], bl
push eax
push ebx
push 0x547d
push 0x7724
call fcn.10019c8e
add esp, 0x10
dec dword [esp + 0x18]
jns 0x10016b4b
mov dword [esp + 0x30], 0xd14a140c
mov dword [esp + 0x10], ebx
jmp 0x10016b8c
push 0x4017
push ebx
call fcn.10019847
dec dword [esp + 0x18]
pop ecx
pop ecx
cmp dword [esp + 0x10], 0xffffffea
jg 0x10016b7b
or dword [esp + 0x16c], 0xffffffff
lea ecx, [esp + 0x84]
call fcn.100147f2
push 4
lea ecx, [esp + 0x108]
call fcn.10013fe8
xor edx, edx
inc edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], ebx
jmp 0x10016bd8
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x104]
mov dword [eax + ecx*4], 0xfdf9
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 4
jl 0x10016bc2
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x24], 3
jg 0x10016ce4
mov esi, dword [esp + 0x104]
mov dword [esp + 0x10], 0xb01d
xor ecx, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], 0xb400765e
mov eax, dword [esp + 0x10]
cmp eax, 6
setne cl
add ecx, dword [esp + 0x24]
mov dword [esp + 0x18], ecx
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
cmp eax, 0xfffffffa
setg cl
imul ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x10016c4a
mov eax, ebx
cmp dword [esp + 0x18], ebx
je 0x10016c4c
mov eax, edx
cmp eax, dword [esp + 0x20]
jge 0x10016c5a
mov ecx, ebx
cmp dword [esp + 0x24], ebx
je 0x10016c5c
mov ecx, edx
xor eax, eax
cmp ecx, dword [esi + 0xc]
setge al
xor ecx, ecx
cmp eax, 0xe10d
setl cl
neg ecx
jne 0x10016c7a
mov eax, ebx
cmp dword [esp + 0x14], ebx
je 0x10016c7c
mov eax, edx
cmp eax, dword [esp + 0x24]
jg 0x10016cc5
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x20], 3
jg 0x10016cd5
mov dword [esp + 0x14], ebx
jmp 0x10016cae
mov byte [esp + 0x1f], bl
cmp byte [esp + 0x1f], 0
je 0x10016caa
push 0x1b1b
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jle 0x10016c93
inc dword [esp + 0x20]
cmp dword [esp + 0x20], 3
jle 0x10016c8d
xor edx, edx
inc edx
jmp 0x10016cd5
mov dword [esp + 0x30], 0xef31
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
inc dword [esp + 0x24]
cmp dword [esp + 0x24], 3
jle 0x10016bf5
lea ecx, [esp + 0x104]
call fcn.100147f2
mov eax, dword [esp + 0x48]
mov dword [eax], ebx
mov dword [esp + 0x14], 0xfffffffb
mov dword [esp + 0x14], ebx
jmp 0x10016d41
mov byte [esp + 0x1f], bl
cmp byte [esp + 0x1f], 0
je 0x10016d22
push 0x2644
push ebx
push 0x3869
call fcn.100196d9
add esp, 0xc
mov byte [esp + 0x1f], bl
cmp byte [esp + 0x1f], 0
je 0x10016d3d
push 1
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0x17
jle 0x10016d04
cmp dword [edi + 0x14], 0x10
jb 0x10016d52
mov esi, dword [edi]
jmp 0x10016d54
mov esi, edi
cmp dword [edi + 0x14], 0x10
jb 0x10016d5e
mov ecx, dword [edi]
jmp 0x10016d60
mov ecx, edi
mov eax, dword [edi + 0x10]
add eax, ecx
cmp esi, eax
je 0x10017323
xor ecx, ecx
inc ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], 0xfffffffd
mov dword [esp + 0x20], 0xfffffffe
mov dword [esp + 0x2c], 0xa14c5530
mov dword [esp + 0x18], 0xfffffffc
mov dword [esp + 0x28], 0xbde8aff6
mov dword [esp + 0x34], 0xfffffff7
mov dword [esp + 0x14], ebx
jmp 0x10016dba
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x40], 0x89fff12f
inc dword [esp + 0x14]
cmp dword [esp + 0x14], ecx
jl 0x10016daa
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
cmp eax, 0x9ba8
mov eax, dword [esp + 0x20]
setge cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x10]
setl dl
xor ecx, ecx
cmp eax, edx
mov eax, dword [esp + 0x2c]
setle cl
xor edx, edx
cmp ecx, eax
setl dl
add edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
neg edx
mov dword [esp + 0x30], edx
xor edx, edx
cmp dword [esp + 0x30], eax
mov eax, dword [esp + 0x20]
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, 0xd77cccae
setg cl
cmp eax, ecx
sbb eax, eax
neg eax
add eax, dword [esp + 0x10]
jne 0x10016e4c
cmp dword [esp + 0x40], ebx
jne 0x10016e4c
mov ecx, ebx
jmp 0x10016e4f
xor ecx, ecx
inc ecx
mov eax, dword [esp + 0x10]
sub eax, ecx
neg eax
sbb eax, eax
inc eax
cmp eax, dword [esp + 0x2c]
je 0x10016e6b
cmp dword [esp + 0x18], ebx
je 0x10016e6b
xor eax, eax
inc eax
jmp 0x10016e6d
mov eax, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
dec eax
jne 0x10016e82
cmp dword [esp + 0x24], ebx
jne 0x10016e82
mov eax, ebx
jmp 0x10016e85
xor eax, eax
inc eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x18], ebx
je 0x10016e97
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x24]
cmp eax, 0xffffffff
mov eax, dword [esp + 0x18]
sbb ecx, ecx
xor edx, edx
neg ecx
cmp ecx, eax
mov eax, dword [esp + 0x24]
setle dl
xor ecx, ecx
cmp edx, eax
setl cl
cmp ecx, dword [esp + 0x24]
jg 0x10016eca
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x18], ebx
jne 0x10016eda
cmp dword [esp + 0x34], ebx
jne 0x10016eda
mov edx, ebx
jmp 0x10016edd
xor edx, edx
inc edx
mov eax, dword [esp + 0x40]
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x24]
setne cl
imul eax, ecx
test eax, eax
je 0x10016efe
cmp dword [esp + 0x28], ebx
je 0x10016efe
xor eax, eax
inc eax
jmp 0x10016f00
mov eax, ebx
xor ecx, ecx
cmp eax, 0xfffffffe
sete cl
imul ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
sub ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
imul eax, ecx, 0xf390
test eax, eax
jne 0x10016f3a
cmp dword [esp + 0x40], ebx
jne 0x10016f3a
mov eax, ebx
jmp 0x10016f3d
xor eax, eax
inc eax
mov dword [esp + 0x40], eax
mov al, byte [esi]
cmp al, 0x30
jl 0x100172d2
cmp al, 0x39
jg 0x100172d2
push 1
lea ecx, [esp + 0x7c]
call fcn.10013fe8
mov dword [esp + 0x16c], 6
mov dword [esp + 0x18], 0xc7c6f1fd
mov dword [esp + 0x4c], 0xfffffffb
mov dword [esp + 0x30], 0xd639b6af
mov dword [esp + 0x10], ebx
jmp 0x10016f97
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x68], 0xfffffff6
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x10016f87
mov dword [esp + 0x10], ebx
jmp 0x10016fb7
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x78]
mov dword [eax + ecx*4], 2
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 1
jl 0x10016fa4
mov eax, dword [esp + 0x78]
mov dword [eax], ebx
push dword [esp + 0x60]
movdqa xmm0, xmmword [0x10006680]
lea eax, [esp + 0x15c]
push eax
lea eax, [esp + 0x150]
mov dword [esp + 0x1c], 1
push eax
mov dword [esp + 0x30], 0xfffffff6
lea ecx, [esp + 0xc8]
push ebx
movdqu xmmword [esp + 0x158], xmm0
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
call fcn.100154eb
push 2
mov byte [esp + 0x170], 7
mov dword [esp + 0x18], ebx
pop edx
jmp 0x10017255
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], 7
mov dword [esp + 0x20], edx
cmp dword [esp + 0x20], ebx
jl 0x10017251
mov eax, 0x79c4185a
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ebx
jmp 0x1001709f
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + eax*4 + 0x68]
mov eax, dword [esp + 0x20]
mov dword [esp + eax*4 + 0x68], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x24], ecx
mov eax, dword [eax]
cmp dword [esp + eax*4 + 0x68], ebx
je 0x10017095
imul eax, dword [esp + 0x68], 0xffff
test eax, eax
je 0x10017095
xor eax, eax
inc eax
jmp 0x10017097
mov eax, ebx
mov dword [esp + 0x18], eax
inc dword [esp + 0x58]
cmp dword [esp + 0x58], edx
jle 0x10017064
mov dword [esp + 0x18], 0xf
jmp 0x1001723c
mov dword [esp + 0x10], 0xe1a8
mov dword [esp + 0x2c], 0x2967684a
mov dword [esp + 0x34], 0x83de37d6
mov dword [esp + 0x24], edx
cmp dword [esp + 0x24], ebx
jl 0x10017230
push dword [esp + 0x60]
lea eax, [esp + 0x14c]
mov dword [esp + 0x38], 0x5f4b3f4b
push eax
lea eax, [esp + 0x140]
mov dword [esp + 0xac], ebx
push eax
xorps xmm0, xmm0
mov dword [esp + 0xb4], ebx
push ebx
lea ecx, [esp + 0xb4]
mov dword [esp + 0xbc], ebx
movdqu xmmword [esp + 0x148], xmm0
call fcn.100154eb
mov byte [esp + 0x16c], 8
mov eax, dword [esp + 0x24]
cmp dword [esp + eax*4 + 0x68], ebx
je 0x10017165
mov eax, dword [esp + 0x70]
xor edx, edx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + eax*4 + 0x68]
mov eax, dword [esp + 0x54]
sub eax, 0x512d
cmp ecx, eax
mov eax, dword [esp + 0x28]
setne dl
add eax, edx
je 0x10017165
xor eax, eax
inc eax
jmp 0x10017167
mov eax, ebx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x54]
jne 0x100171a8
cmp dword [esp + 0x10], ebx
jne 0x100171a8
push 0x490e
push 0x7b24
push 0x578d
lea eax, [esp + 0xa8]
mov dword [esp + 0xa8], 0xfffc
push ebx
push eax
call fcn.1001eea8
add esp, 0x14
jmp 0x1001720f
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x58], eax
jg 0x100171f8
mov ecx, dword [esp + 0x58]
xor edx, edx
mov eax, dword [esp + 0x20]
cmp eax, ecx
mov eax, dword [esp + 0x58]
setne dl
xor ecx, ecx
cmp edx, eax
sete cl
mov dword [esp + 0x34], ecx
xor ecx, ecx
mov edx, dword [esp + 0x34]
imul edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
cmp eax, edx
setne cl
cmp ecx, 0xfff7
jbe 0x100171f8
mov ecx, ebx
jmp 0x100171fb
xor ecx, ecx
inc ecx
mov eax, dword [esp + 0xbc]
add ecx, 0x3f0e
cmp dword [esp + 0x58], ebx
mov dword [eax + 0xc], ecx
lea ecx, [esp + 0xa4]
mov byte [esp + 0x16c], 7
call fcn.100147f2
dec dword [esp + 0x24]
jns 0x100170d8
push 2
pop edx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
dec dword [esp + 0x18]
cmp dword [esp + 0x18], 8
je 0x100170b2
dec dword [esp + 0x20]
jns 0x10017049
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edx
jle 0x1001702f
lea ecx, [esp + 0xbc]
mov byte [esp + 0x16c], 6
call fcn.100147f2
mov eax, dword [esp + 0x78]
inc dword [eax]
cmp dword [eax], 2
jle 0x10016fc4
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov eax, dword [esp + 0x70]
mov eax, dword [esp + 0x4c]
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
cmp eax, 0x72f548f9
mov eax, dword [esp + 0x78]
setge cl
add ecx, dword [eax]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x78]
or dword [esp + 0x16c], 0xffffffff
call fcn.100147f2
mov edx, dword [esp + 0x48]
movsx eax, byte [esi]
imul ecx, dword [edx], 0xa
add ecx, 0xffffffd0
add eax, ecx
inc esi
mov dword [edx], eax
jmp 0x10016d54
mov dword [esp + 0x14], 7
mov dword [esp + 0x14], ebx
jmp 0x100172f3
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x124], 0x3df7
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 2
jl 0x100172e0
mov dword [esp + 0x14], ebx
jmp 0x10017311
mov eax, dword [esp + 0x14]
cmp dword [esp + eax*4 + 0x124], ebx
jne 0x10017318
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 1
jle 0x10017300
mov eax, dword [esp + 0x48]
mov dword [eax], ebx
jmp 0x100167eb
mov dword [esp + 0x20], 0x42c70bb7
mov dword [esp + 0x14], ebx
jmp 0x10017344
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x114], 0xffffffff
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jl 0x10017331
mov dword [esp + 0x20], 2
cmp dword [esp + 0x20], ebx
jl 0x1001736c
mov eax, dword [esp + 0x20]
cmp dword [esp + eax*4 + 0x114], ebx
jne 0x1001736c
dec dword [esp + 0x20]
jns 0x10017359
mov ecx, dword [esp + 0x118]
xor edx, edx
mov eax, dword [esp + 0x20]
cmp ecx, eax
lea eax, [esp + 0x3a]
setne dl
mov dword [esp + 0x20], edx
push ebx
mov dword [esp + 0x50], 0xbaf43b7c
mov byte [esp + 0x3e], bl
push eax
call fcn.100195e7
mov byte [esp + 0x27], bl
cmp byte [esp + 0x27], 0
pop ecx
pop ecx
je 0x100173b8
push 0x3e6a
mov edx, 0x3464
mov cl, 1
call fcn.10015db2
pop ecx
mov al, 1
mov ecx, dword [esp + 0x164]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret