Function at 0x1001597f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062e1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10015d09
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x10015ce6
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x64], 0x2575
cmp dword [ebp - 0x64], 0x8b7
jge 0x10015cd4
lea eax, [ebp - 0x18]
push eax
push 0x100077c4
call fcn.10049deb
pop ecx
pop ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x50], 0
je 0x10015cd4
lea ecx, [ebp - 0x34]
call fcn.1000ac9b
and dword [ebp - 4], 0
lea edx, [ebp - 0x34]
mov ecx, 0x10653dd0
call fcn.1002c9ed
mov byte [ebp - 0xd], 0
push 0
lea ecx, [ebp - 0x34]
call fcn.1000c755
movsx eax, byte [eax]
cmp eax, 0x52
jne 0x10015aa6
push 1
lea ecx, [ebp - 0x34]
call fcn.1000c755
movsx eax, byte [eax]
cmp eax, 0x30
jl 0x10015aa6
push 1
lea ecx, [ebp - 0x34]
call fcn.1000c755
movsx eax, byte [eax]
cmp eax, 0x39
jg 0x10015aa6
push 0
push 0x43
lea ecx, [ebp - 0x34]
call fcn.1002a885
cmp eax, 1
jbe 0x10015aa6
push 0
push 0x43
lea ecx, [ebp - 0x34]
call fcn.1002a885
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.1000b49f
dec eax
cmp esi, eax
jae 0x10015aa6
mov byte [ebp - 0xd], 1
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x10015b84
push 0
push 0x43
lea ecx, [ebp - 0x34]
call fcn.1002a885
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
dec eax
push eax
push 1
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x34]
call fcn.1002a8fe
mov byte [ebp - 4], 1
push dword [0x1000787c]
mov eax, dword [ebp - 0x1c]
inc eax
push eax
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x34]
call fcn.1002a8fe
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xcc]
call fcn.1000a93d
push eax
call fcn.1004c676
pop ecx
mov dword [ebp - 0x68], eax
push dword [ebp - 0x68]
lea eax, [ebp - 0xfc]
push eax
call fcn.100158b2
pop ecx
pop ecx
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 3
push fcn.1000e758
mov edx, dword [ebp - 0x70]
mov ecx, 0x10653d18
call fcn.1000e5bb
lea edx, [ebp - 0xe4]
mov ecx, eax
call fcn.1000e5bb
mov ecx, eax
call fcn.1000ab4c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xfc]
call fcn.1000a933
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xcc]
call fcn.1000a933
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe4]
call fcn.1000a933
jmp 0x10015cc3
push 0x100076bd
lea ecx, [ebp - 0xb4]
call fcn.1000a8bb
mov byte [ebp - 4], 4
push 0x100076bd
lea ecx, [ebp - 0x9c]
call fcn.1000a8bb
mov byte [ebp - 4], 5
and dword [ebp - 0x14], 0
jmp 0x10015bb9
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x34]
call fcn.1000b49f
cmp dword [ebp - 0x14], eax
jae 0x10015c45
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
call fcn.1000c755
movsx eax, byte [eax]
cmp eax, 0x30
jl 0x10015c24
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
call fcn.1000c755
movsx eax, byte [eax]
cmp eax, 0x39
jg 0x10015c24
push dword [0x1000787c]
push dword [ebp - 0x14]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x34]
call fcn.1002a8fe
mov dword [ebp - 0x60], eax
push dword [ebp - 0x60]
lea ecx, [ebp - 0x9c]
call fcn.1002a860
lea ecx, [ebp - 0x114]
call fcn.1000a933
jmp 0x10015c45
push dword [ebp - 0x14]
lea ecx, [ebp - 0x34]
call fcn.1000c755
mov al, byte [eax]
movzx eax, al
push eax
lea ecx, [ebp - 0xb4]
call fcn.1000c693
jmp 0x10015bb2
push fcn.1000e758
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x84], esp
lea eax, [ebp - 0xb4]
push eax
call fcn.1000a895
call fcn.1001582e
add esp, 0x18
mov dword [ebp - 0x38], eax
push dword [ebp - 0x38]
mov edx, 0x100078c8
mov ecx, 0x10653d18
call fcn.1002c75b
lea edx, [ebp - 0x9c]
mov ecx, eax
call fcn.1000e5bb
mov edx, 0x10007880
mov ecx, eax
call fcn.1002c75b
mov ecx, eax
call fcn.1002ad7f
mov ecx, eax
call fcn.1000ab4c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call fcn.1000a933
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.1000a933
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.1000a933
jmp 0x10015a0c
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
movzx eax, word [eax]
sar eax, 0xc
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], eax
jmp 0x10015d07
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x10015d07
push 0x252
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x10015d2a
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x54], eax
push dword [ebp - 0x54]
push 0x3517
push 0
push dword [ebp - 0x5c]
call fcn.100225a0
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret