Function at 0x100295b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov esi, esp
mov dword [esi + 0x98], ebp
mov edi, dword [ebp + 0x14]
lea eax, [esi + 0xa0]
mov dword [eax - 4], esp
xor ecx, ecx
dec ecx
mov dword [eax + 8], ecx
mov dword [eax + 4], 0x1003c7e0
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
mov eax, edi
sub eax, dword [ebp + 0x10]
sar eax, 2
imul edx, eax, 0xaaaaaaab
mov dword [esi + 0x90], ecx
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x80], xmm0
movdqa xmmword [esi + 0x70], xmm0
movdqa xmmword [esi + 0x60], xmm0
movdqa xmmword [esi + 0x50], xmm0
movdqa xmmword [esi + 0x40], xmm0
movdqa xmmword [esi + 0x30], xmm0
mov dword [esi + 0x10], 0
mov eax, edx
mov dword [esi + 0xc], edx
cmp edx, 0x65
jb 0x10029653
push dword [esi + 0xc]
call fcn.1004b470
add esp, 4
test eax, eax
je 0x100298bd
mov dword [esi + 4], eax
mov ecx, eax
jmp 0x1002965d
lea ecx, [esi + 0x30]
mov dword [esi + 4], 0
mov eax, dword [ebp + 0x10]
cmp eax, edi
mov dword [esi + 0x14], ecx
je 0x10029693
mov dword [esi + 0x10], 0
movzx edx, byte [eax + 0xb]
test dl, dl
jns 0x10029679
mov edx, dword [eax + 4]
test edx, edx
je 0x10029682
mov byte [ecx], 1
jmp 0x1002968b
mov byte [ecx], 2
dec dword [esi + 0xc]
inc dword [esi + 0x10]
add eax, 0xc
inc ecx
cmp edi, eax
jne 0x1002966e
mov dword [esi + 0xa8], 0
xor ecx, ecx
mov dword [esi + 0x18], ecx
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
mov dword [esi + 0xa8], 0
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.100237a0
cmp dword [esi + 0xc], 0
je 0x1002985a
xor al, 1
je 0x1002985a
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x100296e2
movzx ebx, byte [eax]
jmp 0x100296f1
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
mov edx, dword [esi + 4]
mov dword [esi + 8], edx
call eax
mov ebx, eax
cmp byte [ebp + 0x20], 0
jne 0x1002970f
mov edi, dword [ebp + 0x18]
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 4]
mov dword [esi + 8], ecx
movsx edx, bl
mov ecx, edi
push edx
call eax
mov ebx, eax
mov eax, dword [ebp + 0x10]
mov edi, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
inc edx
mov dword [esi + 0x28], 0
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x24], eax
cmp eax, ecx
je 0x100297ce
cmp byte [edi], 1
jne 0x100297c2
mov dword [esi + 0x20], edi
mov ecx, dword [esi + 0x24]
cmp byte [ecx + 0xb], 0
js 0x1002974d
mov eax, ecx
jmp 0x1002974f
mov eax, dword [ecx]
mov edi, dword [esi + 0x18]
mov al, byte [eax + edi]
cmp byte [ebp + 0x20], 0
jne 0x10029784
mov edi, dword [ebp + 0x18]
mov ecx, dword [edi]
mov edx, dword [ecx + 0xc]
mov ecx, dword [esi + 4]
mov dword [esi + 8], ecx
mov dword [esi + 0xa8], 0
movsx eax, al
mov ecx, edi
push eax
call edx
mov ebx, dword [esi + 0x2c]
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x24]
cmp bl, al
jne 0x100297b1
movzx eax, byte [ecx + 0xb]
mov edi, edx
test al, al
jns 0x10029795
mov eax, dword [ecx + 4]
mov ecx, dword [ebp + 0x14]
mov dl, 1
mov dword [esi + 0x28], edx
mov edx, edi
cmp eax, edi
jne 0x100297bf
mov edi, dword [esi + 0x20]
mov byte [edi], 2
dec dword [esi + 0xc]
inc dword [esi + 0x10]
jmp 0x100297c2
mov edi, dword [esi + 0x20]
mov byte [edi], 0
dec dword [esi + 0xc]
mov ecx, dword [ebp + 0x14]
jmp 0x100297c2
mov edi, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
add eax, 0xc
inc edi
jmp 0x10029729
mov ecx, edx
test byte [esi + 0x28], 1
je 0x1002969f
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, dword [ecx + 0x10]
je 0x100297ed
inc eax
mov dword [ecx + 0xc], eax
jmp 0x10029807
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov edx, dword [esi + 4]
mov dword [esi + 8], edx
mov dword [esi + 0xa8], 0
call eax
mov edx, dword [esi + 0x1c]
mov ecx, edx
mov edi, dword [ebp + 0x14]
cmp dword [ebp + 0x10], edi
je 0x1002969f
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
add eax, ecx
mov ecx, edx
cmp eax, 2
jb 0x1002969f
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x14]
cmp byte [ecx], 2
jne 0x1002984b
movzx ebx, byte [eax + 0xb]
test bl, bl
jns 0x1002983e
mov ebx, dword [eax + 4]
mov edx, dword [esi + 0x1c]
cmp ebx, edx
je 0x1002984b
mov byte [ecx], 0
dec dword [esi + 0x10]
add eax, 0xc
inc ecx
cmp eax, edi
jne 0x1002982e
mov ecx, edx
jmp 0x1002969f
mov eax, dword [esi + 4]
mov dword [esi + 8], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.100237a0
test al, al
mov edx, dword [ebp + 0x1c]
je 0x10029876
or byte [edx], 2
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
cmp eax, edi
mov ecx, dword [esi + 0x14]
je 0x10029890
cmp byte [ecx], 2
je 0x10029895
add eax, 0xc
inc ecx
cmp eax, edi
jne 0x10029883
or byte [edx], 4
jmp 0x10029897
mov edi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x100298a7
push eax
call fcn.1004b4b0
add esp, 4
mov eax, dword [esi + 0xa0]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xa8], eax
call fcn.1003cdfc
push ebp
push eax
lea esi, [ebp - 0xac]
mov ebp, dword [esi + 0x98]
mov eax, dword [esi + 8]
test eax, eax
je 0x100298eb
push eax
call fcn.1004b4b0
add esp, 4
add esp, 4
pop ebp
ret