Function at 0x824da0
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x48
mov dword [esp], edx
mov esi, ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x64]
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov edx, edi
mov eax, dword [0xbcbae0]
xor eax, esp
mov dword [esp + 0x44], eax
mov ecx, dword [ecx]
mov eax, dword [esi + 8]
mov dword [esp + 8], eax
call fcn.007c5030
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], edi
movsx ebx, word [edi + 0x2a]
mov edi, dword [esi + 0x28]
mov edx, 0x64
mov eax, dword [esp]
mov eax, dword [eax + 0x34]
mov dword [esp + 4], eax
lea eax, [edi + 1]
mov ecx, dword [esp + 8]
mov dword [esi + 0x28], eax
lea eax, [ebx + 2]
mov dword [esp + 0x1c], eax
push eax
mov dword [esp + 0x1c], edi
push edi
call fcn.007c57e0
add esp, 8
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x10], esi
mov ecx, esi
mov edx, dword [esp]
lea edi, [eax + ebx + 4]
mov ebx, eax
mov dword [esi + 0x2c], edi
push 0
push 4
push 0
push 0
push dword [esp + 0x1c]
call fcn.0080a3b0
add esp, 0x14
test eax, eax
je 0x8250e6
mov dword [esp], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x20]
cmp word [edi + 0x2a], 0
jle 0x824eda
mov eax, dword [esp]
xor esi, esi
lea ebx, [eax + 3]
mov ecx, dword [ebp + esi*4]
lea eax, [ebx + esi]
test ecx, ecx
js 0x824ea8
mov edx, dword [esp + 0x24]
lea ecx, [ecx + ecx*4]
mov edx, dword [edx + ecx*4 + 4]
mov ecx, dword [esp + 0x10]
push eax
call fcn.007ebed0
add esp, 4
jmp 0x824ed1
mov edi, dword [esp + 8]
mov edx, 0xa6
mov ecx, edi
push eax
push esi
push dword [esp + 0xc]
call fcn.007c5800
add esp, 0xc
mov ecx, edi
mov edi, dword [esp + 0x20]
mov edx, 1
call fcn.00782720
movsx eax, word [edi + 0x2a]
inc esi
cmp esi, eax
jl 0x824e83
mov ebx, dword [esp]
cmp byte [edi + 0x24], 0
lea ebp, [ebx + 1]
js 0x824f30
mov edi, dword [esp + 8]
mov edx, 0x7f
mov ecx, edi
push ebp
mov esi, dword [esp + 8]
push esi
call fcn.007c57e0
add esp, 8
mov edx, dword [esp + 0x30]
lea eax, [ebx + 2]
mov ebx, dword [esp + 0x18]
test edx, edx
je 0x824f1d
mov ecx, dword [esp + 0x10]
push eax
call fcn.007ebed0
add esp, 4
jmp 0x824f72
mov ecx, edi
mov edx, 0x7f
push eax
push esi
call fcn.007c57e0
add esp, 8
jmp 0x824f72
mov ecx, edi
call fcn.00787030
mov eax, dword [eax + 4]
mov edi, dword [esp + 8]
mov edx, 0xa6
movsx esi, word [eax]
mov ecx, edi
push ebp
push esi
push dword [esp + 0xc]
call fcn.007c5800
add esp, 0xc
lea eax, [ebx + 2]
lea esi, [ebx + esi + 3]
mov ecx, edi
mov edx, 0x4e
push eax
push esi
call fcn.007c57e0
add esp, 8
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0xc]
lea edx, [esp + 0x3c]
mov ecx, esi
call fcn.00821ab0
test eax, eax
mov dword [esp + 0x24], eax
je 0x824fac
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.007f3b50
mov ecx, edi
mov edx, 0x74
push dword [esp + 4]
call fcn.007edd80
add esp, 4
jmp 0x825061
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp]
lea ebx, [ecx + eax + 3]
mov dword [esp], ebx
mov ecx, dword [esp + 0x10]
call fcn.00804e50
mov ecx, edi
mov edx, 0x5b
push ebx
push dword [esp + 0x20]
mov dword [esp + 0xc], ebp
push ebp
call fcn.007c5800
add esp, 0xc
mov ebp, dword [esp + 0x28]
mov ecx, edi
mov edx, 0x78
push ebp
mov ebx, dword [esp + 0x1c]
push ebx
call fcn.007c57e0
add esp, 8
mov ecx, edi
mov edx, 0x79
push ebp
push dword [esp + 4]
push ebx
call fcn.007c5800
add esp, 0xc
mov ecx, esi
call fcn.0080c620
mov ebp, ebx
mov ecx, edi
mov edx, 0x25
push ebx
call fcn.007edd80
add esp, 4
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jg 0x825037
mov ebx, ebp
mov ebp, dword [esp + 4]
jmp 0x825061
mov edi, ebp
mov ebp, dword [esp + 4]
xor esi, esi
mov ecx, dword [esp + 8]
lea eax, [esi + ebp]
mov edx, 0x59
push eax
push esi
push edi
call fcn.007c5800
add esp, 0xc
inc esi
cmp esi, ebx
jne 0x82503f
mov ebx, edi
mov edi, dword [esp + 8]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.00821c30
mov ecx, edi
mov edx, 0xa
push 0xfffffffffffffff4
push dword [esp + 0x38]
push ebp
push dword [esp + 0x28]
push 0
call fcn.007ebd50
add esp, 0x14
mov ecx, dword [esp + 0x38]
mov eax, 2
cmp ecx, 0xb
cmovne eax, ecx
mov ecx, edi
movzx edx, ax
call fcn.00782720
mov ecx, esi
call fcn.007f0b40
cmp dword [esp + 0x24], 0
jne 0x8250f9
mov esi, dword [esp + 0x14]
mov ecx, edi
mov edx, 5
lea eax, [esi + 1]
push eax
push ebx
call fcn.007c57e0
add esp, 8
mov ecx, edi
mov edx, esi
call fcn.007ebd40
mov ecx, edi
mov edx, 0x74
push 0
push ebx
call fcn.007c57e0
add esp, 8
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00980459
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00980459
mov ecx, dword [esp + 0xc]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.0080c620