Function at 0x100470ce
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
push esi
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100471b3
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x10047188
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x44], eax
push dword [ebp - 0x44]
mov eax, dword [ebp - 0x84]
push dword [eax]
mov eax, dword [ebp - 0x4c]
push dword [eax]
lea eax, [ebp - 0xac]
push eax
call fcn.10044dbe
add esp, 0x10
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x54]
call fcn.1004ae31
lea ecx, [ebp - 0xac]
call fcn.100218d4
jmp 0x100471ae
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x100471ae
push 0x16cd
push 0
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x10047324
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x48], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x10047229
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x10047224
push 0x77c7
push 0x2a55
push 0x4cd5
push 0x46f8
push 0x470b
push 0x4bdd
push 0
push 0x31fd
call fcn.10049e0f
add esp, 0x20
jmp 0x10047324
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
push 0
mov ecx, dword [ebp - 4]
call fcn.10021a50
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x1004727b
mov dword [ebp - 0xc], 1
jmp 0x1004727f
and dword [ebp - 0xc], 0
push 2
mov ecx, dword [ebp - 4]
call fcn.10021a50
push 1
mov ecx, dword [ebp - 4]
call fcn.10021a50
mov esi, eax
push 1
mov ecx, dword [ebp - 4]
call fcn.10021a50
mov ecx, dword [esi]
cmp ecx, dword [eax]
jle 0x100472ae
mov dword [ebp - 0x14], 1
jmp 0x100472b2
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x27f7
jge 0x100472d1
mov dword [ebp - 0x10], 1
jmp 0x100472d5
and dword [ebp - 0x10], 0
push 1
mov ecx, dword [ebp - 4]
call fcn.10021a50
mov esi, dword [eax]
imul esi, dword [ebp - 0xc]
push 1
mov ecx, dword [ebp - 4]
call fcn.10021a50
mov ecx, dword [ebp - 0x10]
imul ecx, dword [eax]
imul esi, ecx
imul esi, esi, 0x9193
push 1
mov ecx, dword [ebp - 4]
call fcn.10021a50
cmp esi, dword [eax]
jge 0x10047315
mov dword [ebp - 0x18], 1
jmp 0x10047319
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret