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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xf8
mov esi, esp
mov dword [esi + 0xe0], ebp
mov dword [esi + 0xe4], esp
mov dword [esi + 0xf0], 0xffffffff
mov dword [esi + 0xec], 0x10128c70
lea eax, [esi + 0xe8]
mov edi, dword [ebp + 0x10]
mov ecx, dword fs:[0]
mov dword [esi + 0xe8], ecx
mov dword fs:[0], eax
mov eax, dword [0x1027032c]
mov eax, dword [eax]
test eax, eax
je 0x101263cb
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 + 0x70], ecx
mov dword [esi + 0x74], edi
cmp dword [eax + 0x38], ecx
jbe 0x10126799
mov eax, dword [eax + 0x34]
imul ecx, ecx, 0xf0
mov edx, dword [eax + ecx]
xor edx, 3
or edx, dword [eax + ecx + 4]
je 0x10126799
add eax, ecx
cmp dword [eax + 0xcc], edi
jne 0x10126799
movzx ecx, byte [eax + 0x20]
add cl, 0xfa
movzx edx, cl
cmp cl, 6
mov ecx, 6
cmovb ecx, edx
cmp cl, 6
ja 0x10126392
movzx ecx, cl
mov edx, 0x54
bt edx, ecx
jae 0x10126392
cmp dword [eax + 0xd8], 0
je 0x10126637
mov ecx, dword [ebp + 0xc]
add eax, 0x38
mov dword [esi + 0xf0], 1
push ecx
push eax
call fcn.1012a000
add esp, 8
test eax, eax
mov eax, dword [ebp + 0x10]
je 0x101266c9
mov ebx, 1
cmp dword [esi + 0x18], 2
jne 0x10126643
jmp 0x10126740
movzx eax, byte [0x1026fb38]
movzx ecx, al
lea edx, [ecx - 1]
cmp edx, 2
jae 0x10126756
movzx eax, al
push eax
push dword [0x1026fb30]
call fcn.10147240
add esp, 8
test al, al
je 0x1012630c
mov eax, dword [0x1026fb30]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x1012681e
mov ebx, dword [eax + 0x1c]
mov edx, dword [eax + 0x24]
mov dword [esi + 0xac], eax
mov eax, dword [eax + 0x28]
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ecx
mov dword [esi + 0xc0], edx
mov dword [esi + 4], edx
mov edx, dword [edi + 4]
mov dword [esi + 0xc4], eax
mov dword [esi + 0xc], eax
mov eax, dword [edi + 8]
mov dword [esi + 0xc8], 0
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], edx
mov dword [esi], eax
mov dword [esi + 0x74], eax
mov eax, dword [edi]
mov dword [esi + 8], edx
cmp dword [eax + 0x38], edx
jbe 0x101267ee
mov ebx, dword [eax + 0x34]
imul edx, dword [esi + 8], 0xf0
mov edi, dword [ebx + edx]
xor edi, 3
or edi, dword [ebx + edx + 4]
je 0x101267ee
add ebx, edx
mov edx, dword [esi]
mov dword [esi + 0x64], eax
cmp dword [ebx + 0xcc], edx
jne 0x101267ee
mov edi, dword [esi]
lea eax, [ebx + 0xcc]
cmp ecx, 1
mov dword [esi + 0x68], eax
mov dword [esi + 0xb0], eax
je 0x1012681e
mov edx, dword [esi + 0x6c]
mov eax, dword [esi + 4]
mov dword [esi + 0xcc], edx
mov dword [esi + 0xd0], ecx
mov dword [esi + 0xd4], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0xd8], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xdc], 1
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edi
mov eax, edi
mov edi, dword [ebx]
xor edi, 3
or edi, dword [ebx + 4]
je 0x101267ee
mov edi, dword [esi + 0x68]
cmp dword [edi], eax
jne 0x101267ee
lea edi, [ebx + 0x20]
cmp ecx, 2
mov dword [esi + 0xb4], edi
jbe 0x1012681e
mov dword [esi + 0x70], edx
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
cmp ecx, 3
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], edx
mov dword [esi + 0x80], 2
je 0x1012681e
mov edi, dword [esi + 0x6c]
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], ecx
mov dword [esi + 0x8c], eax
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov dword [esi + 0x90], edx
mov dword [esi + 0x94], 3
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], ecx
mov eax, dword [ebx]
xor eax, 3
or eax, dword [ebx + 4]
je 0x1012682f
mov eax, dword [esi + 0x68]
cmp dword [eax], ecx
jne 0x1012682f
mov edx, dword [esi + 0xac]
add ebx, 0x38
lea ecx, [esi + 0xb8]
lea edi, [esi + 0xcc]
mov dword [esi + 0x98], ebx
lea ebx, [esi + 0xb0]
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], 0x101f2c18
mov dword [esi + 0x40], edi
lea ebx, [esi + 0xb4]
lea edi, [esi + 0x70]
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], 0x101f2c68
mov dword [esi + 0x4c], edi
lea ebx, [ebp + 0xc]
lea edi, [esi + 0x84]
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], 0x101f2c38
mov dword [esi + 0x58], edi
lea edi, [esi + 0x34]
lea eax, [edx + 0x1c]
lea ebx, [esi + 0x98]
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], 4
mov dword [esi + 0xa8], eax
lea eax, [esi + 0xa0]
lea edi, [esi + 0x10]
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0x101f2c78
push eax
push edx
push edi
call fcn.10146f30
add esp, 0xc
cmp dword [esi + 0x18], 2
lea eax, [esi + 0x18]
mov dword [esi + 4], eax
jne 0x10126778
mov edi, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x64]
jmp 0x10126328
xor ebx, ebx
cmp dword [esi + 0x18], 2
je 0x10126740
lea eax, [esi + 0x10]
mov dword [esi + 8], ebx
mov dword [esi], edx
mov dword [esi + 0xf0], 0
push eax
push dword [esi + 4]
call fcn.10148340
add esp, 8
mov eax, dword [esi + 0x18]
mov edx, dword [esi]
mov ebx, dword [esi + 8]
cmp eax, 2
je 0x10126740
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0xf0], 3
push ecx
push eax
push dword [esi + 4]
call fcn.10148370
add esp, 0xc
cmp dword [esi + 0xc], 0
mov edx, dword [esi]
mov ebx, dword [esi + 8]
je 0x10126740
mov eax, dword [esi + 0x1c]
lock dec dword [eax]
jne 0x10126740
lea eax, [esi + 0x1c]
mov dword [esi + 0xf0], 0xffffffff
push eax
mov edi, edx
call fcn.100067e0
mov edx, edi
add esp, 4
jmp 0x10126740
push eax
push dword [ebp + 8]
call fcn.101275d0
add esp, 8
cmp dword [esi + 0x18], 2
je 0x1012673e
lea eax, [esi + 0x10]
mov dword [esi + 0xf0], 0
push eax
push dword [esi + 4]
call fcn.10148340
add esp, 8
mov eax, dword [esi + 0x18]
cmp eax, 2
je 0x1012673e
mov ecx, dword [esi + 0x14]
mov dword [esi], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0xf0], 2
push ecx
push eax
push dword [esi + 4]
call fcn.10148370
add esp, 0xc
cmp dword [esi], 0
je 0x1012673e
mov eax, dword [esi + 0x1c]
lock dec dword [eax]
jne 0x1012673e
lea eax, [esi + 0x1c]
mov dword [esi + 0xf0], 0xffffffff
push eax
call fcn.100067e0
add esp, 4
xor ebx, ebx
mov eax, dword [esi + 0xe8]
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 0x1012630c
push 0x1026fb30
call fcn.101c84c0
add esp, 4
test al, al
jne 0x101263e1
jmp 0x1012630c
mov dword [esi + 0xf0], 0
push edi
push eax
call fcn.10148310
add esp, 8
mov edi, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x64]
jmp 0x10126328
lea eax, [esi + 0x74]
mov dword [esi + 0x34], 0x101f1d1c
mov dword [esi + 0x38], 1
mov dword [esi + 0x44], 0
mov dword [esi + 0xf0], 1
mov dword [esi + 0x84], eax
lea eax, [esi + 0x84]
mov dword [esi + 0x88], 0x101253b0
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], 1
lea eax, [esi + 0x34]
push 0x101f1d24
push eax
call fcn.101cb880
add esp, 8
ud2
lea eax, [esi + 0x74]
mov dword [esi + 0x34], 0x101f1d1c
mov dword [esi + 0x38], 1
mov dword [esi + 0x44], 0
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], 0x101253b0
lea eax, [esi + 0x84]
jmp 0x10126860
push 0x101f2c58
push 0x22
push 0x101f2b8c
call fcn.101cb830
lea eax, [esi + 0x9c]
mov dword [esi + 0x34], 0x101f1d1c
mov dword [esi + 0x38], 1
mov dword [esi + 0x44], 0
mov dword [esi + 0xa0], eax
lea eax, [esi + 0xa0]
mov dword [esi + 0xa4], 0x101253b0
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], 1
lea eax, [esi + 0x34]
push 0x101f1d24
push eax
call fcn.101cb880
nop dword [eax + eax]
push ebp
sub esp, 0xc
lea esi, [ebp - 0xf4]
mov ebp, dword [esi + 0xe0]
lea ecx, [esi + 0x10]
call fcn.100a41f0
add esp, 0xc
pop ebp
ret