Function at 0x831978c9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x82fd4000]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
push 5
pop ecx
push 0x12
mov eax, dword [ebp + 8]
mov esi, 0x82f66fb8
lea edi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
pop ecx
push 0x14
mov word [esp + 0x34], cx
pop ecx
mov esi, 0x82f66fcc
lea edi, [esp + 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov word [esp + 0x32], cx
push 0xa
movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x74]
mov dword [esp + 0x38], ecx
pop ecx
push 0xc
mov word [esp + 0x2c], cx
pop ecx
mov esi, 0x82f66fd8
lea edi, [esp + 0x60]
movsd dword es:[edi], dword [esi]
mov word [esp + 0x2a], cx
push 0xe
movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x58]
mov dword [esp + 0x30], ecx
pop ecx
push 0x10
movsd dword es:[edi], dword [esi]
mov word [esp + 0x3c], cx
pop ecx
mov dword [esp + 0x50], eax
mov eax, dword [eax + 0x30]
mov word [esp + 0x3a], cx
push 0x1f0000
xor ebx, ebx
movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x64]
push eax
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x44], ecx
call fcn.831464c1
test eax, eax
jns 0x8319799d
mov esi, dword [0x82fcf000]
cmp dword [esp + 0xc], ebx
je 0x8319798a
push dword [esp + 0xc]
call esi
cmp dword [esp + 0x14], ebx
je 0x83197996
push dword [esp + 0x14]
call esi
xor al, al
jmp 0x83197b20
lea eax, [esp + 0x24]
push eax
xor edi, edi
inc edi
push edi
push 0xf003f
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], ebx
call fcn.8314656d
test eax, eax
js 0x83197978
mov ecx, dword [0x82fcf020]
jmp 0x831979d4
pause
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
cmp eax, dword [ecx + 8]
jne 0x831979d2
mov ebx, dword [0x82fcf02c]
cmp dword [esp + 0x24], edi
jne 0x831979ff
mov dword [esp + 0x10], edi
jmp 0x83197ac5
mov edx, dword [esp + 0x50]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x48]
push eax
push 8
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x20]
call fcn.8314d2e9
mov esi, eax
test esi, esi
js 0x83197afb
cmp dword [esp + 0x48], 8
jne 0x83197a5f
cmp dword [esp + 0x4c], 3
jne 0x83197a5f
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x28]
push eax
lea esi, [esp + 0x14]
call fcn.831498bc
mov esi, eax
cmp esi, 0xc0000034
jne 0x83197a5f
mov dword [esp + 0x10], edi
xor esi, esi
test esi, esi
js 0x83197afb
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
cmp dword [esp + 0x1c], eax
jg 0x83197a7d
jl 0x83197abd
cmp dword [esp + 0x18], edi
jb 0x83197abd
call dword [0x82fcf204]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
sub edx, edi
sbb ecx, dword [esp + 0x44]
push 0
push eax
push ecx
push edx
call fcn.8313e857
test edx, edx
jg 0x83197abd
jl 0x83197aa8
cmp eax, 0x5f5e100
jae 0x83197abd
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, 5
jbe 0x83197add
mov esi, 0xc0000001
jmp 0x83197af9
mov dword [esp + 0x10], 1
push 8
lea eax, [esp + 0x1c]
push eax
push 3
push 0
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x20]
call ebx
mov esi, eax
test esi, esi
js 0x83197afb
push 4
lea eax, [esp + 0x14]
push eax
push 4
push 0
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x20]
call ebx
mov esi, eax
test esi, esi
mov esi, dword [0x82fcf000]
setns bl
cmp dword [esp + 0xc], 0
je 0x83197b11
push dword [esp + 0xc]
call esi
cmp dword [esp + 0x14], 0
je 0x83197b1e
push dword [esp + 0x14]
call esi
mov al, bl
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.831397ac
mov esp, ebp
pop ebp
ret 4