Function at 0x1003a919
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a800
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1003ae6d
lea eax, [ebp + 0xc]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x1003a9a6
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
test eax, eax
je 0x1003a9a1
push 0
push 0x5b9
push 0x17d1
push 0
push 0x11d6
push 0x1c4
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x1003ae6b
mov dword [ebp - 0x54], 0x233d
cmp dword [ebp - 0x54], 0xf14
jge 0x1003ae5e
mov dword [ebp - 0xac], 6
lea eax, [ebp - 0x48]
push eax
push 0x100079f8
call fcn.10050dfb
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
call fcn.10023f8e
and dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10023f8e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.10023f8e
mov byte [ebp - 4], 2
and dword [ebp - 0x3c], 0
jmp 0x1003aa05
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 6
jge 0x1003aa36
lea eax, [ebp - 0x90]
push eax
push 0x100079f8
call fcn.10050dfb
pop ecx
pop ecx
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x28]
call fcn.10023fa3
jmp 0x1003a9fe
cmp dword [ebp - 0x48], 1
jle 0x1003aa74
and dword [ebp - 0x44], 0
jmp 0x1003aa49
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 6
jge 0x1003aa74
lea eax, [ebp - 0x5c]
push eax
push 0x100079f8
call fcn.10050dfb
pop ecx
pop ecx
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x30]
call fcn.10023fa3
jmp 0x1003aa42
cmp dword [ebp - 0x48], 2
jle 0x1003aab8
and dword [ebp - 0x40], 0
jmp 0x1003aa87
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 6
jge 0x1003aab8
lea eax, [ebp - 0x98]
push eax
push 0x100079f8
call fcn.10050dfb
pop ecx
pop ecx
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x20]
call fcn.10023fa3
jmp 0x1003aa80
and dword [ebp - 0x38], 0
mov dword [ebp - 0x10], 1
jmp 0x1003aacc
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x61
jge 0x1003ae2b
cmp dword [ebp - 0x10], 0xa
jge 0x1003ab36
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x28]
call fcn.10023fea
test eax, eax
jne 0x1003ab24
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x30]
call fcn.10023fea
test eax, eax
jne 0x1003ab24
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x20]
call fcn.10023fea
test eax, eax
je 0x1003ab2c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
jmp 0x1003ab31
jmp 0x1003ae2b
jmp 0x1003ae26
cmp dword [ebp - 0x10], 0x61
jge 0x1003acc6
mov eax, dword [ebp - 0x10]
cdq
push 0xa
pop ecx
idiv ecx
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x28]
call fcn.10023fea
test eax, eax
je 0x1003ab82
mov eax, dword [ebp - 0x10]
cdq
push 0xa
pop ecx
idiv ecx
mov dword [ebp - 0x74], edx
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x30]
call fcn.10023fea
test eax, eax
jne 0x1003acb4
mov eax, dword [ebp - 0x10]
cdq
push 0xa
pop ecx
idiv ecx
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x30]
call fcn.10023fea
test eax, eax
je 0x1003abc4
mov eax, dword [ebp - 0x10]
cdq
push 0xa
pop ecx
idiv ecx
mov dword [ebp - 0x7c], edx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x28]
call fcn.10023fea
test eax, eax
jne 0x1003acb4
mov eax, dword [ebp - 0x10]
cdq
push 0xa
pop ecx
idiv ecx
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x28]
call fcn.10023fea
test eax, eax
je 0x1003ac0c
mov eax, dword [ebp - 0x10]
cdq
push 0xa
pop ecx
idiv ecx
mov dword [ebp - 0x84], edx
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x20]
call fcn.10023fea
test eax, eax
jne 0x1003acb4
mov eax, dword [ebp - 0x10]
cdq
push 0xa
pop ecx
idiv ecx
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x20]
call fcn.10023fea
test eax, eax
je 0x1003ac44
mov eax, dword [ebp - 0x10]
cdq
push 0xa
pop ecx
idiv ecx
mov dword [ebp - 0x58], edx
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.10023fea
test eax, eax
jne 0x1003acb4
mov eax, dword [ebp - 0x10]
cdq
push 0xa
pop ecx
idiv ecx
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x30]
call fcn.10023fea
test eax, eax
je 0x1003ac7c
mov eax, dword [ebp - 0x10]
cdq
push 0xa
pop ecx
idiv ecx
mov dword [ebp - 0x68], edx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x20]
call fcn.10023fea
test eax, eax
jne 0x1003acb4
mov eax, dword [ebp - 0x10]
cdq
push 0xa
pop ecx
idiv ecx
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x20]
call fcn.10023fea
test eax, eax
je 0x1003acbc
mov eax, dword [ebp - 0x10]
cdq
push 0xa
pop ecx
idiv ecx
mov dword [ebp - 0x78], edx
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x30]
call fcn.10023fea
test eax, eax
je 0x1003acbc
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
jmp 0x1003acc1
jmp 0x1003ae2b
jmp 0x1003ae26
mov eax, dword [ebp - 0x10]
cdq
push 0xa
pop ecx
idiv ecx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
cdq
push 0xa
pop ecx
idiv ecx
cdq
push 0xa
pop ecx
idiv ecx
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
cdq
push 0x61
pop ecx
idiv ecx
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x28]
call fcn.10023fea
test eax, eax
je 0x1003ad24
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
call fcn.10023fea
test eax, eax
je 0x1003ad24
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x20]
call fcn.10023fea
test eax, eax
jne 0x1003ae1c
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x28]
call fcn.10023fea
test eax, eax
je 0x1003ad58
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
call fcn.10023fea
test eax, eax
je 0x1003ad58
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.10023fea
test eax, eax
jne 0x1003ae1c
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.10023fea
test eax, eax
je 0x1003ad8c
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x30]
call fcn.10023fea
test eax, eax
je 0x1003ad8c
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x20]
call fcn.10023fea
test eax, eax
jne 0x1003ae1c
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.10023fea
test eax, eax
je 0x1003adbc
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
call fcn.10023fea
test eax, eax
je 0x1003adbc
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
call fcn.10023fea
test eax, eax
jne 0x1003ae1c
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x28]
call fcn.10023fea
test eax, eax
je 0x1003adec
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x30]
call fcn.10023fea
test eax, eax
je 0x1003adec
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call fcn.10023fea
test eax, eax
jne 0x1003ae1c
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x28]
call fcn.10023fea
test eax, eax
je 0x1003ae24
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
call fcn.10023fea
test eax, eax
je 0x1003ae24
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
call fcn.10023fea
test eax, eax
je 0x1003ae24
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
jmp 0x1003ae26
jmp 0x1003ae2b
jmp 0x1003aac5
push dword [ebp - 0x38]
push 0x100079ec
call fcn.1005118c
pop ecx
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.10023fc1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.10023fc1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10023fc1
push 0xfe
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x1003ae8a
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x80], eax
push dword [ebp - 0x80]
push 0x34f6
push 0xad9
push 1
call fcn.10025e19
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret