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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x13067180
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebp
mov ebp, ecx
push 0x20000
call fcn.12e6efc0
add esp, 4
test eax, eax
jne 0x12ed5f4e
pop ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret 0x14
push ebx
push esi
push edi
push 0xffdf
lea ecx, [esp + 0x18]
call fcn.12f29880
mov eax, dword [0x13198f68]
mov esi, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x58], edi
je 0x12ed5f8e
mov eax, dword [ebx]
push eax
push esi
push 0x1314c52c
push 0x1311785c
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
xor ecx, ecx
cmp esi, edi
mov dword [esp + 0x68], ecx
jne 0x12ed5fe9
mov eax, dword [ebx]
cmp eax, edi
je 0x12ed61ee
mov ecx, dword [0x13198f68]
mov esi, dword [esp + 0x70]
cmp ecx, edi
je 0x12ed5fc6
push eax
push esi
push 0x1314c4d0
push 0x1311785c
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
cmp esi, 2
je 0x12ed60b2
cmp esi, 3
je 0x12ed60b2
mov eax, dword [esp + 0x60]
mov ecx, ebp
push eax
call fcn.12ed6250
jmp 0x12ed61ea
mov eax, dword [0x13198f68]
mov esi, dword [esp + 0x64]
cmp eax, edi
je 0x12ed6020
mov eax, dword [esi]
xor ecx, ecx
mov cx, word [esi + 0x16]
xor edx, edx
mov dx, word [esi + 0x14]
push ecx
mov ecx, dword [esp + 0x64]
push edx
push eax
push ecx
push 0x1314c468
push 0x1311785c
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x1c
xor edx, edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x60], edi
mov dword [esp + 0x34], edi
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x38]
mov dword [esp + 0x24], edx
push 1
rep stosd dword es:[edi], eax
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x64]
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], edx
push eax
push ecx
mov dword [esp + 0x3c], edx
push edx
lea edx, [esp + 0x44]
push esi
push edx
mov ecx, ebp
call fcn.12ed58e0
mov edx, dword [esp + 0x1c]
xor eax, eax
cmp edx, 4
sete al
test eax, eax
mov dword [esp + 0x68], eax
jne 0x12ed61e8
push 0x18
call fcn.12f5bf8b
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebx], edi
je 0x12ed61e8
mov ecx, 6
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebx]
mov ecx, 6
lea esi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
jmp 0x12ed61e8
mov eax, dword [ebx]
mov dword [esp + 0x70], edi
cmp eax, edi
je 0x12ed61ea
lea ecx, [ebp + 4]
push 1
push ecx
lea ecx, [esp + 0x24]
call fcn.12f560a0
mov edi, dword [esp + 0x60]
mov edx, dword [ebx]
mov esi, dword [ebp + 0x28]
add ebp, 0x24
mov eax, edi
mov dword [esp + 0x10], edx
shr eax, 4
xor edx, edx
mov ecx, dword [ebp]
div esi
test ecx, ecx
mov byte [esp + 0x58], 1
mov ebx, edx
je 0x12ed6112
mov eax, dword [ecx + ebx*4]
test eax, eax
je 0x12ed610e
cmp dword [eax + 8], edi
je 0x12ed610a
mov eax, dword [eax]
test eax, eax
jne 0x12ed60fd
jmp 0x12ed610e
test eax, eax
jne 0x12ed615d
test ecx, ecx
jne 0x12ed6142
lea edi, [esi*4]
push edi
call fcn.12f5bf8b
mov edx, eax
mov ecx, edi
mov dword [ebp], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x60]
mov dword [ebp + 4], esi
mov ecx, ebp
call fcn.12eda770
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov ecx, dword [ebp]
mov edx, dword [ecx + ebx*4]
mov dword [eax], edx
mov ecx, dword [ebp]
mov dword [ecx + ebx*4], eax
mov esi, dword [esp + 0x10]
lea edi, [eax + 0x10]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x64]
cmp word [esi + 0x14], 0
je 0x12ed6189
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
cmp dword [eax], 6
jne 0x12ed6189
mov dword [esp + 0x70], 1
mov eax, dword [0x13198f68]
test eax, eax
je 0x12ed61c5
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
mov ecx, dword [eax]
mov edx, dword [eax + 0x14]
push ecx
push edx
mov edx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x78]
push ecx
push 0x1314c3e0
push 0x1311785c
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x28
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 0
call fcn.12f56100
mov eax, dword [esp + 0x70]
test eax, eax
je 0x12ed61e8
push 0
push esi
mov ecx, 0x131c12e0
call fcn.12ed79c0
xor edi, edi
mov ecx, dword [esp + 0x68]
cmp dword [0x13198f68], edi
je 0x12ed621a
cmp ecx, edi
mov eax, 0x1314b74c
jne 0x12ed6204
mov eax, 0x1314b73c
push eax
push ecx
push 0x1314c384
push 0x1311785c
push 0xffffffffffffffff
call fcn.12dad750
add esp, 0x14
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], 0xffffffff
call fcn.12f298b0
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebx
pop ebp
mov dword fs:[0], ecx
add esp, 0x4c
ret 0x14