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

Disassembly:
sub esp, 0x50
mov eax, dword [esp + 0x68]
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
push esi
push edi
xor edi, edi
mov dword [esp + 0x14], 0
movzx eax, word [eax + 0xc]
movzx esi, ax
movzx ecx, ax
mov ebx, esi
mov dword [esp + 0x24], eax
mov eax, dword [ebp]
shl ebx, 4
add ebx, 0xc
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
mov byte [esp + 0x13], 0
mov dword [esp + 0x38], 0xc
test esi, esi
je 0x10128725
nop word [eax + eax]
mov edx, dword [ecx + eax*4]
cmp dword [edx + 4], 0x676c7966
je 0x1012888d
inc eax
cmp eax, esi
jl 0x10128710
xor eax, eax
mov dword [ebp + 0xc], edi
xor edx, edx
test esi, esi
je 0x1012874c
mov esi, dword [ecx + eax*4]
cmp dword [esi + 4], 0x6c6f6361
je 0x1012874e
mov ebp, dword [esp + 0x24]
inc eax
movzx esi, bp
mov ebp, dword [esp + 0x74]
cmp eax, esi
jl 0x10128730
xor esi, esi
xor ecx, ecx
mov dword [ebp + 0x10], esi
test esi, esi
sete cl
xor eax, eax
test edx, edx
sete al
cmp eax, ecx
jne 0x10128bc2
test edx, edx
je 0x1012877c
mov eax, dword [esi + 0x10]
xor eax, dword [edx + 0x10]
test eax, 0x100
jne 0x10128bc2
lea eax, [esp + 0x14]
push eax
push 0
push 0x10
push 0
push 1
push dword [esp + 0x94]
call fcn.100dcfa0
add esp, 0x18
mov dword [esp + 0x20], eax
cmp dword [esp + 0x14], edi
jne 0x10128b17
lea eax, [esp + 0x14]
push eax
push 0x28
push dword [esp + 0x88]
call fcn.100dcdd0
add esp, 0xc
mov edi, eax
cmp dword [esp + 0x14], 0
jne 0x10128b17
push dword [esp + 0x68]
push dword [esp + 0x68]
push edi
call fcn.100dad70
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x34], ecx
cmp word [esp + 0x24], cx
je 0x10128b01
nop dword [eax + eax]
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + ecx*4]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x50], xmm0
psrldq xmm0, 4
movd esi, xmm0
push esi
push edi
call fcn.100db430
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10128b08
mov ecx, dword [esp + 0x58]
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x68]
ja 0x10128b08
mov edx, dword [esp + 0x44]
cmp edx, 0x68686561
jne 0x10128897
push 0x22
push edi
mov dword [esp + 0x7c], 0
call fcn.100db470
add esp, 8
mov dword [esp + 0x74], eax
test eax, eax
jne 0x10128b08
lea eax, [esp + 0x74]
push eax
push edi
call fcn.100db2f0
add esp, 8
movzx eax, ax
cmp dword [esp + 0x74], 0
jne 0x10128b08
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
jmp 0x1012889b
mov dword [ebp + 0xc], edx
xor eax, eax
jmp 0x10128730
mov eax, dword [esp + 0x2c]
test dword [esp + 0x50], 0x100
mov word [ebp + 6], ax
mov dword [esp + 0x74], 0
jne 0x10128916
cmp edx, 0x68656164
jne 0x101288cf
cmp ecx, 0xc
jb 0x10128b08
mov eax, dword [esp + 0x64]
add eax, esi
mov dword [eax + 8], 0
add esi, dword [esp + 0x64]
push ecx
push esi
call fcn.10126c50
push dword [esp + 0x88]
mov ecx, eax
lea eax, [esp + 0x28]
push dword [esp + 0x64]
mov dword [esp + 0x84], ecx
push esi
mov esi, dword [esp + 0x90]
push eax
lea eax, [esp + 0x30]
push esi
push eax
call fcn.1012e190
add esp, 0x20
test eax, eax
jne 0x10128b08
jmp 0x101289ed
cmp edx, 0x676c7966
jne 0x10128958
push dword [esp + 0x80]
mov esi, dword [esp + 0x80]
lea eax, [esp + 0x20]
push ebp
push eax
push esi
lea eax, [esp + 0x28]
mov byte [esp + 0x23], 1
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x8c]
push eax
push edi
call fcn.10128bd0
add esp, 0x20
jmp 0x101289dd
cmp edx, 0x6c6f6361
jne 0x10128972
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x74], ecx
jmp 0x101289f1
cmp edx, 0x686d7478
jne 0x10128b08
cmp byte [esp + 0x13], 0
jne 0x101289a6
push dword [esp + 0x80]
push ebp
push dword [esp + 0x2c]
push dword [esp + 0x78]
push edi
call fcn.10127460
add esp, 0x14
test eax, eax
jne 0x10128b08
push dword [esp + 0x80]
mov esi, dword [esp + 0x80]
lea eax, [esp + 0x20]
push eax
push esi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x84]
push eax
push dword [ebp + 8]
movzx eax, word [ebp + 6]
push eax
movzx eax, word [ebp + 4]
push eax
push edi
call fcn.101298d0
add esp, 0x24
test eax, eax
jne 0x10128b08
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x18
push dword [esp + 0x80]
mov byte [ecx], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 1], al
mov eax, edx
shr eax, 8
mov byte [ecx + 2], al
mov byte [ecx + 3], dl
mov edx, dword [esp + 0x78]
mov eax, edx
shr eax, 0x18
mov byte [ecx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 5], al
mov eax, edx
shr eax, 8
mov byte [ecx + 6], al
mov eax, ebx
shr eax, 0x18
mov byte [ecx + 8], al
mov eax, ebx
shr eax, 0x10
mov byte [ecx + 9], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 0xa], al
mov byte [ecx + 7], dl
mov edx, dword [esp + 0x4c]
mov eax, edx
shr eax, 0x18
mov byte [ecx + 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 0xd], al
mov eax, edx
shr eax, 8
push 0x10
mov byte [ecx + 0xe], al
lea eax, [esp + 0x40]
push ecx
push eax
lea eax, [esp + 0x28]
mov byte [ecx + 0xb], bl
push esi
push eax
mov byte [ecx + 0xf], dl
call fcn.1012e190
push 0x10
push dword [esp + 0x3c]
call fcn.10126c50
add eax, dword [esp + 0x94]
add dword [esp + 0x48], eax
lea eax, [esp + 0x3c]
push dword [esp + 0xa0]
push eax
push dword [esp + 0xa4]
lea eax, [esp + 0x44]
push eax
call fcn.10127dc0
add esp, 0x30
test eax, eax
jne 0x10128b08
mov eax, dword [esp + 0x48]
add eax, ebx
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
ja 0x10128b08
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
inc ecx
movzx eax, dx
mov dword [esp + 0x34], ecx
cmp ecx, eax
jl 0x101287f0
mov ecx, dword [esp + 0x3c]
xor eax, eax
mov edx, dword [esp + 0x6c]
movzx esi, cx
nop
mov ecx, dword [edx + eax*4]
cmp dword [ecx + 4], 0x68656164
je 0x10128b4e
inc eax
cmp eax, esi
jl 0x10128af0
mov dword [ebp + 0x14], 0
cmp dword [esp + 0x14], 0
jne 0x10128b17
mov dword [esp + 0x14], 8
mov ecx, dword [esp + 0x78]
push dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
push ebx
mov dword [ecx], eax
call fcn.100dce30
push edi
call fcn.100da980
push edi
push ebx
call fcn.100dce30
mov eax, dword [esp + 0x28]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov dword [ebp + 0x14], ecx
test ecx, ecx
je 0x10128b08
cmp dword [ecx + 8], 0xc
jb 0x10128b08
mov edx, dword [ecx + 0x1c]
mov ecx, 0xb1b0afba
sub ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
mov eax, ecx
push dword [esp + 0x20]
add edx, esi
shr eax, 0x18
mov byte [edx + 8], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 9], al
mov eax, ecx
shr eax, 8
mov byte [edx + 0xa], al
mov eax, dword [esp + 0x74]
mov byte [edx + 0xb], cl
mov dword [eax + 0x3c], ebx
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x84]
push ebx
mov dword [eax], esi
call fcn.100dce30
push edi
call fcn.100da980
push edi
push ebx
call fcn.100dce30
mov eax, dword [esp + 0x28]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x50
ret