Function at 0x10126910
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], 0x10128c80
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea eax, [esi + 0x80]
mov ecx, dword fs:[0]
mov dword [esi + 0x80], ecx
mov dword fs:[0], eax
lea eax, [ebx + 0x48]
push edi
push eax
call fcn.1012a000
add esp, 8
test eax, eax
jne 0x10126bfd
mov dword [esi + 0x70], eax
mov eax, dword [0x1027032c]
mov dword [esi + 0x64], edi
mov eax, dword [eax]
mov dword [esi + 4], edx
test eax, eax
je 0x10126c12
lea eax, [esi + 0x48]
mov dword [esi + 0x48], 2
mov dword [esi + 0x58], 0
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x4c]
mov ecx, dword [esi + 0x64]
add ecx, eax
jo 0x101269aa
mov eax, ecx
mov dword [ebx + 0x4c], ecx
lea ecx, [ebx + 0x14]
mov dword [esi + 0x74], ecx
jmp 0x101269c9
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
mov edx, dword [esi + 4]
test eax, eax
jle 0x10126b06
mov dword [esi + 0x88], 1
push dword [ebp + 0x10]
push dword [esi + 0x74]
lea eax, [esi + 0x10]
push eax
call fcn.101246b0
add esp, 0xc
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10126b8c
mov ecx, dword [esi + 0x18]
movsd xmm0, qword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x68], edx
mov dword [esi + 0x30], ecx
movsd qword [esi + 0x28], xmm0
mov dword [esi + 0x6c], ecx
cmp dword [eax + 0x38], edx
jbe 0x10126d00
mov eax, dword [eax + 0x34]
imul edx, edx, 0xf0
mov edi, dword [eax + edx]
xor edi, 3
or edi, dword [eax + edx + 4]
je 0x10126d00
add eax, edx
cmp dword [eax + 0xcc], ecx
jne 0x10126d00
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 0x10126a70
movzx ecx, cl
cmp ecx, 3
jne 0x10126a76
cmp byte [eax + 0x21], 0
je 0x10126a76
jmp 0x10126a83
cmp byte [eax + 0x21], 1
je 0x10126a83
cmp dword [eax + 0xd8], 0
je 0x101269c3
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x68], edx
mov dword [esi + 0x6c], eax
cmp dword [ecx + 0x38], edx
jbe 0x10126d42
mov ecx, dword [ecx + 0x34]
imul edx, edx, 0xf0
mov edi, dword [ecx + edx]
xor edi, 3
or edi, dword [ecx + edx + 4]
je 0x10126d42
add ecx, edx
cmp dword [ecx + 0xcc], eax
jne 0x10126d42
mov eax, dword [ecx + 0x18]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x28]
push eax
push ebx
call fcn.101275d0
add esp, 8
xor eax, eax
cmp dword [esi + 0xc], 0x3b9aca00
mov ecx, dword [esi + 0x30]
movsd xmm0, qword [esi + 0x28]
setne al
mov dword [esi + 0x18], ecx
movsd qword [esi + 0x10], xmm0
push eax
lea eax, [esi + 0x10]
push eax
push dword [ebp + 0x14]
call fcn.101298c0
add esp, 0xc
jmp 0x101269c0
cmp dword [esi + 0x48], 2
je 0x10126bfa
lea eax, [esi + 0x40]
mov dword [esi + 0x88], 0
push eax
push dword [esi + 8]
call fcn.10148340
mov edx, dword [esi + 4]
add esp, 8
mov eax, dword [esi + 0x48]
cmp eax, 2
je 0x10126bfa
mov ecx, dword [esi + 0x44]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x40]
mov dword [esi + 0x88], 3
push ecx
push eax
push dword [esi + 8]
call fcn.10148370
add esp, 0xc
cmp dword [esi + 0xc], 0
mov edx, dword [esi + 4]
je 0x10126bfa
mov eax, dword [esi + 0x4c]
lock dec dword [eax]
jne 0x10126bfa
lea eax, [esi + 0x4c]
mov dword [esi + 0x88], 0xffffffff
push eax
call fcn.100067e0
mov edx, dword [esi + 4]
add esp, 4
jmp 0x10126bfa
cmp dword [esi + 0x48], 2
je 0x10126bf7
lea eax, [esi + 0x40]
mov dword [esi + 0x88], 0
push eax
push dword [esi + 8]
call fcn.10148340
add esp, 8
mov eax, dword [esi + 0x48]
cmp eax, 2
je 0x10126bf7
mov ecx, dword [esi + 0x44]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x40]
mov dword [esi + 0x88], 2
push ecx
push eax
push dword [esi + 8]
call fcn.10148370
add esp, 0xc
cmp dword [esi + 0xc], 0
je 0x10126bf7
mov eax, dword [esi + 0x4c]
lock dec dword [eax]
jne 0x10126bf7
lea eax, [esi + 0x4c]
mov dword [esi + 0x88], 0xffffffff
push eax
call fcn.100067e0
add esp, 4
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x80]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [0x1026fb50]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
mov edx, dword [esi + 4]
jae 0x10126cbc
movzx eax, al
push eax
push dword [0x1026fb48]
call fcn.10147240
mov edx, dword [esi + 4]
add esp, 8
test al, al
je 0x10126987
mov eax, dword [0x1026fb48]
mov edx, dword [eax + 0x20]
test edx, edx
je 0x10126d84
mov edi, dword [eax + 0x1c]
movsd xmm0, qword [eax + 0x24]
lea ecx, [eax + 0x1c]
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edx
lea edx, [esi + 0x10]
lea edi, [esi + 0x28]
movlps qword [esi + 0x18], xmm0
mov dword [esi + 0x20], 0
mov dword [esi + 0x34], edi
mov dword [esi + 0x28], edx
lea edx, [esi + 0x64]
mov dword [esi + 0x38], 1
mov dword [esi + 0x3c], ecx
lea ecx, [esi + 0x34]
lea edi, [esi + 0x40]
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], 0x101f2c38
push ecx
push eax
push edi
call fcn.10146f30
add esp, 0xc
cmp dword [esi + 0x48], 2
lea eax, [esi + 0x48]
mov dword [esi + 8], eax
jne 0x10126ce1
mov edx, dword [esi + 4]
jmp 0x1012699b
test ecx, ecx
je 0x10126987
push 0x1026fb48
call fcn.101c84c0
mov edx, dword [esi + 4]
add esp, 4
test al, al
jne 0x10126c2b
jmp 0x10126987
mov dword [esi + 0x88], 0
push edi
push eax
call fcn.10148310
mov ebx, dword [ebp + 8]
add esp, 8
mov edx, dword [esi + 4]
jmp 0x1012699b
lea eax, [esi + 0x6c]
mov dword [esi + 0x10], 0x101f1d1c
mov dword [esi + 0x14], 1
mov dword [esi + 0x20], 0
mov dword [esi + 0x34], eax
lea eax, [esi + 0x34]
mov dword [esi + 0x38], 0x101253b0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 1
push 0x101f1d24
lea eax, [esi + 0x10]
push eax
call fcn.101cb880
add esp, 8
jmp 0x10126d82
lea eax, [esi + 0x6c]
mov dword [esi + 0x10], 0x101f1d1c
mov dword [esi + 0x14], 1
mov dword [esi + 0x20], 0
mov dword [esi + 0x34], eax
lea eax, [esi + 0x34]
mov dword [esi + 0x38], 0x101253b0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 1
push 0x101f1d24
lea eax, [esi + 0x10]
push eax
call fcn.101cb880
add esp, 8
ud2
push 0x101f2c88
push 0x22
push 0x101f2b8c
call fcn.101cb830
nop word cs:[eax + eax]
nop
push ebp
sub esp, 0xc
lea esi, [ebp - 0x8c]
mov ebp, dword [esi + 0x78]
lea ecx, [esi + 0x40]
call fcn.100a41f0
add esp, 0xc
pop ebp
ret