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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc4
push ebx
push esi
mov ebx, ecx
push dword [ebx + 8]
xor esi, esi
lea ecx, [ebx + 0x94]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x2c], esi
call fcn.0059e38d
cmp eax, esi
mov dword [ebp - 0xc], eax
jl 0x5a2ac8
lea eax, [ebp - 0x3c]
push eax
push dword [ebx + 8]
call fcn.0059e0f0
mov esi, eax
test esi, esi
mov dword [ebp - 0x30], esi
je 0x5a203b
mov dword [ebx + 0x1c], esi
cmp dword [esi], 0x1c
je 0x5a2047
mov dword [ebp - 0xc], 0x80004005
jmp 0x5a2ac8
push edi
lea edi, [ebx + 0x10]
push edi
push dword [ebx + 8]
call fcn.0059e10e
test eax, eax
mov dword [ebx + 0x18], eax
je 0x5a2067
cmp dword [eax], 0x28
je 0x5a2067
and dword [ebx + 0x18], 0
and dword [edi], 0
cmp dword [esi + 0x10], 0x1c
jne 0x5a2906
mov eax, dword [esi + 0xc]
imul eax, eax, 0x14
add eax, 0x1c
cmp dword [ebp - 0x3c], eax
jb 0x5a2906
and dword [ebx + 0x40], 0
xor eax, eax
lea edi, [ebx + 0x44]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x10], 0
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 edx, dword [esi + 0x10]
add edx, esi
cmp dword [esi + 0xc], 0
jbe 0x5a2256
mov edi, dword [edx]
cmp dword [ebp - 0x3c], edi
jbe 0x5a2906
mov eax, dword [ebp - 0x30]
lea esi, [edi + eax]
mov dword [ebp - 4], esi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5a20c3
sub esi, ecx
add edi, esi
cmp dword [ebp - 0x3c], edi
jb 0x5a2906
cmp esi, 3
jb 0x5a2906
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x408828
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5a20f6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x5a2208
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x408760
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5a2114
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x5a2208
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x408708
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5a2132
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x5a2208
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x408824
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5a2150
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x5a2208
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x40b5c4
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5a216e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5a217a
inc dword [ebx + 0x34]
jmp 0x5a2241
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x422900
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5a2190
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5a21aa
mov eax, dword [ebx + 0x3c]
test eax, eax
jne 0x5a21a1
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x38], ecx
inc eax
mov dword [ebx + 0x3c], eax
jmp 0x5a2241
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x40b5c8
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5a21c0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5a21d7
movzx eax, word [edx + 6]
mov ecx, dword [ebx + 0x20]
inc eax
cmp ecx, eax
jbe 0x5a21d2
mov eax, ecx
mov dword [ebx + 0x20], eax
jmp 0x5a2241
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x40b5c0
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5a21ed
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5a2906
movzx eax, word [edx + 6]
mov ecx, dword [ebx + 0x24]
inc eax
cmp ecx, eax
jbe 0x5a2203
mov eax, ecx
mov dword [ebx + 0x24], eax
jmp 0x5a2241
push dword [ebp - 4]
call fcn.0059d9ff
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 0x5a2226
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 0x5a223e
mov eax, ecx
mov dword [ebx + 0x40], eax
mov eax, dword [ebp - 0x30]
add edx, 0x14
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0xc]
jb 0x5a20ac
mov eax, dword [ebx + 0x34]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x28]
xor ecx, ecx
push 0x10
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebx + 0x74], eax
mov eax, dword [ebx + 0x28]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebx + 0x80], eax
mov eax, dword [ebx + 0x40]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebx + 0x7c], eax
mov eax, dword [ebx + 0x34]
xor ecx, ecx
push 0x10
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
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_
xor esi, esi
add esp, 0x24
cmp dword [ebx + 0x74], esi
mov dword [ebx + 0x70], eax
je 0x5a2ac0
cmp dword [ebx + 0x78], esi
je 0x5a2ac0
cmp dword [ebx + 0x7c], esi
je 0x5a2ac0
cmp dword [ebp - 0x2c], esi
je 0x5a2ac0
cmp dword [ebx + 0x64], esi
je 0x5a2ac0
cmp dword [ebx + 0x68], esi
je 0x5a2ac0
cmp dword [ebx + 0x6c], esi
je 0x5a2ac0
cmp eax, esi
je 0x5a2ac0
mov eax, dword [ebx + 0x28]
shl eax, 2
push eax
push esi
push dword [ebx + 0x80]
call sub.msvcrt.dll_memset
push dword [ebx + 0x24]
push 0xff
push dword [ebx + 0x6c]
call sub.msvcrt.dll_memset
mov eax, dword [ebx + 0x34]
mov edi, dword [ebp - 0x2c]
shl eax, 2
push eax
push esi
push edi
mov dword [ebp - 0x14], esi
call sub.msvcrt.dll_memset
add esp, 0x24
cmp dword [ebx + 0x9c], esi
mov dword [ebp - 8], esi
jbe 0x5a23e3
lea eax, [ebp - 0xc4]
push eax
push dword [ebp - 8]
lea ecx, [ebx + 0x94]
call fcn.0059e4f4
cmp dword [ebp - 0x54], esi
je 0x5a23d5
cmp dword [ebp - 0x9c], 0x80000000
jne 0x5a23d5
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebx + 0x34]
ja 0x5a2906
lea eax, [edi + eax*4]
inc dword [eax]
inc dword [ebp - 0x14]
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebx + 0x9c]
jb 0x5a2398
mov esi, dword [ebx + 0x34]
xor ecx, ecx
push 8
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
test edi, edi
pop ecx
je 0x5a2415
push 0x59d9f3
push esi
push 8
push edi
call fcn.00466dcc
mov eax, edi
jmp 0x5a2417
xor eax, eax
mov dword [ebx + 0x84], eax
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push 0xc
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
xor edi, edi
cmp dword [ebx + 0x84], edi
pop ecx
mov dword [ebx + 0x88], eax
je 0x5a2ac0
cmp eax, edi
je 0x5a2ac0
mov ecx, eax
xor eax, eax
cmp dword [ebx + 0x34], edi
jbe 0x5a2474
mov edx, dword [ebx + 0x84]
mov dword [edx + eax*8], ecx
mov edx, dword [ebp - 0x2c]
mov edx, dword [edx + eax*4]
imul edx, edx, 0xc
add ecx, edx
inc eax
cmp eax, dword [ebx + 0x34]
jb 0x5a245a
cmp dword [ebx + 0x9c], edi
mov dword [ebp - 8], edi
jbe 0x5a2581
lea eax, [ebp - 0xc4]
push eax
push dword [ebp - 8]
lea ecx, [ebx + 0x94]
call fcn.0059e4f4
cmp dword [ebp - 0x54], edi
je 0x5a256f
cmp dword [ebp - 0x9c], 0x80000000
jne 0x5a256f
mov eax, dword [ebx + 0x84]
mov esi, dword [ebp - 0x98]
mov edx, dword [ebp - 8]
shl esi, 3
lea ecx, [eax + esi]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
imul eax, eax, 0xc
mov dword [eax + ecx], edx
mov cl, byte [ebp - 0x94]
mov edi, dword [ebx + 0x84]
mov edi, dword [edi + esi]
mov dl, cl
and dl, 1
neg dl
sbb edx, edx
and edx, 0xffff0001
add edx, 0xffff
mov word [edi + eax + 4], dx
mov edi, dword [ebx + 0x84]
mov edi, dword [edi + esi]
mov dl, cl
and dl, 2
neg dl
sbb edx, edx
and edx, 0xffff0002
add edx, 0xffff
mov word [edi + eax + 6], dx
mov edi, dword [ebx + 0x84]
mov edi, dword [edi + esi]
mov dl, cl
and dl, 4
neg dl
sbb edx, edx
and edx, 0xffff0003
and cl, 8
add edx, 0xffff
neg cl
mov word [edi + eax + 8], dx
mov edx, dword [ebx + 0x84]
mov edx, dword [edx + esi]
sbb ecx, ecx
and ecx, 0xffff0004
add ecx, 0xffff
mov word [edx + eax + 0xa], cx
mov eax, dword [ebx + 0x84]
lea esi, [eax + esi + 4]
inc dword [esi]
xor edi, edi
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebx + 0x9c]
jb 0x5a2483
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0x10]
add eax, ecx
mov dword [ebx + 0x8c], eax
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 0xc]
mov dword [ebx + 0x90], eax
cmp dword [ecx + 0xc], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
jbe 0x5a286f
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], edi
mov edx, dword [ebp - 0x38]
mov edi, dword [edx]
add edi, dword [ebp - 0x30]
push 2
pop ecx
mov esi, 0x408828
xor eax, eax
mov dword [ebp - 4], edi
repe cmpsb byte [esi], byte es:[edi]
je 0x5a25d1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x5a274d
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x408760
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5a25ef
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x5a274d
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x408708
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5a260d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x5a274d
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x408824
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5a262b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x5a274d
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x40b5c4
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5a2649
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5a2691
movzx eax, word [edx + 6]
cmp eax, dword [ebx + 0x34]
jae 0x5a2906
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 0x5a2853
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x40b5c8
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5a26a7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5a26e8
lea eax, [ebp - 0x16]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
add eax, 2
push eax
call fcn.006abdb3
test eax, eax
mov dword [ebp - 0xc], eax
jl 0x5a2906
mov eax, dword [ebp - 0x38]
mov edx, dword [ebx + 0x64]
movzx ecx, word [eax + 6]
mov dword [ebp - 4], ebx
mov bl, byte [ebp - 0x18]
mov byte [ecx + edx], bl
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx + 0x68]
mov dl, byte [ebp - 0x16]
jmp 0x5a2741
mov edi, dword [ebp - 4]
push 2
pop ecx
mov esi, 0x40b5c0
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5a26fe
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5a2853
lea eax, [ebp - 0x15]
push eax
lea eax, [ebp - 0x17]
push eax
mov eax, dword [ebp - 4]
add eax, 2
push eax
call fcn.006abdb3
test eax, eax
mov dword [ebp - 0xc], eax
jl 0x5a2906
mov eax, dword [ebp - 0x38]
mov edx, dword [ebx + 0x6c]
movzx ecx, word [eax + 6]
mov dword [ebp - 4], ebx
mov bl, byte [ebp - 0x17]
mov byte [ecx + edx], bl
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx + 0x70]
mov dl, byte [ebp - 0x15]
movzx eax, word [eax + 6]
mov byte [eax + ecx], dl
jmp 0x5a2853
mov esi, dword [ebp - 4]
push esi
call fcn.0059d9ff
mov ecx, dword [ebx + 0x74]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x34]
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 0x5a2795
mov ecx, dword [ebx + 0x8c]
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x40]
add esi, ecx
add edi, ecx
push 5
pop ecx
rep movsd dword es:[edi], dword [esi]
test byte [edx + 0xa], 1
je 0x5a27ad
mov ecx, dword [ebx + 0x80]
mov esi, dword [ebx + 0x8c]
mov edi, dword [ebp - 0x14]
mov dword [ecx + edi*4], esi
movzx ecx, word [edx + 0xa]
test cl, 2
je 0x5a27e3
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 0x5a27df
mov esi, edi
mov dword [ecx], esi
jmp 0x5a27eb
mov ecx, dword [ebx + 0x74]
or dword [eax + ecx + 0xc], 0xffffffff
inc dword [ebp - 0x14]
add dword [ebp - 0x40], 0x14
mov edi, dword [ebp - 4]
add eax, 0x10
push 2
mov dword [ebp - 0x34], eax
pop ecx
mov esi, 0x408828
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x5a280e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5a283f
cmp word [edx + 8], ax
jbe 0x5a283f
movzx ecx, 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 0x5a2818
mov edx, dword [edx + 0xc]
test edx, edx
je 0x5a2906
cmp edx, dword [ebp - 0x3c]
ja 0x5a2906
add dword [ebp - 0x38], 0x14
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x10]
add dword [ebp - 0x44], 0x14
cmp ecx, dword [eax + 0xc]
jb 0x5a25b3
xor edi, edi
mov eax, dword [ebx + 8]
cmp dword [eax], 0x7ffe0200
jb 0x5a2ac7
cmp dword [ebx + 0x9c], edi
mov dword [ebp - 8], edi
jbe 0x5a28ba
push dword [ebp - 8]
lea ecx, [ebx + 0x94]
call fcn.0059e4d7
cmp eax, 0x1d
je 0x5a28a6
cmp eax, 0x27
je 0x5a28a6
cmp eax, 0x2b
jne 0x5a28ac
inc dword [ebx + 0xa4]
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebx + 0x9c]
jb 0x5a2889
mov esi, dword [ebx + 0xa4]
cmp esi, edi
jbe 0x5a2ac7
xor ecx, ecx
push 0x20
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
je 0x5a2912
push 0x59d954
push esi
lea edi, [eax + 4]
push 0x20
push edi
mov dword [eax], esi
call fcn.00466dcc
mov eax, edi
jmp 0x5a2914
mov dword [ebp - 0xc], 0x80004005
jmp 0x5a2ac7
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, dword [ebx + 0xa4]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0xa4]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0xa4]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
xor esi, esi
add esp, 0xc
cmp dword [ebx + 0xa0], esi
mov dword [ebp - 0x1c], eax
je 0x5a2ac0
cmp dword [ebp - 0x24], esi
je 0x5a2ac0
cmp dword [ebp - 0x20], esi
je 0x5a2ac0
cmp eax, esi
je 0x5a2ac0
mov eax, dword [ebx + 0xa4]
shl eax, 2
push eax
mov edi, 0xff
push edi
push dword [ebp - 0x24]
call sub.msvcrt.dll_memset
mov eax, dword [ebx + 0xa4]
shl eax, 2
push eax
push edi
push dword [ebp - 0x20]
call sub.msvcrt.dll_memset
mov eax, dword [ebx + 0xa4]
shl eax, 2
push eax
push edi
push dword [ebp - 0x1c]
call sub.msvcrt.dll_memset
add esp, 0x24
cmp dword [ebx + 0x9c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 8], esi
jbe 0x5a2a33
push dword [ebp - 8]
lea ecx, [ebx + 0x94]
call fcn.0059e4d7
cmp eax, 0x1b
je 0x5a2a0d
cmp eax, 0x26
je 0x5a2a0d
cmp eax, 0x27
jbe 0x5a2a25
cmp eax, 0x29
ja 0x5a2a25
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 8]
push dword [ebp - 0x20]
mov ecx, ebx
push dword [ebp - 0x24]
push eax
call fcn.005a1924
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebx + 0x9c]
jb 0x5a29eb
cmp dword [ebx + 0xa4], esi
mov dword [ebp - 0x28], esi
jbe 0x5a2ac7
mov eax, dword [ebp - 0x24]
mov edi, esi
shl edi, 2
mov eax, dword [edi + eax]
push eax
lea ecx, [ebx + 0x94]
mov dword [ebp - 0x34], eax
call fcn.0059e4d7
mov ecx, dword [ebp - 0x20]
mov ecx, dword [edi + ecx]
cmp ecx, 0xffffffff
je 0x5a2a84
mov eax, dword [ebp - 0x1c]
shl esi, 5
add esi, dword [ebx + 0xa0]
push esi
push dword [edi + eax]
push ecx
push dword [ebp - 0x34]
mov ecx, ebx
call fcn.005a1cac
jmp 0x5a2aa8
cmp eax, 0x1b
je 0x5a2a8e
cmp eax, 0x26
jne 0x5a2ab2
mov eax, dword [ebp - 0x1c]
shl esi, 5
add esi, dword [ebx + 0xa0]
mov ecx, ebx
push esi
push dword [edi + eax]
push dword [ebp - 0x34]
call fcn.005a1b84
test eax, eax
mov dword [ebp - 0xc], eax
jl 0x5a2ac7
mov esi, dword [ebp - 0x28]
inc esi
cmp esi, dword [ebx + 0xa4]
mov dword [ebp - 0x28], esi
jb 0x5a2a42
jmp 0x5a2ac7
mov dword [ebp - 0xc], 0x8007000e
pop edi
push dword [ebp - 0x24]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x20]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x1c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x2c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0xc]
add esp, 0x10
pop esi
pop ebx
leave
ret