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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
push esi
mov ebx, ecx
push dword [ebx + 8]
xor esi, esi
lea ecx, [ebx + 0x90]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], esi
call fcn.00560e68
cmp eax, esi
mov dword [ebp - 0xc], eax
jl 0x566fcf
push edi
lea eax, [ebp - 0x40]
push eax
push dword [ebx + 8]
call fcn.00560bb0
mov edi, eax
cmp edi, esi
mov dword [ebp - 0x2c], edi
jne 0x5665ae
mov dword [ebp - 0xc], 0x80004005
jmp 0x566fce
mov dword [ebx + 0x1c], edi
cmp dword [edi], 0x1c
jne 0x5665a2
lea eax, [ebx + 0x10]
push eax
push dword [ebx + 8]
call fcn.00560bce
cmp eax, esi
mov dword [ebx + 0x18], eax
je 0x5665d4
cmp dword [eax], 0x28
je 0x5665d4
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x10], esi
cmp dword [edi + 0x10], 0x1c
jne 0x5665a2
mov edi, dword [edi + 0xc]
lea eax, [edi + edi*4]
lea eax, [eax*4 + 0x1c]
cmp dword [ebp - 0x40], eax
jb 0x5665a2
mov dword [ebx + 0x40], esi
xor eax, eax
lea edi, [ebx + 0x44]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebx + 0x54]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax + 0x10]
add edx, eax
cmp dword [eax + 0xc], esi
mov dword [ebp - 0x10], esi
jbe 0x5667bd
mov edi, dword [edx]
cmp dword [ebp - 0x40], edi
jbe 0x5665a2
mov eax, dword [ebp - 0x2c]
lea esi, [edi + eax]
mov dword [ebp - 4], esi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x566628
sub esi, ecx
add edi, esi
cmp dword [ebp - 0x40], edi
jb 0x5665a2
cmp esi, 3
jb 0x5665a2
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x407d50
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x56665b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x56676d
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x407c88
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x566679
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x56676d
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x407c30
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x566697
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x56676d
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x407d4c
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5666b5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x56676d
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x40aab4
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5666d3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5666df
inc dword [ebx + 0x34]
jmp 0x5667a6
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x4208e0
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5666f5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x56670f
mov eax, dword [ebx + 0x3c]
test eax, eax
jne 0x566706
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x38], ecx
inc eax
mov dword [ebx + 0x3c], eax
jmp 0x5667a6
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x40aab8
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x566725
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x56673c
movzx eax, word [edx + 6]
mov ecx, dword [ebx + 0x20]
inc eax
cmp ecx, eax
jbe 0x566737
mov eax, ecx
mov dword [ebx + 0x20], eax
jmp 0x5667a6
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x40aab0
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x566752
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5665a2
movzx eax, word [edx + 6]
mov ecx, dword [ebx + 0x24]
inc eax
cmp ecx, eax
jbe 0x566768
mov eax, ecx
mov dword [ebx + 0x24], eax
jmp 0x5667a6
push dword [ebp - 4]
call fcn.00560505
movzx esi, word [edx + 6]
movzx ecx, word [edx + 8]
add ecx, esi
lea eax, [ebx + eax*4 + 0x44]
mov esi, dword [eax]
cmp esi, ecx
jbe 0x56678b
mov ecx, esi
mov dword [eax], ecx
inc dword [ebx + 0x28]
movzx ecx, word [edx + 6]
movzx eax, word [edx + 8]
add eax, ecx
mov ecx, dword [ebx + 0x40]
cmp ecx, eax
jbe 0x5667a3
mov eax, ecx
mov dword [ebx + 0x40], eax
mov eax, dword [ebp - 0x2c]
add edx, 0x14
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0xc]
jb 0x566615
xor esi, esi
mov eax, dword [ebx + 0x34]
shl eax, 2
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x28]
shl eax, 4
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebx + 0x74], eax
mov eax, dword [ebx + 0x28]
shl eax, 2
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebx + 0x80], eax
mov eax, dword [ebx + 0x40]
shl eax, 2
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebx + 0x7c], eax
mov eax, dword [ebx + 0x34]
shl eax, 4
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
push dword [ebx + 0x20]
mov dword [ebx + 0x78], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
push dword [ebx + 0x20]
mov dword [ebx + 0x64], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
push dword [ebx + 0x24]
mov dword [ebx + 0x68], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
push dword [ebx + 0x24]
mov dword [ebx + 0x6c], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x24
cmp dword [ebx + 0x74], esi
mov dword [ebx + 0x70], eax
je 0x566fc7
cmp dword [ebx + 0x78], esi
je 0x566fc7
cmp dword [ebx + 0x7c], esi
je 0x566fc7
cmp dword [ebp - 0x28], esi
je 0x566fc7
cmp dword [ebx + 0x64], esi
je 0x566fc7
cmp dword [ebx + 0x68], esi
je 0x566fc7
cmp dword [ebx + 0x6c], esi
je 0x566fc7
cmp eax, esi
je 0x566fc7
mov ecx, dword [ebx + 0x28]
mov edi, dword [ebx + 0x80]
shl ecx, 2
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebx + 0x24]
mov edi, dword [ebx + 0x6c]
mov edx, ecx
shr ecx, 2
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebx + 0x34]
mov edi, dword [ebp - 0x28]
shl ecx, 2
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
cmp dword [ebx + 0x98], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], esi
jbe 0x566929
lea eax, [ebp - 0xc8]
push eax
push dword [ebp - 8]
lea ecx, [ebx + 0x90]
call fcn.00560fd0
cmp dword [ebp - 0x58], esi
je 0x56691b
cmp dword [ebp - 0xa0], 0x80000000
jne 0x56691b
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebx + 0x34]
ja 0x5665a2
mov ecx, dword [ebp - 0x28]
lea eax, [ecx + eax*4]
inc dword [eax]
inc dword [ebp - 0x14]
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebx + 0x98]
jb 0x5668db
mov edi, dword [ebx + 0x34]
mov eax, edi
shl eax, 3
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
mov dword [ebp - 0x1c], eax
je 0x566952
push 0x5604f9
push edi
push 8
push eax
call fcn.0042a18e
mov eax, dword [ebp - 0x1c]
jmp 0x566954
xor eax, eax
mov dword [ebx + 0x84], eax
mov eax, dword [ebp - 0x14]
lea eax, [eax + eax*2]
shl eax, 2
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp dword [ebx + 0x84], esi
pop ecx
mov dword [ebx + 0x88], eax
je 0x566fc7
cmp eax, esi
je 0x566fc7
mov ecx, eax
xor eax, eax
cmp dword [ebx + 0x34], esi
jbe 0x5669a8
mov edx, dword [ebx + 0x84]
mov dword [edx + eax*8], ecx
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + eax*4]
inc eax
cmp eax, dword [ebx + 0x34]
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*4]
jb 0x56698d
cmp dword [ebx + 0x98], esi
mov dword [ebp - 8], esi
jbe 0x566ab8
lea eax, [ebp - 0xc8]
push eax
push dword [ebp - 8]
lea ecx, [ebx + 0x90]
call fcn.00560fd0
cmp dword [ebp - 0x58], esi
je 0x566aa6
cmp dword [ebp - 0xa0], 0x80000000
jne 0x566aa6
mov eax, dword [ebx + 0x84]
mov edi, dword [ebp - 0x9c]
mov edx, dword [ebp - 8]
shl edi, 3
lea ecx, [eax + edi]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
lea eax, [eax + eax*2]
shl eax, 2
mov dword [eax + ecx], edx
mov cl, byte [ebp - 0x98]
mov esi, dword [ebx + 0x84]
mov esi, dword [esi + edi]
mov dl, cl
and dl, 1
neg dl
sbb edx, edx
and edx, 0xffff0001
add edx, 0xffff
mov word [esi + eax + 4], dx
mov esi, dword [ebx + 0x84]
mov esi, dword [esi + edi]
mov dl, cl
and dl, 2
neg dl
sbb edx, edx
and edx, 0xffff0002
add edx, 0xffff
mov word [esi + eax + 6], dx
mov esi, dword [ebx + 0x84]
mov esi, dword [esi + edi]
mov dl, cl
and dl, 4
neg dl
sbb edx, edx
and edx, 0xffff0003
and cl, 8
add edx, 0xffff
neg cl
mov word [esi + eax + 8], dx
mov edx, dword [ebx + 0x84]
mov edx, dword [edx + edi]
sbb ecx, ecx
and ecx, 0xffff0004
add ecx, 0xffff
mov word [edx + eax + 0xa], cx
mov eax, dword [ebx + 0x84]
lea edi, [eax + edi + 4]
inc dword [edi]
xor esi, esi
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebx + 0x98]
jb 0x5669b7
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx + 0x10]
add eax, ecx
mov dword [ebx + 0x8c], eax
cmp dword [ecx + 0xc], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x10], esi
jbe 0x566d9d
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x4c], esi
mov edx, dword [ebp - 0x38]
mov edi, dword [edx]
add edi, dword [ebp - 0x2c]
push 2
pop ecx
mov esi, 0x407d50
xor eax, eax
mov dword [ebp - 4], edi
repe cmpsb byte [esi], byte es:[edi]
je 0x566aff
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x566c7b
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x407c88
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x566b1d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x566c7b
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x407c30
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x566b3b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x566c7b
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x407d4c
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x566b59
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x566c7b
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x40aab4
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x566b77
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x566bbf
movzx eax, word [edx + 6]
cmp eax, dword [ebx + 0x34]
jae 0x5665a2
movzx eax, word [edx + 6]
mov ecx, dword [ebx + 0x78]
mov esi, dword [ebp - 4]
shl eax, 4
mov dword [eax + ecx], esi
movzx eax, word [edx + 6]
mov esi, dword [ebx + 0x78]
mov ecx, eax
shl ecx, 4
mov dword [ecx + esi + 4], eax
movzx ecx, word [edx + 6]
movzx eax, word [edx + 8]
mov edx, dword [ebx + 0x78]
shl ecx, 4
mov dword [ecx + edx + 8], eax
jmp 0x566d81
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x40aab8
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x566bd5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x566c20
lea eax, [ebp - 0x15]
push eax
lea eax, [ebp - 0x1d]
push eax
mov eax, dword [ebp - 4]
add eax, 2
push eax
call fcn.004efa79
test eax, eax
mov dword [ebp - 0xc], eax
jl 0x5665a2
mov eax, dword [ebp - 0x38]
mov edx, dword [ebx + 0x64]
movzx ecx, word [eax + 6]
mov dword [ebp - 4], ebx
mov bl, byte [ebp - 0x1d]
mov byte [ecx + edx], bl
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx + 0x68]
mov dl, byte [ebp - 0x15]
movzx eax, word [eax + 6]
mov byte [eax + ecx], dl
jmp 0x566d81
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x40aab0
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x566c36
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x566d81
lea eax, [ebp - 0x1e]
push eax
lea eax, [ebp - 0x1f]
push eax
mov eax, dword [ebp - 4]
add eax, 2
push eax
call fcn.004efa79
test eax, eax
mov dword [ebp - 0xc], eax
jl 0x5665a2
mov eax, dword [ebp - 0x38]
mov edx, dword [ebx + 0x6c]
movzx ecx, word [eax + 6]
mov dword [ebp - 4], ebx
mov bl, byte [ebp - 0x1f]
mov byte [ecx + edx], bl
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx + 0x70]
mov dl, byte [ebp - 0x1e]
jmp 0x566c14
mov esi, dword [ebp - 4]
push esi
call fcn.00560505
mov ecx, dword [ebx + 0x74]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + ecx], esi
movzx ecx, word [edx + 6]
mov esi, dword [ebx + 0x74]
mov dword [eax + esi + 4], ecx
movzx ecx, word [edx + 8]
mov esi, dword [ebx + 0x74]
mov dword [eax + esi + 8], ecx
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
je 0x566cc3
mov ecx, dword [ebx + 0x8c]
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x44]
add esi, ecx
add edi, ecx
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
test byte [edx + 0xa], 1
je 0x566cdb
mov ecx, dword [ebx + 0x80]
mov esi, dword [ebx + 0x8c]
mov edi, dword [ebp - 0x14]
mov dword [ecx + edi*4], esi
mov cx, word [edx + 0xa]
test cl, 2
je 0x566d11
mov esi, dword [ebx + 0x74]
movzx ecx, cx
shr ecx, 2
mov dword [eax + esi + 0xc], ecx
mov ecx, dword [ebx + 0x74]
add ecx, eax
mov esi, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
add esi, ecx
mov ecx, dword [ebp - 0x48]
lea ecx, [ebx + ecx*4 + 0x54]
mov edi, dword [ecx]
cmp edi, esi
jbe 0x566d0d
mov esi, edi
mov dword [ecx], esi
jmp 0x566d19
mov ecx, dword [ebx + 0x74]
or dword [eax + ecx + 0xc], 0xffffffff
inc dword [ebp - 0x14]
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 4]
add eax, 0x10
push 2
mov dword [ebp - 0x1c], eax
pop ecx
mov esi, 0x407d50
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x566d3c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x566d6d
cmp word [edx + 8], ax
jbe 0x566d6d
mov cx, word [edx + 6]
mov edi, dword [ebx + 0x7c]
movzx esi, cx
add esi, eax
mov word [edi + esi*4], cx
movzx ecx, word [edx + 6]
mov esi, dword [ebx + 0x7c]
add ecx, eax
mov word [esi + ecx*4 + 2], ax
movzx ecx, word [edx + 8]
inc eax
cmp eax, ecx
jb 0x566d46
mov edx, dword [edx + 0xc]
test edx, edx
je 0x5665a2
cmp edx, dword [ebp - 0x40]
ja 0x5665a2
add dword [ebp - 0x38], 0x14
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
add dword [ebp - 0x4c], 0x14
cmp ecx, dword [eax + 0xc]
jb 0x566ae1
xor esi, esi
mov eax, dword [ebx + 8]
cmp dword [eax], 0x7ffe0200
jb 0x566fce
cmp dword [ebx + 0x98], esi
mov dword [ebp - 8], esi
jbe 0x566de8
push dword [ebp - 8]
lea ecx, [ebx + 0x90]
call fcn.00560faf
cmp eax, 0x1d
je 0x566dd4
cmp eax, 0x27
je 0x566dd4
cmp eax, 0x2b
jne 0x566dda
inc dword [ebx + 0xa0]
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebx + 0x98]
jb 0x566db7
mov edi, dword [ebx + 0xa0]
cmp edi, esi
jbe 0x566fce
mov eax, edi
shl eax, 5
add eax, 4
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
je 0x566e24
push 0x56045a
push edi
mov dword [eax], edi
add eax, 4
push 0x20
push eax
mov dword [ebp - 0x48], eax
call fcn.0042a18e
mov eax, dword [ebp - 0x48]
jmp 0x566e26
xor eax, eax
mov dword [ebx + 0x9c], eax
mov eax, dword [ebx + 0xa0]
shl eax, 2
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0xa0]
shl eax, 2
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0xa0]
shl eax, 2
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0xc
cmp dword [ebx + 0x9c], esi
mov dword [ebp - 0x30], eax
je 0x566fc7
cmp dword [ebp - 0x34], esi
je 0x566fc7
cmp dword [ebp - 0x24], esi
je 0x566fc7
cmp eax, esi
je 0x566fc7
mov ecx, dword [ebx + 0xa0]
mov edi, dword [ebp - 0x34]
shl ecx, 2
mov edx, ecx
shr ecx, 2
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebx + 0xa0]
mov edi, dword [ebp - 0x24]
shl ecx, 2
mov edx, ecx
shr ecx, 2
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebx + 0xa0]
mov edi, dword [ebp - 0x30]
shl ecx, 2
mov edx, ecx
shr ecx, 2
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
cmp dword [ebx + 0x98], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 8], esi
jbe 0x566f38
push dword [ebp - 8]
lea ecx, [ebx + 0x90]
call fcn.00560faf
cmp eax, 0x1b
je 0x566f12
cmp eax, 0x26
je 0x566f12
cmp eax, 0x27
jbe 0x566f2a
cmp eax, 0x29
ja 0x566f2a
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x30]
lea eax, [ebp - 8]
push dword [ebp - 0x24]
mov ecx, ebx
push dword [ebp - 0x34]
push eax
call fcn.0056426e
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebx + 0x98]
jb 0x566ef0
xor edi, edi
cmp dword [ebx + 0xa0], esi
mov dword [ebp - 0x3c], edi
jbe 0x566fce
mov eax, dword [ebp - 0x34]
mov esi, edi
shl esi, 2
mov eax, dword [esi + eax]
push eax
lea ecx, [ebx + 0x90]
mov dword [ebp - 0x1c], eax
call fcn.00560faf
mov ecx, dword [ebp - 0x24]
mov ecx, dword [esi + ecx]
cmp ecx, 0xffffffff
je 0x566f8b
mov eax, dword [ebp - 0x30]
shl edi, 5
add edi, dword [ebx + 0x9c]
push edi
push dword [esi + eax]
push ecx
push dword [ebp - 0x1c]
mov ecx, ebx
call fcn.00564601
jmp 0x566faf
cmp eax, 0x1b
je 0x566f95
cmp eax, 0x26
jne 0x566fb9
mov eax, dword [ebp - 0x30]
shl edi, 5
add edi, dword [ebx + 0x9c]
mov ecx, ebx
push edi
push dword [esi + eax]
push dword [ebp - 0x1c]
call fcn.005644d4
test eax, eax
mov dword [ebp - 0xc], eax
jl 0x566fce
mov edi, dword [ebp - 0x3c]
inc edi
cmp edi, dword [ebx + 0xa0]
mov dword [ebp - 0x3c], edi
jb 0x566f49
jmp 0x566fce
mov dword [ebp - 0xc], 0x8007000e
pop edi
push dword [ebp - 0x34]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x24]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x30]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x28]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0xc]
add esp, 0x10
pop esi
pop ebx
leave
ret