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

Disassembly:
sub esp, 0x4c
mov eax, dword [esp + 0x64]
push ebx
push ebp
mov ebp, dword [esp + 0x68]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0x64]
push edi
movzx eax, word [eax + 0xc]
xor edi, edi
movzx ecx, ax
mov dword [esp + 0x24], eax
mov ebx, ecx
mov eax, dword [ebp]
shl ebx, 4
add ebx, 0xc
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
mov byte [esp + 0x70], 0
mov dword [esp + 0x38], 0xc
test ecx, ecx
je 0x100aa995
mov edx, dword [esi + eax*4]
cmp dword [edx + 4], 0x676c7966
je 0x100aaaf1
inc eax
cmp eax, ecx
jl 0x100aa980
xor eax, eax
mov dword [ebp + 0xc], edi
xor edx, edx
test ecx, ecx
je 0x100aa9b5
mov esi, dword [esi + eax*4]
cmp dword [esi + 4], 0x6c6f6361
je 0x100aa9b7
mov esi, dword [esp + 0x68]
inc eax
cmp eax, ecx
jl 0x100aa9a0
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 0x100aae02
test edx, edx
je 0x100aa9e5
mov eax, dword [esi + 0x10]
xor eax, dword [edx + 0x10]
test eax, 0x100
jne 0x100aae02
lea eax, [esp + 0x10]
push eax
push 0
push 0x10
push 0
push 1
push dword [esp + 0x90]
call fcn.1005fa30
add esp, 0x18
mov dword [esp + 0x20], eax
cmp dword [esp + 0x10], edi
jne 0x100aad57
lea eax, [esp + 0x10]
push eax
push 0x28
push dword [esp + 0x84]
call fcn.1005f860
add esp, 0xc
mov edi, eax
cmp dword [esp + 0x10], 0
jne 0x100aad57
push dword [esp + 0x64]
push dword [esp + 0x64]
push edi
call fcn.1005d850
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x34], ecx
cmp word [esp + 0x24], cx
je 0x100aad41
mov eax, dword [esp + 0x68]
mov eax, dword [eax + ecx*4]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x3c], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x4c], xmm0
psrldq xmm0, 4
movd esi, xmm0
push esi
push edi
call fcn.1005df10
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100aad48
mov ecx, dword [esp + 0x54]
lea eax, [ecx + esi]
cmp eax, dword [esp + 0x64]
ja 0x100aad48
mov edx, dword [esp + 0x40]
cmp edx, 0x68686561
jne 0x100aaafb
push 0x22
push edi
mov dword [esp + 0x20], 0
call fcn.1005df50
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100aad48
lea eax, [esp + 0x18]
push eax
push edi
call fcn.1005ddd0
add esp, 8
movzx eax, ax
cmp dword [esp + 0x18], 0
jne 0x100aad48
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x2c], eax
jmp 0x100aaaff
mov dword [ebp + 0xc], edx
xor eax, eax
jmp 0x100aa9a0
mov eax, dword [esp + 0x2c]
test dword [esp + 0x4c], 0x100
mov word [ebp + 6], ax
mov dword [esp + 0x18], 0
jne 0x100aab77
cmp edx, 0x68656164
jne 0x100aab33
cmp ecx, 0xc
jb 0x100aad48
mov eax, dword [esp + 0x60]
add eax, esi
mov dword [eax + 8], 0
add esi, dword [esp + 0x60]
push ecx
push esi
call fcn.100a8ed0
push dword [esp + 0x84]
mov ecx, eax
lea eax, [esp + 0x28]
push dword [esp + 0x60]
mov dword [esp + 0x28], ecx
push esi
mov esi, dword [esp + 0x8c]
push eax
lea eax, [esp + 0x2c]
push esi
push eax
call fcn.100b0380
add esp, 0x20
test eax, eax
jne 0x100aad48
jmp 0x100aac39
cmp edx, 0x676c7966
jne 0x100aabb0
push dword [esp + 0x7c]
mov esi, dword [esp + 0x7c]
lea eax, [esp + 0x20]
push ebp
push eax
push esi
lea eax, [esp + 0x24]
mov byte [esp + 0x80], 1
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x30]
push eax
push edi
call fcn.100aae10
add esp, 0x20
jmp 0x100aac29
cmp edx, 0x6c6f6361
jne 0x100aabca
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x18], ecx
jmp 0x100aac3d
cmp edx, 0x686d7478
jne 0x100aad48
cmp byte [esp + 0x70], 0
jne 0x100aabfb
push dword [esp + 0x7c]
push ebp
push dword [esp + 0x2c]
push dword [esp + 0x74]
push edi
call fcn.100a96e0
add esp, 0x14
test eax, eax
jne 0x100aad48
push dword [esp + 0x7c]
mov esi, dword [esp + 0x7c]
lea eax, [esp + 0x20]
push eax
push esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x28]
push eax
push dword [ebp + 8]
movzx eax, word [ebp + 6]
push eax
movzx eax, word [ebp + 4]
push eax
push edi
call fcn.100abb00
add esp, 0x24
test eax, eax
jne 0x100aad48
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x18
push dword [esp + 0x7c]
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 + 0x1c]
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 + 0x48]
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 + 0x24]
mov byte [ecx + 0xb], bl
push esi
push eax
mov byte [ecx + 0xf], dl
call fcn.100b0380
push 0x10
push dword [esp + 0x3c]
call fcn.100a8ed0
add eax, dword [esp + 0x38]
add dword [esp + 0x48], eax
lea eax, [esp + 0x3c]
push dword [esp + 0x9c]
push eax
push dword [esp + 0xa0]
lea eax, [esp + 0x40]
push eax
call fcn.100aa040
add esp, 0x30
test eax, eax
jne 0x100aad48
mov eax, dword [esp + 0x44]
add eax, ebx
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
ja 0x100aad48
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
inc ecx
movzx edx, ax
mov dword [esp + 0x34], ecx
cmp ecx, edx
jl 0x100aaa54
mov esi, dword [esp + 0x68]
xor eax, eax
nop
mov ecx, dword [esi + eax*4]
cmp dword [ecx + 4], 0x68656164
je 0x100aad8e
inc eax
cmp eax, edx
jl 0x100aad30
mov dword [ebp + 0x14], 0
cmp dword [esp + 0x10], 0
jne 0x100aad57
mov dword [esp + 0x10], 8
mov ecx, dword [esp + 0x74]
push dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x80]
push ebx
mov dword [ecx], eax
call fcn.1005f8c0
push edi
call fcn.1005d460
push edi
push ebx
call fcn.1005f8c0
mov eax, dword [esp + 0x24]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov dword [ebp + 0x14], ecx
test ecx, ecx
je 0x100aad48
cmp dword [ecx + 8], 0xc
jb 0x100aad48
mov edx, dword [ecx + 0x1c]
mov ecx, 0xb1b0afba
sub ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
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 + 0x70]
mov byte [edx + 0xb], cl
mov dword [eax + 0x3c], ebx
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x80]
push ebx
mov dword [eax], esi
call fcn.1005f8c0
push edi
call fcn.1005d460
push edi
push ebx
call fcn.1005f8c0
mov eax, dword [esp + 0x24]
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x4c
ret