Function at 0x8305f0
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 [0xbd33e0]
xor eax, esp
mov dword [esp + 0x44], eax
mov ecx, dword [ecx]
mov eax, dword [esi + 8]
mov dword [esp + 8], eax
call fcn.007d0920
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.007d10d0
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.00815bf0
add esp, 0x14
test eax, eax
je 0x830936
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 0x83072a
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 0x8306f8
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.007f7750
add esp, 4
jmp 0x830721
mov edi, dword [esp + 8]
mov edx, 0xa6
mov ecx, edi
push eax
push esi
push dword [esp + 0xc]
call fcn.007d10f0
add esp, 0xc
mov ecx, edi
mov edi, dword [esp + 0x20]
mov edx, 1
call fcn.0078e010
movsx eax, word [edi + 0x2a]
inc esi
cmp esi, eax
jl 0x8306d3
mov ebx, dword [esp]
cmp byte [edi + 0x24], 0
lea ebp, [ebx + 1]
js 0x830780
mov edi, dword [esp + 8]
mov edx, 0x7f
mov ecx, edi
push ebp
mov esi, dword [esp + 8]
push esi
call fcn.007d10d0
add esp, 8
mov edx, dword [esp + 0x30]
lea eax, [ebx + 2]
mov ebx, dword [esp + 0x18]
test edx, edx
je 0x83076d
mov ecx, dword [esp + 0x10]
push eax
call fcn.007f7750
add esp, 4
jmp 0x8307c2
mov ecx, edi
mov edx, 0x7f
push eax
push esi
call fcn.007d10d0
add esp, 8
jmp 0x8307c2
mov ecx, edi
call fcn.00792930
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.007d10f0
add esp, 0xc
lea eax, [ebx + 2]
lea esi, [ebx + esi + 3]
mov ecx, edi
mov edx, 0x4e
push eax
push esi
call fcn.007d10d0
add esp, 8
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0xc]
lea edx, [esp + 0x3c]
mov ecx, esi
call fcn.0082d2f0
test eax, eax
mov dword [esp + 0x24], eax
je 0x8307fc
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.007ff3d0
mov ecx, edi
mov edx, 0x74
push dword [esp + 4]
call fcn.007f9600
add esp, 4
jmp 0x8308b1
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.008106b0
mov ecx, edi
mov edx, 0x5b
push ebx
push dword [esp + 0x20]
mov dword [esp + 0xc], ebp
push ebp
call fcn.007d10f0
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.007d10d0
add esp, 8
mov ecx, edi
mov edx, 0x79
push ebp
push dword [esp + 4]
push ebx
call fcn.007d10f0
add esp, 0xc
mov ecx, esi
call fcn.00817e60
mov ebp, ebx
mov ecx, edi
mov edx, 0x25
push ebx
call fcn.007f9600
add esp, 4
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jg 0x830887
mov ebx, ebp
mov ebp, dword [esp + 4]
jmp 0x8308b1
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.007d10f0
add esp, 0xc
inc esi
cmp esi, ebx
jne 0x83088f
mov ebx, edi
mov edi, dword [esp + 8]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov ecx, esi
call fcn.0082d470
mov ecx, edi
mov edx, 0xa
push 0xfffffffffffffff4
push dword [esp + 0x38]
push ebp
push dword [esp + 0x28]
push 0
call fcn.007f75d0
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.0078e010
mov ecx, esi
call fcn.007fc3c0
cmp dword [esp + 0x24], 0
jne 0x830949
mov esi, dword [esp + 0x14]
mov ecx, edi
mov edx, 5
lea eax, [esi + 1]
push eax
push ebx
call fcn.007d10d0
add esp, 8
mov ecx, edi
mov edx, esi
call fcn.007f75c0
mov ecx, edi
mov edx, 0x74
push 0
push ebx
call fcn.007d10d0
add esp, 8
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00989fe9
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00989fe9
mov ecx, dword [esp + 0xc]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00817e60