Function at 0x83576b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
lea eax, [ebp - 4]
push ebx
push esi
push edi
push eax
push 0x82ee50
push 0x82ee40
push 7
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00835c50
test eax, eax
js 0x835995
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x83598c
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
js 0x835983
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
push edx
push 0x82ee20
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x83597a
mov esi, dword [ebp + 0x1c]
mov edi, dword [0x846118]
lea eax, [esi + 1]
push eax
push 0
push 0x11
call edi
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x835971
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [0x846124]
test eax, eax
js 0x83596a
push esi
push dword [ebp + 0x18]
push dword [ebp - 0x1c]
call fcn.008371f0
add esp, 0xc
push ebx
call dword [0x846120]
test eax, eax
js 0x83596a
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push edx
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb4]
test eax, eax
js 0x83596a
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
test eax, eax
js 0x83596a
mov esi, dword [0x846114]
lea eax, [ebp - 0x38]
push eax
call esi
lea eax, [ebp - 0x48]
push eax
call esi
push 1
push 0
push 0xc
call edi
mov dword [ebp - 0x10], eax
test eax, eax
je 0x835961
mov esi, dword [ebp + 8]
push esi
push 0
push 8
call edi
mov dword [ebp - 0x30], eax
test eax, eax
je 0x835958
and dword [ebp - 0x28], 0
mov eax, 0x2008
mov edi, dword [0x84611c]
mov word [ebp - 0x38], ax
xor eax, eax
mov dword [ebp - 8], eax
test esi, esi
jle 0x8358cf
mov ebx, dword [ebp + 0xc]
push dword [ebx + eax*4]
call dword [0x84612c]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x30]
call edi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, esi
jl 0x8358ae
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call edi
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x48]
push edx
push esi
sub esp, 0x10
mov esi, 0x82d170
mov ecx, dword [eax]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x94]
test eax, eax
jns 0x835946
cmp eax, 0x8002000e
jne 0x83592b
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x48]
push edx
push 0
sub esp, 0x10
mov esi, 0x82d170
mov ecx, dword [eax]
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x94]
test eax, eax
jns 0x835946
push eax
call fcn.00834bd5
pop ecx
push 0x10
push 0x82ef68
push 0x82efdc
push 0
call dword [0x846140]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push dword [ebp - 0x30]
call dword [0x846128]
push dword [ebp - 0x10]
call dword [0x846128]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push ebx
call dword [0x846128]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x2710
call dword [fcn.00846010]
push 0
call fcn.008368e1
int3