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

Disassembly:
sub esp, 0xe4
push ebx
mov ebx, dword [esp + 0xec]
mov eax, ebx
and eax, 0xfffff000
mov edx, dword [eax]
push ebp
mov ebp, dword [esp + 0xf8]
mov dword [esp + 0x44], ecx
push edi
mov edi, dword [edx + 0x138]
mov eax, ebp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp]
mov eax, dword [ebp + 4]
inc ecx
cmp ecx, eax
mov dword [esp + 0x90], edi
jg 0x300ddfff
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
inc edx
cmp edx, eax
jg 0x300ddfff
lea eax, [ebx + 0x30]
push eax
call fcn.30078960
add esp, 4
test eax, eax
jne 0x300de00d
pop edi
pop ebp
xor al, al
pop ebx
add esp, 0xe4
ret 0xc
push esi
lea eax, [esp + 0xb8]
push edi
push eax
call fcn.300783d0
lea ecx, [esp + 0x24]
push ecx
call fcn.30077120
mov eax, dword [ebx + 0x18]
add esp, 0xc
test eax, eax
mov esi, 7
je 0x300de04e
cmp dword [eax + 0x78], 2
jne 0x300de04e
push 1
lea edx, [esp + 0x20]
push edx
mov ecx, ebx
call fcn.300dd3a0
jmp 0x300de16d
mov ecx, ebx
call fcn.300d1800
test eax, eax
je 0x300de06c
push 1
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.300dd3a0
jmp 0x300de16d
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x300de0cc
cmp dword [eax + 0x78], esi
jne 0x300de097
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x1c]
push ecx
movzx ecx, word [edx + 0x5e]
push ecx
lea edx, [eax + 0x10]
push edx
add eax, 0x3c
push eax
call fcn.3008ab20
add esp, 0x10
jmp 0x300de0cc
test eax, eax
je 0x300de0cc
mov eax, dword [eax + 0x78]
cmp eax, 9
je 0x300de0cc
cmp eax, 4
je 0x300de0cc
push 0
mov ecx, ebx
call fcn.300d5780
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], edx
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x300de16d
jmp 0x300de0e0
lea eax, [esp + 0x50]
push eax
call fcn.30077120
mov eax, dword [edi + 0x18]
add esp, 4
test eax, eax
je 0x300de14d
cmp dword [eax + 0x78], esi
jne 0x300de118
mov edx, dword [edi + 4]
lea ecx, [esp + 0x50]
push ecx
movzx ecx, word [edx + 0x5e]
push ecx
lea edx, [eax + 0x10]
push edx
add eax, 0x3c
push eax
call fcn.3008ab20
add esp, 0x10
jmp 0x300de14d
test eax, eax
je 0x300de14d
mov eax, dword [eax + 0x78]
cmp eax, 9
je 0x300de14d
cmp eax, 4
je 0x300de14d
push 0
mov ecx, edi
call fcn.300d5780
mov ecx, dword [eax]
mov dword [esp + 0x50], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x5c], edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x54]
push ecx
mov edx, eax
push edx
call fcn.30079280
mov edi, dword [edi + 0xc]
add esp, 0xc
test edi, edi
jne 0x300de0e0
cmp dword [esp + 0x1c], 0x7ffffff
je 0x300de4d9
fld qword [0x30293678]
sub esp, 8
mov ecx, esi
fstp qword [esp]
lea eax, [esp + 0x68]
lea esi, [ebx + 0x30]
lea edi, [esp + 0x68]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.30077740
add esp, 4
fld qword [0x30293678]
lea ecx, [esp + 0x68]
fstp qword [esp]
push ecx
call fcn.30077770
add esp, 0xc
mov ecx, ebx
call fcn.30085070
test eax, eax
je 0x300de1e6
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x24]
mov cl, byte [eax + 0x139]
test cl, cl
jne 0x300de1e6
lea ecx, [esp + 0x60]
push ecx
mov edx, ecx
push edx
add eax, 0x35c
push eax
call fcn.30077fc0
add esp, 0xc
mov edx, dword [esp + 0x20]
mov ebx, dword [ebp + 4]
mov eax, dword [esp + 0x24]
mov esi, dword [ebp]
mov ecx, dword [esp + 0x1c]
mov edi, edx
sub edi, ebx
mov ebx, dword [ebp + 8]
sub ebx, eax
mov eax, dword [esp + 0x28]
sub eax, dword [ebp + 0xc]
sub esi, ecx
test esi, esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x18], eax
jle 0x300de4d9
test edi, edi
jle 0x300de4d9
test ebx, ebx
jle 0x300de4d9
test eax, eax
jle 0x300de4d9
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], edx
lea edx, [esp + 0x10]
mov dword [esp + 0x44], eax
push edx
lea eax, [esp + 0x44]
mov dword [esp + 0x40], ecx
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.30077890
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x74]
push ecx
call fcn.30077890
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x94], edx
add edx, ebx
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x48]
mov ebp, edx
sub ebp, dword [esp + 0x30]
mov dword [esp + 0x68], eax
add eax, esi
mov dword [esp + 0x9c], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x6c], eax
mov eax, ecx
sub eax, edi
add ebp, esi
add esp, 0x18
inc ebp
cmp ebp, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x88], edx
jle 0x300de32c
lea edx, [edi + esi + 1]
mov edi, dword [esp + 0x10]
push edx
sub ecx, edi
push ecx
call fcn.3002a310
add esp, 8
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
imul dword [esp + 0x90]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x34]
imul dword [esp + 0x8c]
shrd eax, edx, 0x10
adc eax, 0
mov edx, dword [esp + 0x2c]
sub edx, eax
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov esi, edx
sub esi, eax
lea edi, [ecx + ebx + 1]
cmp edi, esi
jle 0x300de38c
lea eax, [eax + ebx + 1]
push eax
sub edx, ecx
push edx
call fcn.3002a310
add esp, 8
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
imul dword [esp + 0x48]
shrd eax, edx, 0x10
adc eax, 0
mov ecx, dword [esp + 0x14]
add eax, ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x34]
imul dword [esp + 0x18]
shrd eax, edx, 0x10
adc eax, 0
mov edx, dword [esp + 0x30]
sub edx, eax
mov dword [esp + 0x84], edx
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x100]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xa4], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0xa8], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x28]
mov dword [esp + 0xb4], eax
add edi, 0x10
xor eax, eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
mov dword [esp + 0x18], eax
jmp 0x300de400
mov eax, dword [esp + 0x18]
lea esp, [esp]
mov ecx, dword [esp + eax + 0x7c]
mov edx, dword [esp + eax + 0x80]
mov ebx, dword [esp + eax + 0xa8]
mov ebp, dword [esp + eax + 0xac]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], edx
xor esi, esi
jmp 0x300de430
mov eax, dword [esp + esi + 0x98]
mov ecx, dword [esp + esi + 0x9c]
mov edx, dword [esp + esi + 0x50]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + esi + 0x54]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x94]
push eax
mov dword [esp + 0xe8], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xf0], ecx
push edi
lea ecx, [esp + 0xec]
mov dword [esp + 0xf8], edx
push ecx
lea edx, [esp + 0xe0]
push edx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebp
call fcn.300787e0
add esi, 4
add esp, 0x10
add edi, 0x1c
cmp esi, 0xc
jl 0x300de430
mov eax, dword [esp + 0x18]
add eax, 4
cmp eax, 0xc
mov dword [esp + 0x18], eax
jl 0x300de3f5
pop esi
pop edi
pop ebp
mov al, 1
pop ebx
add esp, 0xe4
ret 0xc
pop esi
pop edi
pop ebp
xor al, al
pop ebx
add esp, 0xe4
ret 0xc