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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov esi, esp
mov dword [esi + 0x80], ebp
mov dword [esi + 0x84], esp
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x8c], 0x10129e30
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea eax, [esi + 0x88]
mov ecx, dword fs:[0]
mov dword [esi + 0x88], ecx
mov dword fs:[0], eax
lea eax, [ebx + 0x48]
push edi
push eax
call fcn.10119ab0
add esp, 8
test eax, eax
jne 0x10127d3d
mov dword [esi + 0x78], eax
mov eax, dword [0x1027132c]
mov dword [esi + 0x6c], edi
mov eax, dword [eax]
mov dword [esi + 4], edx
test eax, eax
je 0x10127d52
lea eax, [esi + 0x50]
mov dword [esi + 0x50], 2
mov dword [esi + 0x60], 0
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x4c]
mov ecx, dword [esi + 0x6c]
add ecx, eax
jo 0x10127af0
mov eax, ecx
mov dword [ebx + 0x4c], ecx
lea ecx, [ebx + 0x14]
mov dword [esi + 0x7c], ecx
jmp 0x10127b09
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
mov edx, dword [esi + 4]
test eax, eax
jle 0x10127c46
mov dword [esi + 0x90], 1
push dword [ebp + 0x10]
push dword [esi + 0x7c]
lea eax, [esi + 0x20]
push eax
call fcn.101203d0
add esp, 0xc
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10127ccc
mov ecx, dword [esi + 0x28]
movsd xmm0, qword [esi + 0x20]
mov edx, dword [esi + 0x24]
mov dword [esi + 0x70], edx
mov dword [esi + 0x18], ecx
movsd qword [esi + 0x10], xmm0
mov dword [esi + 0x74], ecx
cmp dword [eax + 0x38], edx
jbe 0x10127e41
mov eax, dword [eax + 0x34]
imul edx, edx, 0xf0
mov edi, dword [eax + edx]
xor edi, 3
or edi, dword [eax + edx + 4]
je 0x10127e41
add eax, edx
cmp dword [eax + 0xcc], ecx
jne 0x10127e41
movzx edx, byte [eax + 0x20]
mov ebx, dword [ebp + 8]
mov edi, 6
add dl, 0xfa
movzx ecx, dl
cmp dl, 6
cmovae ecx, edi
cmp cl, 5
je 0x10127bb0
movzx ecx, cl
cmp ecx, 3
jne 0x10127bb6
cmp byte [eax + 0x21], 0
je 0x10127bb6
jmp 0x10127bc3
cmp byte [eax + 0x21], 1
je 0x10127bc3
cmp dword [eax + 0xd8], 0
je 0x10127b03
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x70], edx
mov dword [esi + 0x74], eax
cmp dword [ecx + 0x38], edx
jbe 0x10127e83
mov ecx, dword [ecx + 0x34]
imul edx, edx, 0xf0
mov edi, dword [ecx + edx]
xor edi, 3
or edi, dword [ecx + edx + 4]
je 0x10127e83
add ecx, edx
cmp dword [ecx + 0xcc], eax
jne 0x10127e83
mov eax, dword [ecx + 0x18]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x10]
push eax
push ebx
call fcn.10128710
add esp, 8
xor eax, eax
cmp dword [esi + 0xc], 0x3b9aca00
mov ecx, dword [esi + 0x18]
movsd xmm0, qword [esi + 0x10]
setne al
mov dword [esi + 0x28], ecx
movsd qword [esi + 0x20], xmm0
push eax
lea eax, [esi + 0x20]
push eax
push dword [ebp + 0x14]
call fcn.10122240
add esp, 0xc
jmp 0x10127b00
cmp dword [esi + 0x50], 2
je 0x10127d3a
lea eax, [esi + 0x48]
mov dword [esi + 0x90], 0
push eax
push dword [esi + 8]
call fcn.1014a9d0
mov edx, dword [esi + 4]
add esp, 8
mov eax, dword [esi + 0x50]
cmp eax, 2
je 0x10127d3a
mov ecx, dword [esi + 0x4c]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x48]
mov dword [esi + 0x90], 3
push ecx
push eax
push dword [esi + 8]
call fcn.1014aa00
add esp, 0xc
cmp dword [esi + 0xc], 0
mov edx, dword [esi + 4]
je 0x10127d3a
mov eax, dword [esi + 0x54]
lock dec dword [eax]
jne 0x10127d3a
lea eax, [esi + 0x54]
mov dword [esi + 0x90], 0xffffffff
push eax
call fcn.100077c0
mov edx, dword [esi + 4]
add esp, 4
jmp 0x10127d3a
cmp dword [esi + 0x50], 2
je 0x10127d37
lea eax, [esi + 0x48]
mov dword [esi + 0x90], 0
push eax
push dword [esi + 8]
call fcn.1014a9d0
add esp, 8
mov eax, dword [esi + 0x50]
cmp eax, 2
je 0x10127d37
mov ecx, dword [esi + 0x4c]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x48]
mov dword [esi + 0x90], 2
push ecx
push eax
push dword [esi + 8]
call fcn.1014aa00
add esp, 0xc
cmp dword [esi + 0xc], 0
je 0x10127d37
mov eax, dword [esi + 0x54]
lock dec dword [eax]
jne 0x10127d37
lea eax, [esi + 0x54]
mov dword [esi + 0x90], 0xffffffff
push eax
call fcn.100077c0
add esp, 4
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x88]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [0x10270ae8]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
mov edx, dword [esi + 4]
jae 0x10127dfd
movzx eax, al
push eax
push dword [0x10270ae0]
call fcn.101498b0
mov edx, dword [esi + 4]
add esp, 8
test al, al
je 0x10127acd
mov eax, dword [0x10270ae0]
cmp dword [eax + 0x20], 0
je 0x10127ec5
movsd xmm0, qword [eax + 0x1c]
movsd xmm1, qword [eax + 0x24]
lea edx, [esi + 0x20]
lea ecx, [eax + 0x1c]
lea edi, [esi + 0x48]
mov dword [esi + 0x10], edx
lea edx, [esi + 0x6c]
mov dword [esi + 0x14], edx
lea edx, [esi + 0x10]
mov dword [esi + 0x18], 0x101fce94
mov dword [esi + 0x3c], edx
mov dword [esi + 0x40], 1
mov dword [esi + 0x44], ecx
lea ecx, [esi + 0x3c]
movsd qword [esi + 0x28], xmm1
movsd qword [esi + 0x20], xmm0
mov dword [esi + 0x30], 0
push ecx
push eax
push edi
call fcn.101495b0
add esp, 0xc
cmp dword [esi + 0x50], 2
lea eax, [esi + 0x50]
mov dword [esi + 8], eax
jne 0x10127e22
mov edx, dword [esi + 4]
jmp 0x10127ae1
test ecx, ecx
je 0x10127acd
push 0x10270ae0
call fcn.101c9b80
mov edx, dword [esi + 4]
add esp, 4
test al, al
jne 0x10127d6b
jmp 0x10127acd
mov dword [esi + 0x90], 0
push edi
push eax
call fcn.1014a9a0
mov ebx, dword [ebp + 8]
add esp, 8
mov edx, dword [esi + 4]
jmp 0x10127ae1
lea eax, [esi + 0x74]
mov dword [esi + 0x20], 0x101f195c
mov dword [esi + 0x24], 1
mov dword [esi + 0x30], 0
mov dword [esi + 0x3c], eax
lea eax, [esi + 0x3c]
mov dword [esi + 0x40], 0x10121770
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 1
push 0x101f1964
lea eax, [esi + 0x20]
push eax
call fcn.101cc530
add esp, 8
jmp 0x10127ec3
lea eax, [esi + 0x74]
mov dword [esi + 0x20], 0x101f195c
mov dword [esi + 0x24], 1
mov dword [esi + 0x30], 0
mov dword [esi + 0x3c], eax
lea eax, [esi + 0x3c]
mov dword [esi + 0x40], 0x10121770
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 1
push 0x101f1964
lea eax, [esi + 0x20]
push eax
call fcn.101cc530
add esp, 8
ud2
push 0x101fcee4
push 0x22
push 0x101fcde8
call fcn.101cc4e0
nop word cs:[eax + eax]
push ebp
sub esp, 0xc
lea esi, [ebp - 0x94]
mov ebp, dword [esi + 0x80]
lea ecx, [esi + 0x48]
call fcn.1002d700
add esp, 0xc
pop ebp
ret