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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, esp
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], esp
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x84], 0x10129e50
mov ebx, ecx
lea eax, [esi + 0x80]
mov ecx, dword fs:[0]
mov dword [esi + 0x80], ecx
mov dword fs:[0], eax
mov eax, dword [0x1027132c]
mov dword [esi + 0x5c], edx
mov eax, dword [eax]
mov dword [esi], ebx
test eax, eax
je 0x1012850b
lea eax, [esi + 0x40]
mov dword [esi + 0x40], 2
mov dword [esi + 0x50], 0
mov dword [esi + 4], eax
mov eax, dword [ebx + 0x4c]
mov ecx, dword [esi + 0x5c]
add ecx, eax
jo 0x101282dd
mov eax, ecx
mov dword [ebx + 0x4c], ecx
lea ecx, [ebx + 0x14]
mov dword [esi + 0x70], ecx
test eax, eax
jg 0x101282fb
jmp 0x1012843e
mov eax, dword [ebx + 0x4c]
test eax, eax
jle 0x1012843e
mov dword [esi + 0x88], 1
push dword [ebp + 8]
push dword [esi + 0x70]
lea eax, [esi + 8]
push eax
call fcn.101208e0
add esp, 0xc
mov eax, dword [esi + 8]
test eax, eax
je 0x1012848e
mov ecx, dword [esi + 0x10]
movsd xmm0, qword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esi + 0x20], edx
mov dword [esi + 0x68], ecx
movsd qword [esi + 0x60], xmm0
mov dword [esi + 0x24], ecx
cmp dword [eax + 0x38], edx
jbe 0x101285e9
mov eax, dword [eax + 0x34]
imul edx, edx, 0xf0
mov edi, dword [eax + edx]
xor edi, 3
or edi, dword [eax + edx + 4]
je 0x101285e9
add eax, edx
cmp dword [eax + 0xcc], ecx
jne 0x101285e9
movzx edx, byte [eax + 0x20]
mov ebx, dword [esi]
mov edi, 6
add dl, 0xfa
movzx ecx, dl
cmp dl, 6
cmovae ecx, edi
cmp cl, 5
je 0x101283a0
movzx ecx, cl
cmp ecx, 3
jne 0x101283a6
cmp byte [eax + 0x21], 0
je 0x101283a6
jmp 0x101283b3
cmp byte [eax + 0x21], 1
je 0x101283b3
cmp dword [eax + 0xd8], 0
je 0x101282f0
mov edx, dword [esi + 0x64]
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x60]
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
cmp dword [ecx + 0x38], edx
jbe 0x1012862b
mov ecx, dword [ecx + 0x34]
imul edx, edx, 0xf0
mov edi, dword [ecx + edx]
xor edi, 3
or edi, dword [ecx + edx + 4]
je 0x1012862b
add ecx, edx
cmp dword [ecx + 0xcc], eax
jne 0x1012862b
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x74], eax
lea eax, [esi + 0x60]
push eax
push ebx
call fcn.10128710
add esp, 8
xor eax, eax
cmp dword [esi + 0x74], 0x3b9aca00
mov ecx, dword [esi + 0x68]
movsd xmm0, qword [esi + 0x60]
setne al
mov dword [esi + 0x10], ecx
movsd qword [esi + 8], xmm0
push eax
lea eax, [esi + 8]
push eax
push dword [ebp + 0xc]
call fcn.10122240
add esp, 0xc
mov ebx, dword [esi]
mov eax, dword [ebx + 0x4c]
test eax, eax
jg 0x101282fb
cmp dword [esi + 0x40], 2
je 0x101284f7
lea eax, [esi + 0x38]
mov dword [esi + 0x88], 0
push eax
push dword [esi + 4]
call fcn.1014a9d0
add esp, 8
mov eax, dword [esi + 0x40]
cmp eax, 2
je 0x101284f7
mov ecx, dword [esi + 0x3c]
mov dword [esi], eax
mov eax, dword [esi + 0x38]
mov dword [esi + 0x88], 3
push ecx
push eax
push dword [esi + 4]
call fcn.1014aa00
add esp, 0xc
jmp 0x101284d4
cmp dword [esi + 0x40], 2
je 0x101284f7
lea eax, [esi + 0x38]
mov dword [esi + 0x88], 0
push eax
push dword [esi + 4]
call fcn.1014a9d0
add esp, 8
mov eax, dword [esi + 0x40]
cmp eax, 2
je 0x101284f7
mov ecx, dword [esi + 0x3c]
mov dword [esi], eax
mov eax, dword [esi + 0x38]
mov dword [esi + 0x88], 2
push ecx
push eax
push dword [esi + 4]
call fcn.1014aa00
add esp, 0xc
cmp dword [esi], 0
je 0x101284f7
mov eax, dword [esi + 0x44]
lock dec dword [eax]
jne 0x101284f7
lea eax, [esi + 0x44]
mov dword [esi + 0x88], 0xffffffff
push eax
call fcn.100077c0
add esp, 4
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
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
jae 0x101285c7
movzx eax, al
push eax
push dword [0x10270ae0]
call fcn.101498b0
add esp, 8
test al, al
je 0x101282ba
mov eax, dword [0x10270ae0]
cmp dword [eax + 0x20], 0
je 0x1012866d
movsd xmm0, qword [eax + 0x1c]
movsd xmm1, qword [eax + 0x24]
lea edx, [esi + 8]
lea ecx, [eax + 0x1c]
lea edi, [esi + 0x38]
mov dword [esi + 0x2c], edx
lea edx, [esi + 0x5c]
mov dword [esi + 0x30], edx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], 0x101fce94
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], ecx
lea ecx, [esi + 0x20]
movsd qword [esi + 0x10], xmm1
movsd qword [esi + 8], xmm0
mov dword [esi + 0x18], 0
push ecx
push eax
push edi
call fcn.101495b0
add esp, 0xc
cmp dword [esi + 0x40], 2
lea eax, [esi + 0x40]
mov dword [esi + 4], eax
je 0x101282ce
mov dword [esi + 0x88], 0
push edi
push eax
call fcn.1014a9a0
mov ebx, dword [esi]
add esp, 8
jmp 0x101282ce
test ecx, ecx
je 0x101282ba
push 0x10270ae0
call fcn.101c9b80
add esp, 4
test al, al
jne 0x10128521
jmp 0x101282ba
lea eax, [esi + 0x24]
mov dword [esi + 8], 0x101f195c
mov dword [esi + 0xc], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x2c]
mov dword [esi + 0x30], 0x10121770
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 1
push 0x101f1964
lea eax, [esi + 8]
push eax
call fcn.101cc530
add esp, 8
jmp 0x1012866b
lea eax, [esi + 0x24]
mov dword [esi + 8], 0x101f195c
mov dword [esi + 0xc], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x2c]
mov dword [esi + 0x30], 0x10121770
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 1
push 0x101f1964
lea eax, [esi + 8]
push eax
call fcn.101cc530
add esp, 8
ud2
push 0x101fcee4
push 0x22
push 0x101fcde8
call fcn.101cc4e0
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x8c]
mov ebp, dword [esi + 0x78]
lea ecx, [esi + 0x38]
call fcn.1002d700
add esp, 0xc
pop ebp
ret