Function at 0x50c840
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002202d
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100300a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 8]
push esi
mov dword [ebp - 0x14], esi
call dword [0x100230d8]
mov byte [ebp - 0x10], 1
push edi
push 0
mov dword [ebp - 4], 0
call fcn.0050c480
add esp, 8
test al, al
je 0x50ca2a
push 0x10023ca8
call fcn.0050cc90
mov ecx, dword [edi + 4]
add esp, 4
mov dword [edi + 4], eax
test ecx, ecx
je 0x50c8b3
push ecx
call dword [0x100230e4]
push edi
push 0
call fcn.0050c480
add esp, 8
test al, al
jne 0x50caeb
mov esi, dword [0x10023114]
push 0x10023cc4
push dword [edi + 4]
call esi
push 0x10023cd8
push dword [edi + 4]
mov dword [edi + 0x24], eax
call esi
push 0x10023cec
push dword [edi + 4]
mov dword [edi + 0x28], eax
call esi
push 0x10023d00
push dword [edi + 4]
mov dword [edi + 0x44], eax
call esi
push 0x10023d14
push dword [edi + 4]
mov dword [edi + 0x70], eax
call esi
push 0x10023d30
push dword [edi + 4]
mov dword [edi + 0x88], eax
call esi
push 0x10023d44
push dword [edi + 4]
mov dword [edi + 0x2c], eax
call esi
push 0x10023d58
push dword [edi + 4]
mov dword [edi + 0x30], eax
call esi
push 0x10023d78
push dword [edi + 4]
mov dword [edi + 0x34], eax
call esi
push 0x10023d94
push dword [edi + 4]
mov dword [edi + 0x38], eax
call esi
push 0x10023db0
push dword [edi + 4]
mov dword [edi + 0x3c], eax
call esi
push 0x10023dcc
push dword [edi + 4]
mov dword [edi + 0x40], eax
call esi
push 0x10023dd4
push dword [edi + 4]
mov dword [edi + 0x48], eax
call esi
push 0x10023de4
push dword [edi + 4]
mov dword [edi + 0x68], eax
call esi
push 0x10023df8
push dword [edi + 4]
mov dword [edi + 0x6c], eax
call esi
push 0x10023e08
push dword [edi + 4]
mov dword [edi + 0x4c], eax
call esi
push 0x10023e18
push dword [edi + 4]
mov dword [edi + 0x50], eax
call esi
push 0x10023e2c
push dword [edi + 4]
mov dword [edi + 0x54], eax
call esi
push 0x10023e40
push dword [edi + 4]
mov dword [edi + 0x58], eax
call esi
push 0x10023e50
push dword [edi + 4]
mov dword [edi + 0x5c], eax
call esi
mov dword [edi + 0x60], eax
push 0x10023e60
push dword [edi + 4]
call esi
push 0x10023e78
push dword [edi + 4]
mov dword [edi + 0x64], eax
call esi
push 0x10023e80
push dword [edi + 4]
mov dword [edi + 0x74], eax
call esi
push 0x10023e8c
push dword [edi + 4]
mov dword [edi + 0x78], eax
call esi
push 0x10023e98
push dword [edi + 4]
mov dword [edi + 0x7c], eax
call esi
push 0x10023eac
push dword [edi + 4]
mov dword [edi + 0x80], eax
call esi
mov dword [edi + 0x84], eax
lea esi, [edi + 8]
cmp dword [edi + 0x24], 0
je 0x50caeb
cmp dword [edi + 0x28], 0
je 0x50caeb
cmp dword [edi + 0x2c], 0
je 0x50caeb
cmp dword [edi + 0x30], 0
je 0x50caeb
cmp dword [edi + 0x34], 0
je 0x50caeb
cmp dword [edi + 0x38], 0
je 0x50caeb
cmp dword [edi + 0x3c], 0
je 0x50caeb
cmp dword [edi + 0x40], 0
je 0x50caeb
cmp dword [edi + 0x44], 0
je 0x50caeb
cmp dword [edi + 0x48], 0
je 0x50caeb
cmp dword [edi + 0x4c], 0
je 0x50caeb
cmp dword [edi + 0x50], 0
je 0x50caeb
cmp dword [edi + 0x54], 0
je 0x50caeb
cmp dword [edi + 0x58], 0
je 0x50caeb
cmp dword [edi + 0x5c], 0
je 0x50caeb
cmp dword [edi + 0x60], 0
je 0x50caeb
cmp dword [edi + 0x64], 0
je 0x50caeb
cmp dword [edi + 0x68], 0
je 0x50caeb
cmp dword [edi + 0x6c], 0
je 0x50caeb
cmp dword [edi + 0x70], 0
je 0x50caeb
cmp dword [edi + 0x80], 0
je 0x50caeb
cmp dword [edi + 0x74], 0
je 0x50caeb
cmp dword [edi + 0x78], 0
je 0x50caeb
cmp dword [edi + 0x7c], 0
je 0x50caeb
cmp dword [edi + 0x84], 0
je 0x50caeb
cmp dword [edi + 0x88], 0
je 0x50caeb
mov bl, 1
jmp 0x50caed
xor bl, bl
push esi
call dword [0x100230dc]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret