Function at 0x81da90
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [0xbcbae0]
mov esi, dword [esp + 0x54]
mov ebp, dword [esp + 0x48]
mov ebx, edx
xor eax, esp
mov dword [esp + 0x30], eax
mov edi, dword [edx]
mov al, byte [edi]
cmp al, 0x35
je 0x81dabf
mov edx, dword [ecx + 8]
cmp al, 0x32
je 0x81dad2
cmp al, 0x2d
jne 0x81dae9
mov edx, dword [edi + 0x10]
push esi
call fcn.007ec3e0
add esp, 4
mov esi, eax
jmp 0x81de35
mov ecx, edx
mov edx, 0x48
push esi
push 0
call fcn.007c57e0
add esp, 8
jmp 0x81de35
mov eax, dword [esp + 0x50]
mov dword [esp + 0x14], ecx
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x48]
test byte [eax + 0x25], 4
mov dword [esp], eax
je 0x81db0b
mov edx, dword [esp + 0x4c]
jmp 0x81db33
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x81db18
mov edx, dword [esp + 0x4c]
jmp 0x81db33
mov eax, dword [eax + 0x1c]
mov edx, dword [esp + 0x4c]
cmp byte [eax + edx], 0
je 0x81db33
xor eax, eax
cmp dword [esp + 0x50], 0
sete al
mov dword [esp + 0xc], eax
test edx, edx
jle 0x81db57
mov eax, dword [esp]
xor ecx, ecx
mov eax, dword [eax + 0x30]
mov edx, dword [eax + ecx*4]
test edx, edx
je 0x81db4e
cmp dword [edx], edi
je 0x81de35
mov edx, dword [esp + 0x4c]
inc ecx
cmp ecx, edx
jl 0x81db3f
mov eax, dword [esp]
xor ebp, ebp
mov dword [esp + 0x20], ebx
movzx eax, word [eax + 0x28]
cmp eax, edx
jle 0x81db85
mov ecx, dword [esp]
mov edx, dword [esp + 0x4c]
xor ebp, ebp
mov ecx, dword [ecx + 0x30]
mov esi, dword [ecx + edx*4]
xor ebx, ebx
cmp dword [esi], edi
sete bl
inc edx
add ebp, ebx
cmp edx, eax
jne 0x81db74
mov dword [esp + 0x2c], 0
test byte [edi + 5], 8
je 0x81db9e
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
jne 0x81dbd2
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
mov edx, edi
push eax
push 0
push 0
push 4
call fcn.007f25d0
add esp, 0x10
mov esi, dword [esp + 0x2c]
mov ebx, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
jmp 0x81dc73
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esi]
mov ecx, esi
push edi
push dword [esp + 4]
call fcn.0081e5e0
mov ecx, ebx
add esp, 8
cmp byte [ebx + 0x51], 0
mov edi, eax
je 0x81dc18
mov esi, dword [esp + 0x20]
mov dword [esp + 0x10], 0
mov ebx, 5
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
jmp 0x81dc66
mov dword [esp + 0x28], ecx
mov ecx, dword [esi]
lea edx, [ebp*4]
push 0
call fcn.0077efb0
add esp, 4
mov ebx, eax
lea eax, [esp + 0x2c]
mov ecx, esi
mov edx, edi
push eax
push ebx
push 0
push 4
call fcn.007f25d0
add esp, 0x10
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov ebx, eax
mov ecx, dword [esi]
mov dword [esp + 0x10], edx
mov dword [ecx + 0x1c], edx
mov ecx, dword [esp + 0x28]
mov edx, edi
call fcn.007c00e0
mov edi, dword [esi]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
xor ecx, ecx
test eax, eax
sete cl
cmp ebx, 4
cmovne ecx, eax
xor eax, eax
test ecx, ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 4]
sete al
lea edx, [eax*4 + 0x21]
push 0
mov dword [esp + 0x14], esi
push esi
call fcn.007c57e0
add esp, 8
mov eax, dword [esp]
mov edx, dword [esp + 0x48]
or byte [eax + 0x25], 8
mov ecx, edx
mov esi, dword [edx + 0x40]
test esi, esi
jne 0x81dcd0
mov esi, ecx
mov ecx, dword [esp + 0x14]
call fcn.007efdc0
mov dword [esi + 0x10], eax
mov ecx, esi
mov esi, dword [esi + 0x40]
add ebp, esi
mov dword [ecx + 0x40], ebp
shl ebp, 2
lea eax, [ebp + ebp*4]
mov edx, dword [ecx + 0x44]
mov ebp, ecx
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
push 0
push eax
call fcn.007a4020
add esp, 8
test eax, eax
mov dword [ebp + 0x44], eax
je 0x81de11
mov ecx, dword [esp]
mov dword [esp + 0x28], ebx
movzx ebx, word [ecx + 0x28]
cmp ebx, dword [esp + 0x4c]
jle 0x81de1a
lea edx, [esi + esi*4]
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 4]
lea ebp, [eax + edx*4]
mov eax, dword [esp + 0x54]
mov edx, dword [esp]
sub eax, esi
cmp dword [esp + 0x18], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
mov al, 5
adc al, 0xff
mov byte [esp + 0xb], al
mov eax, dword [edx + 0x30]
mov eax, dword [eax + esi*4]
cmp dword [eax], edi
jne 0x81de03
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x28], 1
lea ebx, [esi + eax]
jne 0x81dd76
mov edx, 0x7f
push ebx
push dword [esp + 0x14]
call fcn.007c57e0
mov ecx, dword [esp + 0xc]
add esp, 8
jmp 0x81dda5
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x81dd82
xor eax, eax
jmp 0x81dd8e
mov edx, dword [esp + 0x18]
mov eax, dword [eax + edx*4]
inc edx
mov dword [esp + 0x18], edx
mov edx, 0x59
push ebx
push eax
push dword [esp + 0x18]
call fcn.007c5800
mov ecx, dword [esp + 0x10]
add esp, 0xc
mov dword [ebp + 4], eax
mov edx, 0x32
push ebx
call fcn.007edd80
add esp, 4
mov eax, dword [esp + 0x4c]
cmp esi, eax
jne 0x81ddf1
mov ecx, dword [esp + 0x10]
movzx edx, byte [esp + 0xb]
test eax, eax
mov dword [ebp], ecx
mov byte [ebp + 0x10], dl
jle 0x81dde8
mov ecx, dword [esp + 0xc]
mov edx, dword [esp]
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], eax
or byte [edx + 0x26], 4
mov ecx, dword [esp + 4]
jmp 0x81ddfc
mov dword [ebp + 0xc], 0
jmp 0x81ddf5
mov byte [ebp + 0x10], 0xad
mov ecx, dword [esp + 4]
mov edx, dword [esp]
movzx ebx, word [edx + 0x28]
add ebp, 0x14
inc esi
movzx eax, bx
cmp esi, eax
jl 0x81dd42
jmp 0x81de1a
mov ecx, ebp
mov dword [ebp + 0x40], 0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
call fcn.00774f10
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x48]
mov ecx, ebp
mov edx, ebx
call fcn.0081def0
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00980459
mov eax, esi
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret