Function at 0x300195f0
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xac
mov ecx, dword [ebp + 0x30]
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x3c]
push edi
mov edi, dword [ebp + 0x38]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0x34]
and esi, 0x70000000
cmp esi, 0x60000000
mov edx, eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
jne 0x30019658
mov ebx, dword [ebp + 0x28]
shr ebx, 1
add ecx, ecx
mov dword [ebp + 0x28], ebx
mov ebx, dword [ebp + 0x30]
mov dword [ebp + 0x34], ecx
mov ecx, dword [ebp + 0x1c]
shr ebx, 1
add eax, eax
shr edi, 1
mov dword [esp + 0x18], ecx
add ecx, ecx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x1c], ecx
jmp 0x30019660
mov dword [esp + 0x18], 0
mov ecx, dword [ebp + 8]
imul edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x44]
mov dword [0x300626a0], ecx
mov ebx, dword [ebx]
imul ebx, dword [ebp + 0xc]
add ecx, ebx
add edx, ecx
cmp esi, 0x20000000
mov dword [0x30062658], edx
je 0x30019690
cmp esi, 0x50000000
jne 0x30019695
add eax, eax
mov dword [ebp + 0x14], eax
mov edx, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x44]
shr edx, 4
sub ecx, edx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebp + 0x30]
push ecx
push 0x10
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.30018a60
mov edx, dword [ebp + 0x30]
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [ebp + 0x3c]
push edx
push 0x20
lea eax, [ebp + 0x14]
push eax
push ecx
call fcn.30018a60
add esp, 0x28
cmp esi, 0x30000000
je 0x300196ff
cmp esi, 0x50000000
je 0x300196ff
cmp esi, 0x40000000
mov dword [esp + 0x1c], 1
jne 0x30019707
mov dword [esp + 0x1c], 2
mov ecx, dword [ebp + 0x14]
mov eax, dword [0x30062658]
mov edx, dword [ebp + 0x44]
mov edx, dword [edx]
add eax, ecx
imul edx, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x34]
mov esi, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x24]
mov dword [0x3006265c], eax
mov eax, dword [ebp + 0x28]
imul eax, ecx
add esi, eax
add esi, ebx
mov dword [0x30062660], esi
add esi, ecx
mov dword [0x30062664], esi
mov esi, dword [ebp + 0x40]
add eax, ebx
add eax, esi
mov dword [0x30062670], eax
add eax, ecx
mov dword [0x30062674], eax
mov eax, ecx
imul ecx, ecx, 0xf
shr eax, 1
lea esi, [eax - 0x10]
mov dword [esp + 0x5c], esi
mov esi, dword [ebp + 0x2c]
and esi, 0xf
mov dword [esp + 0x28], esi
sub ecx, dword [ebp + 0x2c]
add ecx, dword [esp + 0x28]
mov dword [esp + 0x58], ecx
mov ecx, dword [ebp + 0x2c]
shr ecx, 1
mov esi, ecx
and esi, 7
lea esi, [esi + eax*8]
sub esi, ecx
mov ecx, dword [esp + 0x28]
shl edx, 4
mov dword [esp + 0x40], edx
mov dword [esp + 0x54], esi
sub ecx, dword [ebp + 0x2c]
shr edx, 4
imul ecx, edx
mov edx, dword [ebp + 0x14]
imul edx, edx, 0xf
add ecx, edx
mov dword [esp + 0x3c], ecx
test dword [ebp + 0x3c], 0x10000
lea ebx, [eax - 8]
je 0x300197d0
mov esi, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x20]
imul esi, edi
shr edi, 1
imul edi, eax
add esi, ecx
add edi, esi
mov dword [0x3006266c], edi
jmp 0x300197f0
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp + 0x20]
imul ecx, edi
shr edi, 1
imul edi, eax
add ecx, edx
add edi, ecx
mov dword [0x3006266c], ecx
mov dword [0x30062668], edi
mov esi, edi
mov edx, dword [ebp + 0x28]
mov ecx, edx
shr ecx, 1
imul ecx, eax
mov eax, dword [ebp + 0x24]
mov edi, eax
shr edi, 1
add ecx, edi
mov edi, dword [0x3006266c]
add esi, ecx
add edi, ecx
mov ecx, dword [ebp + 0x30]
mov dword [0x3006266c], edi
lea edi, [edx + ecx - 1]
shr edx, 4
imul edx, dword [ebp + 0x1c]
mov dword [0x30062668], esi
mov esi, dword [ebp + 0x2c]
lea esi, [eax + esi - 1]
mov dword [esp + 0x10], edx
cdq
and edx, 0xf
add eax, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], esi
mov esi, eax
mov eax, dword [ebp + 0x18]
add eax, edx
sar esi, 4
add esi, eax
mov eax, dword [ebp + 0x28]
add eax, 0xf
cmp eax, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], esi
jg 0x30019d7f
mov dword [esp + 0x10], eax
jmp 0x30019870
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
add eax, 0x1f
cmp eax, ecx
jg 0x30019bd1
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18]
mov edi, 1
lea ecx, [esi + eax]
sub edi, eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x60], edi
jmp 0x300198a6
mov edi, dword [esp + 0x60]
mov al, byte [edi + ecx]
xor edx, edx
test al, al
setne dl
xor eax, eax
cmp byte [esi], al
setne al
lea edi, [eax + edx*2]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x300198d7
xor edx, edx
cmp byte [esi + eax + 1], dl
setne dl
xor eax, eax
cmp byte [ecx], al
setne al
lea ecx, [eax + edx*2]
or edi, ecx
dec edi
je 0x30019a8a
dec edi
je 0x3001997f
dec edi
jne 0x30019b29
mov ecx, 0x13
mov esi, 0x30062658
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
mov esi, 8
push 8
call dword [0x30057f68]
mov eax, dword [ebp + 0x34]
mov edx, dword [0x30062664]
lea ecx, [edx + eax - 0x20]
mov edx, dword [0x30062668]
mov dword [0x30062660], ecx
add ecx, eax
mov dword [0x30062664], ecx
mov ecx, dword [0x30062674]
lea ecx, [ecx + eax - 0x20]
mov dword [0x30062670], ecx
add ecx, eax
mov eax, dword [esp + 0x5c]
add edx, eax
mov dword [0x30062674], ecx
mov ecx, dword [0x3006266c]
add ecx, eax
mov eax, dword [esp + 0x64]
mov dword [0x30062668], edx
mov edx, dword [0x3006265c]
add eax, edx
mov dword [0x3006266c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [0x30062658], eax
add eax, ecx
dec esi
mov dword [0x3006265c], eax
jne 0x30019901
jmp 0x30019b15
mov edx, dword [0x30062670]
mov eax, 0x10
mov ecx, 0x13
mov esi, 0x30062658
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [0x30062664]
mov edi, dword [0x30062660]
mov ecx, dword [0x30062674]
add esi, eax
add edi, eax
add edx, eax
add ecx, eax
mov eax, dword [0x30062668]
mov dword [0x30062664], esi
mov esi, 8
add eax, esi
mov dword [0x30062660], edi
mov edi, dword [0x3006266c]
mov dword [0x30062670], edx
mov edx, dword [0x30062658]
mov dword [0x30062674], ecx
mov ecx, dword [0x3006265c]
mov dword [0x30062668], eax
mov eax, dword [esp + 0x40]
add edi, esi
add edx, eax
add ecx, eax
mov dword [0x3006266c], edi
mov dword [0x30062658], edx
mov dword [0x3006265c], ecx
jmp 0x30019a10
push 4
call dword [0x30057f68]
mov eax, dword [ebp + 0x34]
mov edx, dword [0x30062664]
lea ecx, [edx + eax - 0x10]
mov edx, dword [0x30062668]
mov dword [0x30062660], ecx
add ecx, eax
mov dword [0x30062664], ecx
mov ecx, dword [0x30062674]
lea ecx, [ecx + eax - 0x10]
mov dword [0x30062670], ecx
add ecx, eax
mov eax, dword [esp + 0x34]
mov dword [0x30062674], ecx
mov ecx, dword [0x3006266c]
add edx, ebx
add ecx, ebx
mov dword [0x30062668], edx
mov edx, dword [0x3006265c]
add eax, edx
mov dword [0x3006266c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [0x30062658], eax
add eax, ecx
dec esi
mov dword [0x3006265c], eax
jne 0x30019a10
jmp 0x30019b15
mov ecx, 0x13
mov esi, 0x30062658
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
mov esi, 8
nop
push 4
call dword [0x30057f68]
mov eax, dword [ebp + 0x34]
mov edx, dword [0x30062664]
lea ecx, [edx + eax - 0x10]
mov edx, dword [0x30062668]
mov dword [0x30062660], ecx
add ecx, eax
mov dword [0x30062664], ecx
mov ecx, dword [0x30062674]
lea ecx, [ecx + eax - 0x10]
mov dword [0x30062670], ecx
add ecx, eax
mov eax, dword [esp + 0x34]
mov dword [0x30062674], ecx
mov ecx, dword [0x3006266c]
add edx, ebx
add ecx, ebx
mov dword [0x30062668], edx
mov edx, dword [0x3006265c]
add eax, edx
mov dword [0x3006266c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [0x30062658], eax
add eax, ecx
dec esi
mov dword [0x3006265c], eax
jne 0x30019aa0
lea esi, [esp + 0x68]
mov edi, 0x30062658
mov ecx, 0x13
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xc]
mov eax, dword [0x30062660]
mov edi, dword [0x30062664]
mov ecx, dword [0x30062670]
mov edx, 0x20
add eax, edx
mov dword [0x30062660], eax
mov eax, dword [0x30062674]
add eax, edx
add ecx, edx
add edi, edx
mov dword [0x30062674], eax
mov dword [0x30062670], ecx
mov ecx, dword [0x3006266c]
mov dword [0x30062664], edi
mov edi, dword [0x30062668]
mov eax, 0x10
add ecx, eax
add edi, eax
mov eax, dword [esp + 0x40]
add eax, eax
mov dword [0x3006266c], ecx
mov ecx, dword [0x3006265c]
add ecx, eax
mov dword [0x30062668], edi
mov edi, dword [0x30062658]
add edi, eax
add dword [esp + 0x38], edx
mov eax, dword [esp + 0x50]
mov dword [0x3006265c], ecx
mov ecx, dword [esp + 0x48]
add eax, edx
mov edx, dword [esp + 0x2c]
add esi, 2
add ecx, 2
cmp eax, edx
mov dword [0x30062658], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], eax
jle 0x300198a2
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
add edx, 0xf
cmp edx, eax
jg 0x30019cf0
mov ecx, dword [esp + 0x18]
test ecx, ecx
movzx eax, byte [esi]
je 0x30019bf5
movzx ecx, byte [esi + ecx]
or eax, ecx
inc esi
test eax, eax
mov dword [esp + 0xc], esi
je 0x30019ca0
mov ecx, 0x13
mov esi, 0x30062658
lea edi, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
mov esi, 8
push 4
call dword [0x30057f68]
mov eax, dword [ebp + 0x34]
mov edx, dword [0x30062664]
lea ecx, [edx + eax - 0x10]
mov edx, dword [0x30062668]
mov dword [0x30062660], ecx
add ecx, eax
mov dword [0x30062664], ecx
mov ecx, dword [0x30062674]
lea ecx, [ecx + eax - 0x10]
mov dword [0x30062670], ecx
add ecx, eax
mov eax, dword [esp + 0x34]
mov dword [0x30062674], ecx
mov ecx, dword [0x3006266c]
add edx, ebx
add ecx, ebx
mov dword [0x30062668], edx
mov edx, dword [0x3006265c]
add eax, edx
mov dword [0x3006266c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [0x30062658], eax
add eax, ecx
dec esi
mov dword [0x3006265c], eax
jne 0x30019c17
mov ecx, 0x13
lea esi, [esp + 0x68]
mov edi, 0x30062658
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xc]
mov ecx, dword [0x30062664]
mov edi, dword [0x30062674]
mov edx, dword [0x30062668]
mov eax, 0x10
add ecx, eax
add edi, eax
mov dword [0x30062664], ecx
mov ecx, dword [0x3006266c]
mov eax, 8
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x40]
mov dword [0x30062674], edi
mov edi, dword [0x3006265c]
mov dword [0x30062668], edx
mov dword [0x3006266c], ecx
add edi, eax
jmp 0x30019cf6
mov edi, dword [0x3006265c]
mov ecx, dword [esp + 0x58]
mov edx, dword [0x30062664]
lea eax, [ecx + edx]
mov edx, dword [ebp + 0x34]
mov dword [0x30062660], eax
add eax, edx
mov dword [0x30062664], eax
mov eax, dword [0x30062674]
add eax, ecx
mov ecx, dword [0x3006266c]
mov dword [0x30062670], eax
add eax, edx
mov edx, dword [0x30062668]
mov dword [0x30062674], eax
mov eax, dword [esp + 0x54]
add ecx, eax
add edx, eax
mov dword [0x3006266c], ecx
mov ecx, dword [esp + 0x3c]
lea eax, [ecx + edi]
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
mov dword [0x30062668], edx
mov edx, dword [ebp + 0x14]
mov dword [0x30062658], eax
add eax, edx
mov dword [0x3006265c], eax
mov eax, dword [esp + 0x10]
add eax, 0x10
add esi, edi
cmp eax, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
jle 0x30019870
mov ecx, dword [ebp + 0x30]
mov eax, dword [esp + 0x28]
test eax, eax
mov edi, dword [esp + 0x30]
mov ebx, dword [ebp + 0x2c]
je 0x30019dd9
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x40]
push ecx
mov ecx, dword [ebp + 0x3c]
push edx
mov edx, dword [esp + 0x54]
push ecx
push edx
mov edx, dword [ebp + 0x28]
push edi
mov eax, ebx
and eax, 0xfffffff0
mov ecx, ebx
sub ecx, eax
push ecx
mov ecx, dword [ebp + 0x20]
push edx
mov edx, dword [esp + 0x3c]
push eax
imul eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
add eax, edx
push eax
mov eax, dword [esp + 0x54]
call fcn.300191c0
mov ecx, dword [ebp + 0x30]
add esp, 0x30
test cl, 0xf
je 0x30019e62
and ecx, 0xfffffff0
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mul ecx
mov ecx, dword [ebp + 0x30]
div ecx
mov edx, dword [esp + 0x20]
imul edx, dword [ebp + 0x34]
mov esi, eax
mov eax, dword [esp + 0x24]
imul eax, dword [ebp + 0x14]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
mul ecx
mov ecx, dword [esp + 0x14]
div ecx
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x40]
push ecx
mov ecx, dword [ebp + 0x3c]
push edx
mov edx, dword [esp + 0x54]
push ecx
mov ecx, dword [ebp + 0x24]
push edx
mov edx, dword [ebp + 0x20]
sub edi, esi
push edi
push ebx
push esi
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
add eax, edx
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [esp + 0x54]
call fcn.300191c0
add esp, 0x30
mov eax, dword [0x30058460]
test eax, eax
je 0x30019e6d
emms
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret