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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
mov eax, dword [0x10030004]
xor eax, esp
mov dword [esp + 0xc0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], edx
xor edx, edx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [edi + 0x10]
push 0x14
push 6
mov dword [esp + 0x18], eax
call fcn.10015750
mov cl, byte [esi + 0x3c]
mov ebx, eax
and cl, 3
add esp, 8
mov byte [ebx + 5], cl
mov byte [ebx + 4], 6
mov ecx, dword [esi + 0x40]
mov dword [ebx], ecx
mov dword [esi + 0x40], ebx
mov dword [ebx + 0xc], 0
mov byte [ebx + 6], 1
mov dword [ebx + 0x10], 0
mov eax, dword [edi + 0xc]
mov dword [eax], ebx
mov dword [eax + 8], 0x46
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0xc]
sub eax, ecx
and eax, 0xfffffff0
cmp eax, 0x10
jg 0x1001cf3d
mov edx, 1
mov ecx, edi
call fcn.1000ce20
mov ecx, dword [edi + 0xc]
mov esi, dword [edi + 0x10]
lea eax, [ecx + 0x10]
push 0x20
push 5
xor edx, edx
mov dword [edi + 0xc], eax
mov ecx, edi
call fcn.10015750
mov cl, byte [esi + 0x3c]
mov edx, eax
and cl, 3
add esp, 8
mov byte [edx + 5], cl
mov byte [edx + 4], 5
mov ecx, dword [esi + 0x40]
mov dword [edx], ecx
mov dword [esi + 0x40], edx
mov dword [edx + 0x18], 0
mov word [edx + 6], 0xff
mov dword [edx + 0xc], 0
mov dword [edx + 8], 0
mov dword [edx + 0x10], 0x1002bb30
mov dword [edx + 0x14], 0
mov eax, dword [edi + 0xc]
mov dword [esp + 0x78], edx
mov dword [eax], edx
mov dword [eax + 8], 0x45
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0xc]
sub eax, ecx
and eax, 0xfffffff0
cmp eax, 0x10
jg 0x1001cfc5
mov edx, 1
mov ecx, edi
call fcn.1000ce20
mov ecx, dword [edi + 0xc]
lea eax, [ecx + 0x10]
mov ecx, edi
mov dword [edi + 0xc], eax
call fcn.1000e5c0
mov edx, dword [esp + 0x10]
mov ecx, edi
mov dword [ebx + 0xc], eax
mov dword [esp + 0x8c], eax
call fcn.1001de30
mov ecx, dword [esp + 0x8c]
mov edx, str._ENV
push 4
mov dword [ecx + 0x48], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x80], eax
mov dword [eax + 0x1c], 0
mov dword [eax + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x48]
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x84], ecx
mov ecx, edi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x70], edi
mov dword [esp + 0x5c], 0x121
mov dword [esp + 0x74], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], 1
call fcn.1001dc10
mov dword [esp + 0x88], eax
add esp, 4
mov eax, dword [esp + 0x74]
push 0x20
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], eax
push ecx
push edx
mov esi, dword [eax + 0x10]
xor eax, eax
test edx, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
cmovne eax, ecx
push dword [esi + 4]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
call eax
mov ecx, eax
add esp, 0x10
test ecx, ecx
jne 0x1001d0ee
cmp dword [esi + 0x80], eax
je 0x1001d215
mov ecx, dword [esp + 0x10]
lea edx, [eax + 1]
call fcn.1000fe10
mov eax, dword [esi]
push 0x20
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esi + 4]
call eax
mov ecx, eax
add esp, 0x10
test ecx, ecx
je 0x1001d215
mov eax, 0x20
lea edx, [esp + 0x8c]
sub eax, dword [esp + 0x14]
add dword [esi + 0xc], eax
mov eax, dword [esp + 0x74]
mov dword [eax], ecx
lea ecx, [esp + 0x38]
mov eax, dword [esp + 0x74]
mov dword [eax + 8], 0x20
lea eax, [esp + 0xbc]
push eax
call fcn.100198d0
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x90]
add esp, 4
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x20], 8
mov byte [eax + 7], 1
lea eax, [esp + 0x20]
mov edx, dword [esp + 0x84]
push eax
mov dword [esp + 0x2c], 0
call fcn.10019060
mov eax, dword [esp + 0x40]
add esp, 4
cmp dword [esp + 0x58], 0x121
mov dword [esp + 0x40], eax
je 0x1001d196
movups xmm0, xmmword [esp + 0x58]
mov dword [esp + 0x58], 0x121
movups xmmword [esp + 0x48], xmm0
mov ecx, dword [esp + 0x48]
jmp 0x1001d1b0
lea edx, [esp + 0x50]
lea ecx, [esp + 0x38]
call fcn.10013ba0
mov ecx, eax
mov dword [esp + 0x48], ecx
nop dword [eax]
lea eax, [ecx - 0x104]
cmp eax, 0x1d
ja case.0x1001d1c2.263
movzx eax, byte [eax + 0x1001d238]
jmp dword [eax*4 + 0x1001d230]
cmp ecx, 0x112
lea ecx, [esp + 0x38]
je 0x1001d1e0
call fcn.1001c510
mov ecx, dword [esp + 0x48]
jmp 0x1001d1b0
call fcn.1001c510
mov ecx, dword [esp + 0x48]
cmp ecx, 0x121
lea ecx, [esp + 0x38]
jne 0x1001d223
call fcn.10019970
add dword [edi + 0xc], 0xfffffff0
mov eax, ebx
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10029730
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
mov edx, 4
call fcn.1000cc10
mov edx, 0x121
call fcn.10018c30
nop dword [eax]
jmp 0xd911d406