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

Disassembly:
sub esp, 0x78
mov eax, dword [0x102cf440]
xor eax, esp
mov dword [esp + 0x74], eax
push ebp
mov ebp, dword [esp + 0x88]
mov edx, 0x12
push esi
mov esi, dword [esp + 0x88]
push edi
movzx ecx, word [ebp + 2]
movzx eax, word [ebp + 4]
dec ecx
mov edi, dword [esp + 0x88]
mov dword [esp + 0x24], ecx
add ecx, eax
movzx eax, word [ebp + 6]
mov dword [esp + 0x28], ecx
add ecx, eax
movzx eax, word [ebp + 8]
mov dword [esp + 0x2c], ecx
add ecx, eax
movzx eax, word [ebp + 0xa]
add eax, ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], 0x11
nop dword [eax + eax]
movzx eax, byte [esi + edx - 1]
lea ecx, [esp + 0x20]
lea ecx, [ecx + eax*4]
dec edx
mov eax, dword [ecx]
mov dword [esp + eax*4 + 0x38], edx
dec eax
mov dword [ecx], eax
dec edx
lea ecx, [esp + 0x20]
movzx eax, byte [esi + edx]
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
mov dword [esp + eax*4 + 0x38], edx
dec eax
mov dword [ecx], eax
dec edx
lea ecx, [esp + 0x20]
movzx eax, byte [esi + edx]
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
mov dword [esp + eax*4 + 0x38], edx
dec eax
mov dword [ecx], eax
dec edx
lea ecx, [esp + 0x20]
movzx eax, byte [esi + edx]
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
mov dword [esp + eax*4 + 0x38], edx
dec eax
mov dword [ecx], eax
dec edx
lea ecx, [esp + 0x20]
movzx eax, byte [esi + edx]
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
mov dword [esp + eax*4 + 0x38], edx
dec eax
mov dword [ecx], eax
sub edx, 1
lea ecx, [esp + 0x20]
movzx eax, byte [esi + edx]
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
mov dword [esp + eax*4 + 0x38], edx
lea eax, [eax - 1]
mov dword [ecx], eax
jne 0x1021ef00
cmp dword [esp + 0x20], 0
jne 0x1021f018
mov ax, word [esp + 0x38]
mov byte [esp + 0xc], 0
mov word [esp + 0xe], ax
mov eax, dword [esp + 0xc]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], eax
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], eax
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], eax
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], eax
mov dword [edi + 0x78], eax
mov dword [edi + 0x7c], eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.101eafcd
add esp, 0x78
ret
push ebx
xor ebx, ebx
mov edx, 0x80
mov eax, 1
mov dword [esp + 0x1c], edx
xor ecx, ecx
mov dword [esp + 0x10], eax
lea esi, [ebx + 2]
movzx ebp, word [ebp + eax*2]
test ebp, ebp
je 0x1021f082
nop dword [eax + eax]
mov byte [esp + 0x14], al
mov ax, word [esp + ecx*4 + 0x3c]
inc ecx
mov word [esp + 0x16], ax
movzx eax, byte [ebx + 0x102cff00]
mov dword [esp + 0x18], ecx
mov ecx, 0x20
lea edx, [edi + eax*4]
mov eax, dword [esp + 0x14]
sub ecx, esi
mov dword [edx + ecx*4], eax
test ecx, ecx
jg 0x1021f066
mov edx, dword [esp + 0x1c]
add ebx, edx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
sub ebp, 1
jne 0x1021f040
mov ebp, dword [esp + 0x20]
inc eax
shr edx, 1
add esi, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], eax
cmp eax, 5
jle 0x1021f032
mov ecx, dword [esp + 0x84]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.101eafcd
add esp, 0x78
ret