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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x102beb54]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x28], 0
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0xc8
mov word [esp + 0x38], 0
je 0x10064d11
push dword [esi]
lea eax, [esp + 0x24]
push str.index__q
push eax
call fcn.10022440
add esp, 0xc
jmp 0x10064e5b
xor eax, eax
xor edi, edi
cmp ax, word [esi + 0x32]
jae 0x10064e86
nop
mov eax, dword [esi + 4]
movsx ecx, word [eax + edi*2]
mov eax, dword [ebx + 4]
add ecx, ecx
mov ebx, dword [eax + ecx*8]
test edi, edi
je 0x10064d69
mov edx, dword [esp + 0x2c]
add edx, 2
cmp edx, dword [esp + 0x30]
jb 0x10064d55
push 2
mov edx, 0x102a99ac
lea ecx, [esp + 0x24]
call fcn.10021e50
add esp, 4
jmp 0x10064d69
mov eax, dword [esp + 0x28]
mov cx, word [0x102a99ac]
mov dword [esp + 0x2c], edx
mov word [edx + eax - 2], cx
mov edx, dword [esp + 0x10]
mov edx, dword [edx]
test edx, edx
jne 0x10064d77
xor ecx, ecx
jmp 0x10064d93
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10064d80
sub ecx, esi
mov esi, dword [esp + 0x18]
and ecx, 0x3fffffff
mov eax, dword [esp + 0x2c]
add eax, ecx
cmp eax, dword [esp + 0x30]
jb 0x10064dae
push ecx
lea ecx, [esp + 0x24]
call fcn.10021e50
add esp, 4
jmp 0x10064dc7
test ecx, ecx
je 0x10064dc7
mov dword [esp + 0x2c], eax
sub eax, ecx
add eax, dword [esp + 0x28]
push ecx
push edx
push eax
call fcn.10200b60
add esp, 0xc
mov edx, dword [esp + 0x2c]
inc edx
cmp edx, dword [esp + 0x30]
jb 0x10064de7
push 1
mov edx, 0x102a99d4
lea ecx, [esp + 0x24]
call fcn.10021e50
add esp, 4
jmp 0x10064df9
mov eax, dword [esp + 0x28]
mov cl, byte [0x102a99d4]
mov dword [esp + 0x2c], edx
mov byte [edx + eax - 1], cl
test ebx, ebx
jne 0x10064e01
xor eax, eax
jmp 0x10064e14
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10064e06
sub eax, edx
and eax, 0x3fffffff
mov ecx, dword [esp + 0x2c]
add ecx, eax
cmp ecx, dword [esp + 0x30]
jb 0x10064e31
push eax
mov edx, ebx
lea ecx, [esp + 0x24]
call fcn.10021e50
add esp, 4
jmp 0x10064e4a
test eax, eax
je 0x10064e4a
mov dword [esp + 0x2c], ecx
sub ecx, eax
add ecx, dword [esp + 0x28]
push eax
push ebx
push ecx
call fcn.10200b60
add esp, 0xc
movzx eax, word [esi + 0x32]
inc edi
mov ebx, dword [esp + 0x10]
cmp edi, eax
jl 0x10064d20
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x10064e86
mov eax, dword [esp + 0x2c]
mov byte [eax + ecx], 0
cmp dword [esp + 0x34], 0
jbe 0x10064e86
test byte [esp + 0x39], 4
jne 0x10064e86
lea ecx, [esp + 0x20]
call fcn.10021f40
mov ebx, eax
jmp 0x10064e8a
mov ebx, dword [esp + 0x28]
mov eax, dword [esi + 0x38]
mov edi, 0x813
and al, 3
mov ecx, 0x613
cmp al, 2
mov eax, dword [esp + 0x14]
cmove edi, ecx
mov esi, dword [eax + 8]
test esi, esi
jne 0x10064eb6
mov ecx, eax
call fcn.100797d0
mov esi, eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
cmp edx, 2
jne 0x10064ecb
mov ecx, dword [eax + 0x78]
test ecx, ecx
cmovne eax, ecx
mov byte [eax + 0x15], 1
push 0xfffffffffffffff9
push ebx
push 0
push edx
push edi
mov edx, 0x37
mov ecx, esi
call fcn.1003eae0
mov eax, dword [esi + 0x88]
add esp, 0x14
test eax, eax
jle 0x10064efb
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [esi + 0x58]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101e95a5
mov esp, ebp
pop ebp
ret