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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [ebp + 8]
push ebx
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ecx]
push esi
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push edi
xor edi, edi
xor esi, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0xc8
mov dword [esp + 0x38], esi
mov word [esp + 0x3c], bx
cmp dword [eax + 0x28], ebx
je 0x100a050c
push dword [eax]
lea eax, [esp + 0x2c]
push str.index__q
push eax
call fcn.100ea7f0
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x38]
add esp, 0xc
jmp 0x100a0686
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x1c], edx
cmp cx, word [eax + 0x32]
jae 0x100a06a7
jmp 0x100a0523
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
movsx ecx, word [eax + edx*2]
mov eax, dword [esp + 0x14]
add ecx, ecx
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x18], eax
test edx, edx
je 0x100a0575
add esi, 2
cmp esi, ebx
jb 0x100a0566
push 2
mov edx, 0x100fe6ac
lea ecx, [esp + 0x2c]
call fcn.100ead90
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
add esp, 4
jmp 0x100a0575
mov ax, word [0x100fe6ac]
mov dword [esp + 0x38], esi
mov word [esi + edi - 2], ax
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
test edx, edx
jne 0x100a0583
xor ecx, ecx
jmp 0x100a05a1
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x24], eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a0590
sub ecx, dword [esp + 0x24]
and ecx, 0x3fffffff
lea eax, [esi + ecx]
cmp eax, ebx
jb 0x100a05c3
push ecx
lea ecx, [esp + 0x2c]
call fcn.100ead90
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
add esp, 4
jmp 0x100a05dc
test ecx, ecx
je 0x100a05dc
mov esi, eax
push ecx
sub eax, ecx
push edx
add eax, edi
push eax
mov dword [esp + 0x44], esi
call fcn.100086a0
add esp, 0xc
inc esi
cmp esi, ebx
jb 0x100a0602
push 1
mov edx, 0x100fb614
lea ecx, [esp + 0x2c]
call fcn.100ead90
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
add esp, 4
jmp 0x100a060f
mov al, byte [0x100fb614]
mov dword [esp + 0x38], esi
mov byte [esi + edi - 1], al
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x100a061b
xor ecx, ecx
jmp 0x100a0633
mov ecx, edx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a0620
sub ecx, edx
mov edx, dword [esp + 0x18]
and ecx, 0x3fffffff
lea eax, [esi + ecx]
cmp eax, ebx
jb 0x100a0655
push ecx
lea ecx, [esp + 0x2c]
call fcn.100ead90
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
add esp, 4
jmp 0x100a066e
test ecx, ecx
je 0x100a066e
mov esi, eax
push ecx
sub eax, ecx
push edx
add eax, edi
push eax
mov dword [esp + 0x44], esi
call fcn.100086a0
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x1c]
movzx eax, word [eax + 0x32]
inc edx
mov dword [esp + 0x1c], edx
cmp edx, eax
jl 0x100a0520
test edi, edi
je 0x100a06a7
cmp dword [esp + 0x34], 0
mov byte [esi + edi], 0
jbe 0x100a06a7
test byte [esp + 0x3d], 4
jne 0x100a06a7
lea ecx, [esp + 0x28]
call fcn.100eac70
mov edi, eax
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x20]
mov eax, dword [eax + 0x38]
mov esi, dword [edx + 8]
and al, 3
cmp al, 2
mov ebx, 0x813
mov ecx, 0x613
cmove ebx, ecx
test esi, esi
jne 0x100a06e7
cmp dword [edx + 0x78], esi
jne 0x100a06da
mov eax, dword [edx]
test byte [eax + 0x44], 8
jne 0x100a06da
mov byte [edx + 0x17], 1
mov ecx, edx
call fcn.100c9330
mov edx, dword [esp + 0x20]
mov esi, eax
mov ecx, dword [esp + 0x10]
cmp ecx, 2
jne 0x100a0700
mov ecx, dword [edx + 0x78]
test ecx, ecx
cmovne edx, ecx
mov ecx, dword [esp + 0x10]
mov byte [edx + 0x15], 1
mov edx, dword [esi + 0x88]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x24], edx
cmp dword [eax + 0x30], edx
jg 0x100a0729
push 0
push ecx
push ebx
mov edx, 0x42
mov ecx, esi
call fcn.100c9070
add esp, 0xc
mov edx, eax
jmp 0x100a075f
lea eax, [edx + 1]
mov dword [esi + 0x88], eax
mov eax, dword [esi + 0x58]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x42
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff9
push edi
mov ecx, esi
call fcn.100c80a0
mov eax, dword [esi + 0x88]
add esp, 8
test eax, eax
jle 0x100a0786
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x58]
mov edx, 2
mov word [eax + ecx*4 - 0x12], dx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret