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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xf0
mov esi, esp
mov dword [esi + 0xd8], ebp
mov dword [esi + 0xdc], esp
mov dword [esi + 0xe8], 0xffffffff
mov dword [esi + 0xe4], 0x10129e20
lea eax, [esi + 0xe0]
mov edi, dword [ebp + 0x10]
mov ecx, dword fs:[0]
mov dword [esi + 0xe0], ecx
mov dword fs:[0], eax
mov eax, dword [0x1027132c]
mov eax, dword [eax]
test eax, eax
je 0x1012751b
lea eax, [esi + 0x18]
mov ecx, dword [edi + 4]
mov dword [esi + 0x18], 2
mov dword [esi + 0x28], 0
mov dword [esi + 4], eax
mov eax, dword [edi]
mov edi, dword [edi + 8]
mov dword [esi + 0x64], ecx
mov dword [esi + 0x68], edi
cmp dword [eax + 0x38], ecx
jbe 0x101278e8
mov eax, dword [eax + 0x34]
imul ecx, ecx, 0xf0
mov edx, dword [eax + ecx]
xor edx, 3
or edx, dword [eax + ecx + 4]
je 0x101278e8
add eax, ecx
cmp dword [eax + 0xcc], edi
jne 0x101278e8
movzx ecx, byte [eax + 0x20]
add cl, 0xfa
movzx edx, cl
cmp cl, 6
mov ecx, 6
cmovb ecx, edx
cmp cl, 6
ja 0x101274e2
movzx ecx, cl
mov edx, 0x54
bt edx, ecx
jae 0x101274e2
cmp dword [eax + 0xd8], 0
je 0x10127786
mov ecx, dword [ebp + 0xc]
add eax, 0x38
mov dword [esi + 0xe8], 1
push ecx
push eax
call fcn.10119ab0
add esp, 8
test eax, eax
mov eax, dword [ebp + 0x10]
je 0x10127818
mov ebx, 1
cmp dword [esi + 0x18], 2
jne 0x10127792
jmp 0x1012788f
movzx eax, byte [0x10270ad0]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x101278a5
movzx eax, al
push eax
push dword [0x10270ac8]
call fcn.101498b0
add esp, 8
test al, al
je 0x1012745c
mov eax, dword [0x10270ac8]
mov ecx, dword [eax + 0x20]
test ecx, ecx
mov dword [esi + 4], ecx
je 0x1012795b
lea ecx, [eax + 0x1c]
mov edx, dword [ecx]
mov dword [esi + 0xa4], ecx
test edx, edx
je 0x1012795b
lea ecx, [eax + 0x20]
mov dword [esi + 0xb0], edx
mov dword [esi + 0xa0], eax
mov ebx, dword [edi + 4]
movsd xmm0, qword [ecx]
mov dword [esi], ebx
movsd qword [esi + 0xb4], xmm0
mov eax, dword [ecx + 8]
mov dword [esi + 0x64], ebx
mov dword [esi + 0xbc], eax
mov eax, dword [edi]
mov edi, dword [edi + 8]
mov dword [esi + 0xc0], 0
mov dword [esi + 0x68], edi
mov dword [esi + 0xc], eax
cmp dword [eax + 0x38], ebx
jbe 0x10127934
mov eax, dword [esi + 0xc]
mov dword [esi + 8], edi
mov ebx, dword [eax + 0x34]
imul eax, dword [esi], 0xf0
mov edi, dword [ebx + eax]
xor edi, 3
or edi, dword [ebx + eax + 4]
mov edi, dword [esi + 8]
je 0x10127934
add ebx, eax
cmp dword [ebx + 0xcc], edi
jne 0x10127934
cmp dword [esi + 4], 1
lea eax, [ebx + 0xcc]
mov dword [esi + 0x60], eax
mov dword [esi + 0xa8], eax
je 0x1012795b
mov dword [esi + 0xc4], edx
mov eax, dword [esi]
movsd xmm0, qword [ecx]
movsd qword [esi + 0xc8], xmm0
mov edi, dword [ecx + 8]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], 1
mov dword [esi + 0x68], eax
mov edi, dword [ebx]
xor edi, 3
or edi, dword [ebx + 4]
je 0x10127934
mov edi, dword [esi + 0x60]
cmp dword [edi], eax
jne 0x10127934
mov eax, dword [esi + 4]
lea edi, [ebx + 0x20]
mov dword [esi + 0xac], edi
cmp eax, 2
jbe 0x1012795b
mov dword [esi + 0x64], edx
cmp eax, 3
movsd xmm0, qword [ecx]
movsd qword [esi + 0x68], xmm0
mov edi, dword [ecx + 8]
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], 2
je 0x1012795b
mov edi, dword [ecx + 8]
mov eax, dword [esi]
mov dword [esi + 0x84], edi
movsd xmm0, qword [ecx]
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 8]
movsd qword [esi + 0x7c], xmm0
mov dword [esi + 0x78], edx
mov dword [esi + 0x88], 3
mov dword [esi + 0x90], eax
mov ecx, dword [ebx]
xor ecx, 3
or ecx, dword [ebx + 4]
je 0x1012796c
mov ecx, dword [esi + 0x60]
cmp dword [ecx], eax
jne 0x1012796c
lea eax, [esi + 0xb0]
add ebx, 0x38
lea edi, [esi + 0x10]
mov dword [esi + 0x30], eax
lea eax, [esi + 0xa8]
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x34], eax
lea eax, [esi + 0xc4]
mov dword [esi + 0x38], 0x101fce74
mov dword [esi + 0x3c], eax
lea eax, [esi + 0xac]
mov dword [esi + 0x40], eax
lea eax, [esi + 0x64]
mov dword [esi + 0x44], 0x101fcec4
mov dword [esi + 0x48], eax
lea eax, [ebp + 0xc]
mov dword [esi + 0x4c], eax
lea eax, [esi + 0x78]
mov dword [esi + 0x50], 0x101fce94
mov dword [esi + 0x54], eax
lea eax, [esi + 0x8c]
mov dword [esi + 0x58], eax
lea eax, [esi + 0x30]
mov dword [esi + 0x5c], 0x101fced4
mov dword [esi + 0x94], eax
mov eax, dword [esi + 0xa4]
mov dword [esi + 0x98], 4
mov dword [esi + 0x9c], eax
lea eax, [esi + 0x94]
push eax
push dword [esi + 0xa0]
push edi
call fcn.101495b0
add esp, 0xc
cmp dword [esi + 0x18], 2
lea eax, [esi + 0x18]
mov dword [esi + 4], eax
jne 0x101278c7
mov edi, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
jmp 0x10127478
xor ebx, ebx
cmp dword [esi + 0x18], 2
je 0x1012788f
lea eax, [esi + 0x10]
mov dword [esi + 8], ebx
mov dword [esi], edx
mov dword [esi + 0xe8], 0
push eax
push dword [esi + 4]
call fcn.1014a9d0
add esp, 8
mov eax, dword [esi + 0x18]
mov edx, dword [esi]
mov ebx, dword [esi + 8]
cmp eax, 2
je 0x1012788f
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0xe8], 3
push ecx
push eax
push dword [esi + 4]
call fcn.1014aa00
add esp, 0xc
cmp dword [esi + 0xc], 0
mov edx, dword [esi]
mov ebx, dword [esi + 8]
je 0x1012788f
mov eax, dword [esi + 0x1c]
lock dec dword [eax]
jne 0x1012788f
lea eax, [esi + 0x1c]
mov dword [esi + 0xe8], 0xffffffff
push eax
mov edi, edx
call fcn.100077c0
mov edx, edi
add esp, 4
jmp 0x1012788f
push eax
push dword [ebp + 8]
call fcn.10128710
add esp, 8
cmp dword [esi + 0x18], 2
je 0x1012788d
lea eax, [esi + 0x10]
mov dword [esi + 0xe8], 0
push eax
push dword [esi + 4]
call fcn.1014a9d0
add esp, 8
mov eax, dword [esi + 0x18]
cmp eax, 2
je 0x1012788d
mov ecx, dword [esi + 0x14]
mov dword [esi], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0xe8], 2
push ecx
push eax
push dword [esi + 4]
call fcn.1014aa00
add esp, 0xc
cmp dword [esi], 0
je 0x1012788d
mov eax, dword [esi + 0x1c]
lock dec dword [eax]
jne 0x1012788d
lea eax, [esi + 0x1c]
mov dword [esi + 0xe8], 0xffffffff
push eax
call fcn.100077c0
add esp, 4
xor ebx, ebx
mov eax, dword [esi + 0xe0]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test ecx, ecx
je 0x1012745c
push 0x10270ac8
call fcn.101c9b80
add esp, 4
test al, al
jne 0x10127531
jmp 0x1012745c
mov dword [esi + 0xe8], 0
push edi
push eax
call fcn.1014a9a0
add esp, 8
mov edi, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
jmp 0x10127478
lea eax, [esi + 0x68]
mov dword [esi + 0x30], 0x101f195c
mov dword [esi + 0x34], 1
mov dword [esi + 0x40], 0
mov dword [esi + 0xe8], 1
mov dword [esi + 0x78], eax
lea eax, [esi + 0x78]
mov dword [esi + 0x7c], 0x10121770
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 1
lea eax, [esi + 0x30]
push 0x101f1964
push eax
call fcn.101cc530
add esp, 8
ud2
lea eax, [esi + 0x68]
mov dword [esi + 0x30], 0x101f195c
mov dword [esi + 0x34], 1
mov dword [esi + 0x40], 0
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], 0x10121770
lea eax, [esi + 0x78]
jmp 0x1012799d
push 0x101fceb4
push 0x22
push 0x101fcde8
call fcn.101cc4e0
lea eax, [esi + 0x90]
mov dword [esi + 0x30], 0x101f195c
mov dword [esi + 0x34], 1
mov dword [esi + 0x40], 0
mov dword [esi + 0x94], eax
lea eax, [esi + 0x94]
mov dword [esi + 0x98], 0x10121770
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 1
lea eax, [esi + 0x30]
push 0x101f1964
push eax
call fcn.101cc530
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0xec]
mov ebp, dword [esi + 0xd8]
lea ecx, [esi + 0x10]
call fcn.1002d700
add esp, 0xc
pop ebp
ret