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

Disassembly:
sub esp, 0x114
push ebp
mov ebp, ecx
mov eax, dword [ebp + 0x68]
test eax, eax
je 0x300e5311
push ebx
push esi
mov esi, dword [esp + 0x124]
movzx eax, byte [esi + 0x2e]
dec eax
push edi
je 0x300e4c00
dec eax
jne 0x300e52fc
mov esi, dword [esi + 0x4c]
mov ebx, dword [esp + 0x130]
add esi, 4
test ebx, ebx
mov ecx, 7
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
je 0x300e4a58
mov al, byte [esp + 0x134]
test al, al
jne 0x300e4a58
lea eax, [esp + 0x34]
push eax
mov ecx, eax
push ebx
push ecx
call fcn.30077fc0
add esp, 0xc
mov ecx, dword [ebp + 0x28]
test ecx, ecx
je 0x300e4a7c
call fcn.300048b0
cmp eax, 6
jle 0x300e4a7c
lea esi, [ebp + 0x34]
mov ecx, 7
lea edi, [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
jmp 0x300e4a90
mov ecx, dword [ebp + 0x68]
lea edx, [esp + 0x8c]
push edx
lea eax, [ebp + 0x34]
push eax
call fcn.300ad5c0
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
mov esi, dword [esp + 0x128]
shl ecx, 8
shl edx, 8
mov dword [esp + 0xa0], ecx
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x9c], edx
test byte [ecx + 0x94], 0xc
je 0x300e4adf
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
imul edx, edx, 0xff
mov dword [esp + 0x44], edx
imul eax, eax, 0xff
jmp 0x300e4af1
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
shl ecx, 8
mov dword [esp + 0x44], ecx
shl eax, 8
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x90]
mov dword [esp + 0x4c], eax
push edx
mov eax, ecx
push eax
call fcn.30077fc0
add esp, 0xc
test ebx, ebx
je 0x300e4b8c
mov al, byte [esp + 0x134]
test al, al
je 0x300e4b8c
mov ecx, 7
mov esi, ebx
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x128]
mov edx, dword [ecx + 0x4c]
test byte [edx + 0x94], 0xc
je 0x300e4b5a
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
imul eax, eax, 0xff
imul ecx, ecx, 0xff
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
jmp 0x300e4b70
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
shl ecx, 8
shl eax, 8
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x14]
push eax
mov ecx, edx
push ecx
call fcn.30077fc0
mov esi, dword [esp + 0x134]
add esp, 0xc
mov ecx, dword [ebp + 0x28]
test ecx, ecx
je 0x300e4bad
call fcn.300048b0
cmp eax, 6
jle 0x300e4bad
mov ecx, dword [ebp + 0x68]
lea edx, [esp + 0x34]
push edx
mov eax, edx
push eax
call fcn.300ad5c0
mov ebp, dword [ebp + 0x28]
test ebp, ebp
je 0x300e4bbc
mov ebp, dword [ebp + 0xdc]
jmp 0x300e4bbe
xor ebp, ebp
mov ecx, dword [esi + 0x4c]
push ebp
add ecx, 0x20
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.30079470
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax + 0x38]
add esp, 0xc
cmp ecx, 1
jne 0x300e4bea
add eax, 0x20
push eax
call fcn.30077810
add esp, 4
mov eax, dword [esi + 0x4c]
mov esi, dword [esp + 0x128]
mov dword [eax + 0x38], 2
jmp 0x300e52fc
mov ecx, dword [ebp + 0x28]
call fcn.300048b0
mov ebx, dword [esp + 0x130]
test ebx, ebx
mov edi, eax
mov dword [esp + 0x64], edi
jne 0x300e4c4e
cmp edi, 8
jl 0x300e4c4e
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx + 0xdc]
mov eax, dword [esi + 0x4c]
push edx
mov edx, dword [ebp + 0x68]
lea ecx, [eax + 0x24]
push ecx
mov ecx, dword [edx + 0x38]
push ecx
add eax, 8
push eax
lea edx, [ebp + 0x34]
push edx
call fcn.300cfda0
add esp, 0x14
test al, al
jne 0x300e52a1
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x300e4c71
cmp edi, 6
jle 0x300e4c71
lea esi, [ebp + 0x34]
mov ecx, 7
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x128]
jmp 0x300e4c82
lea eax, [esp + 0x34]
push eax
lea ecx, [ebp + 0x34]
push ecx
mov ecx, dword [ebp + 0x68]
call fcn.300ad5c0
mov esi, dword [esi + 0x4c]
add esi, 8
test ebx, ebx
mov ecx, 7
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
je 0x300e4cb3
mov al, byte [esp + 0x134]
test al, al
jne 0x300e4cb3
lea edx, [esp + 0x10]
push edx
mov eax, edx
push ebx
push eax
call fcn.30077e70
add esp, 0xc
mov ecx, dword [esp + 0x20]
mov eax, 0x7fff
cmp ecx, eax
jg 0x300e4d0c
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jg 0x300e4d0c
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x20]
mov edx, ecx
mov ecx, dword [esp + 0x44]
shl ecx, 0x10
shl edx, 0x10
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x10]
shl eax, 0x10
mov dword [esp + 0x24], edx
push ecx
lea edx, [esp + 0x38]
mov dword [esp + 0x4c], eax
push edx
mov eax, ecx
shl esi, 0x10
push eax
mov dword [esp + 0x2c], esi
call fcn.30077fc0
add esp, 0xc
jmp 0x300e5059
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x300e4e94
mov eax, dword [eax + 0xdc]
test eax, eax
je 0x300e4e94
mov ecx, eax
call fcn.300f88e0
test al, al
je 0x300e4e94
mov eax, dword [esp + 0x28]
mov esi, 1
cmp eax, esi
je 0x300e4d4e
lea ecx, [esp + 0x10]
push ecx
call fcn.300777d0
add esp, 4
cmp dword [esp + 0x4c], esi
je 0x300e4d61
lea edx, [esp + 0x34]
push edx
call fcn.300777d0
add esp, 4
fld dword [esp + 0x34]
mov dword [esp + 0x50], 0
fmul dword [esp + 0x10]
fld dword [esp + 0x40]
fmul dword [esp + 0x1c]
fld dword [0x302fd40c]
fild dword [esp + 0x20]
fst dword [esp + 0x54]
fmul dword [esp + 0x34]
fiadd dword [esp + 0x44]
fstp dword [esp + 0x2c]
fild dword [esp + 0x24]
fst dword [esp + 0x58]
fmul dword [esp + 0x40]
fiadd dword [esp + 0x48]
fstp dword [esp + 0x30]
fld dword [0x302fd40c]
fld dword [esp + 0x14]
fucompp
fnstsw ax
test ah, 0x44
jp 0x300e4df3
fld dword [0x302fd40c]
fld dword [esp + 0x18]
fucompp
fnstsw ax
test ah, 0x44
jp 0x300e4df3
fld dword [0x302fd40c]
fld dword [esp + 0x38]
fucompp
fnstsw ax
test ah, 0x44
jp 0x300e4df3
fld dword [0x302fd40c]
fld dword [esp + 0x3c]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x300e4e51
fstp st(0)
fld dword [esp + 0x3c]
fmul dword [esp + 0x14]
faddp st(2)
fld dword [esp + 0x38]
fmul dword [esp + 0x18]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x40]
fld dword [esp + 0x38]
fmul dword [esp + 0x10]
faddp st(1)
fld dword [esp + 0x3c]
fmul dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul dword [esp + 0x34]
faddp st(1)
fstp dword [esp + 0x50]
fld dword [esp + 0x58]
fmul dword [esp + 0x3c]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x54]
fmul dword [esp + 0x38]
fadd dword [esp + 0x30]
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x50]
fxch st(2)
fstp dword [esp + 0x10]
mov dword [esp + 0x18], eax
fxch st(1)
fstp dword [esp + 0x14]
fstp dword [esp + 0x1c]
fld dword [esp + 0x30]
fmul dword [0x302996f0]
call fcn.3002ddb0
fld dword [esp + 0x2c]
fmul dword [0x302996f0]
mov dword [esp + 0x24], eax
call fcn.3002ddb0
mov dword [esp + 0x28], esi
jmp 0x300e5055
mov eax, dword [esp + 0x28]
mov esi, 1
cmp eax, esi
jne 0x300e4eae
lea ecx, [esp + 0x10]
push ecx
call fcn.30077810
add esp, 4
cmp dword [esp + 0x4c], esi
jne 0x300e4ec1
lea edx, [esp + 0x34]
push edx
call fcn.30077810
add esp, 4
fild dword [esp + 0x34]
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x68], 0
fmul dword [0x302996f4]
mov dword [esp + 0x60], 0
fstp dword [esp + 0x30]
fild dword [esp + 0x10]
fmul dword [0x302996f4]
fst dword [esp + 0x70]
fmul dword [esp + 0x30]
fild dword [esp + 0x40]
fmul dword [0x302996f4]
fstp dword [esp + 0x2c]
fild dword [esp + 0x1c]
fmul dword [0x302996f4]
fst dword [esp + 0x6c]
fmul dword [esp + 0x2c]
fstp dword [esp + 0x50]
fild dword [esp + 0x20]
fld dword [esp + 0x30]
fmul st(1)
fiadd dword [esp + 0x44]
fstp dword [esp + 0x58]
fild dword [esp + 0x24]
fld dword [esp + 0x2c]
fmul st(1)
fiadd dword [esp + 0x48]
fstp dword [esp + 0x54]
jne 0x300e4f5d
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x300e4f5d
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x300e4f5d
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x300e4fdf
fild dword [esp + 0x3c]
fmul dword [0x302996f4]
fild dword [esp + 0x14]
fmul dword [0x302996f4]
fld st(0)
fmul st(2)
faddp st(5)
fild dword [esp + 0x38]
fmul dword [0x302996f4]
fstp dword [esp + 0x5c]
fild dword [esp + 0x18]
fmul dword [0x302996f4]
fld dword [esp + 0x5c]
fmul st(1)
fadd dword [esp + 0x50]
fstp dword [esp + 0x50]
fxch st(1)
fmul dword [esp + 0x2c]
fld dword [esp + 0x5c]
fmul dword [esp + 0x70]
faddp st(1)
fstp dword [esp + 0x68]
fld st(1)
fmul dword [esp + 0x6c]
fxch st(1)
fmul dword [esp + 0x30]
faddp st(1)
fstp dword [esp + 0x60]
fmul st(1)
fadd dword [esp + 0x58]
fstp dword [esp + 0x58]
fstp st(0)
fld dword [esp + 0x5c]
fmul st(1)
fadd dword [esp + 0x54]
fstp dword [esp + 0x54]
jmp 0x300e4fe1
fstp st(0)
fstp st(0)
fmul dword [0x302996f0]
call fcn.3002ddb0
fld dword [esp + 0x68]
fmul dword [0x302996f0]
mov dword [esp + 0x10], eax
call fcn.3002ddb0
fld dword [esp + 0x60]
fmul dword [0x302996f0]
mov dword [esp + 0x14], eax
call fcn.3002ddb0
fld dword [esp + 0x50]
fmul dword [0x302996f0]
mov dword [esp + 0x18], eax
call fcn.3002ddb0
fld dword [esp + 0x54]
fmul dword [0x302996f0]
mov dword [esp + 0x1c], eax
call fcn.3002ddb0
fld dword [esp + 0x58]
fmul dword [0x302996f0]
mov dword [esp + 0x24], eax
call fcn.3002ddb0
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x300e51d0
test ebx, ebx
je 0x300e5229
mov al, byte [esp + 0x134]
test al, al
je 0x300e51d0
cmp dword [esp + 0x64], 9
jl 0x300e51d0
push ebx
lea ecx, [esp + 0xac]
call fcn.30077a30
fld dword [esp + 0xb8]
fmul dword [0x302996f0]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x78]
fstp dword [esp + 0xbc]
fld dword [esp + 0xc0]
fmul dword [0x302996f0]
fstp dword [esp + 0xc0]
call fcn.30077a30
mov ecx, dword [ebp + 0x28]
mov edx, dword [ecx + 0xdc]
push edx
lea eax, [esp + 0xc4]
push eax
call fcn.300783d0
add esp, 8
lea ecx, [esp + 0xc0]
push ecx
mov edx, ecx
mov ecx, dword [ebp + 0x68]
push edx
call fcn.300ad5c0
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0xe0]
call fcn.30077a30
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x110]
push edx
lea ecx, [esp + 0x7c]
call fcn.30077ad0
mov ecx, dword [eax]
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x78], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x7c], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x80], edx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x84], ecx
mov edx, dword [eax + 0x14]
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0xf8]
push ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x90], edx
call fcn.30077ad0
mov edx, dword [eax]
mov dword [esp + 0x74], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x78], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x7c], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x84], edx
mov eax, dword [eax + 0x14]
push ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x8c], eax
call fcn.30079320
mov esi, dword [esp + 0x128]
mov edx, dword [esi + 0x4c]
add edx, 0x24
push edx
lea ecx, [esp + 0x90]
call fcn.30077c00
jmp 0x300e527b
test ebx, ebx
je 0x300e5229
mov al, byte [esp + 0x134]
test al, al
je 0x300e5229
mov esi, ebx
lea eax, [esp + 0x10]
mov ecx, 7
lea edi, [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 0x9c]
mov edi, dword [esp + 0xa0]
push eax
lea ecx, [esp + 0x90]
push ecx
mov edx, eax
shl ebx, 0x10
shl edi, 0x10
push edx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], edi
call fcn.30077e70
add esp, 0xc
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x300e5247
cmp dword [esp + 0x64], 6
jle 0x300e5247
lea eax, [esp + 0x10]
mov ecx, eax
push eax
push ecx
mov ecx, dword [ebp + 0x68]
call fcn.300ad5c0
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x300e5256
mov eax, dword [eax + 0xdc]
jmp 0x300e5258
xor eax, eax
mov edx, dword [esp + 0x128]
push eax
mov eax, dword [edx + 0x4c]
add eax, 0x24
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.30079470
mov esi, dword [esp + 0x134]
add esp, 0xc
mov eax, dword [esi + 0x4c]
cmp dword [eax + 0x3c], 1
jne 0x300e5290
add eax, 0x24
push eax
call fcn.30077810
add esp, 4
mov edx, dword [esi + 0x4c]
mov esi, dword [esp + 0x128]
mov dword [edx + 0x3c], 2
mov ecx, dword [ebp + 0x50]
test ecx, ecx
mov eax, dword [esi + 0x4c]
mov eax, dword [eax + 4]
je 0x300e52c4
cmp word [ebp + 0x54], 0x100
jl 0x300e52bd
cmp word [ebp + 0x56], 0
jge 0x300e52c4
mov ecx, 1
jmp 0x300e52c6
xor ecx, ecx
mov dl, byte [eax + 0x20]
test ecx, ecx
setne cl
or cl, dl
mov byte [esi + 0x2c], cl
mov cl, byte [eax + 0x29]
test cl, cl
jne 0x300e52df
cmp dword [eax], 0
je 0x300e52f3
mov al, byte [esp + 0x12c]
test al, al
je 0x300e530e
mov ecx, esi
call fcn.300b1a10
jmp 0x300e52fc
push 0
mov ecx, esi
call fcn.300a3f20
mov al, byte [esp + 0x12c]
test al, al
je 0x300e530e
mov ecx, esi
call fcn.300b1a10
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x114
ret 0x10