Function at 0x2a464ca8
Capabilities:
Print debug messages

Disassembly:
push 0x98
mov eax, 0x2a49871b
call fcn.2a40924e
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0xa4], eax
mov dword [eax], ebx
mov eax, dword [esi + 0x50]
mov dword [ebp - 0xa0], ebx
cmp eax, 0x80040306
jne 0x2a464ef4
lea edi, [esi + 0x54]
mov eax, dword [edi]
mov dword [esi + 0x4c], ebx
mov dword [ebp - 0x8c], ebx
cmp dword [eax - 8], ebx
jne 0x2a464bad
mov dword [ebp - 0x8c], 0x80004005
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x2a464bbf
push eax
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov dword [esi + 0x44], ebx
cmp dword [ebp - 0x8c], ebx
jl 0x2a464ed9
push 0x318
call fcn.2a4021b7
pop ecx
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x2a464bf2
mov ecx, eax
call fcn.2a419416
mov dword [ebp - 0x94], eax
jmp 0x2a464bf8
mov dword [ebp - 0x94], ebx
mov ecx, dword [ebp - 0x94]
or dword [ebp - 4], 0xffffffff
cmp ecx, ebx
jne 0x2a464c10
mov dword [ebp - 0x8c], 0x8007000e
cmp dword [ebp - 0x8c], ebx
jl 0x2a464e1c
call fcn.2a419437
cmp eax, ebx
mov dword [ebp - 0x8c], eax
jl 0x2a464e1c
mov eax, dword [edi]
mov ecx, dword [ebp - 0x94]
push 0x20
push eax
call fcn.2a41946d
cmp eax, ebx
mov dword [ebp - 0x8c], eax
jl 0x2a464e1c
push 0x428
call fcn.2a4021b7
pop ecx
mov ecx, eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 4], 1
cmp ecx, ebx
je 0x2a464c7e
push dword [ebp - 0x94]
call fcn.2a42031a
mov dword [ebp - 0x9c], eax
jmp 0x2a464c84
mov dword [ebp - 0x9c], ebx
mov ecx, dword [ebp - 0x9c]
or dword [ebp - 4], 0xffffffff
cmp ecx, ebx
jne 0x2a464c9c
mov dword [ebp - 0x8c], 0x8007000e
cmp dword [ebp - 0x8c], ebx
jl 0x2a464e0b
push 0x20
push 0x2a43a5cc
call fcn.2a41c211
cmp eax, ebx
mov dword [ebp - 0x8c], eax
jl 0x2a464e0b
push 0x2a464efc
push edi
lea eax, [ebp - 0x90]
push eax
call fcn.2a419d5f
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x90]
call fcn.2a40567c
mov ecx, dword [ebp - 0x9c]
push ebx
push ebx
call fcn.2a41abfc
mov ecx, dword [ebp - 0x9c]
xor eax, eax
lea edi, [esi + 0x48]
mov word [edi], ax
lea eax, [ebp - 0x98]
push eax
push 2
push edi
mov dword [ebp - 0x98], ebx
call fcn.2a42043a
cmp dword [ebp - 0x98], 2
je 0x2a464d2a
mov dword [ebp - 0x8c], 0x80004005
cmp dword [ebp - 0x8c], ebx
jl 0x2a464d4f
movzx eax, word [edi]
shl eax, 3
push eax
call fcn.2a409309
mov dword [esi + 0x44], eax
cmp eax, ebx
jne 0x2a464d4f
mov dword [ebp - 0x8c], 0x8007000e
xor eax, eax
mov dword [ebp - 0x90], ebx
cmp ax, word [edi]
jae 0x2a464e0b
cmp dword [ebp - 0x8c], ebx
jl 0x2a464e0b
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x98]
push eax
push 0x78
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x98], ebx
call fcn.2a42043a
cmp dword [ebp - 0x98], 0x78
je 0x2a464da0
mov dword [ebp - 0x8c], 0x80004005
mov eax, dword [esi + 0x44]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x90]
mov dword [eax + edx*8 + 4], ecx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add eax, ecx
mov ecx, dword [esi + 0x4c]
cmp ecx, eax
jbe 0x2a464dc1
mov eax, ecx
cmp dword [ebp - 0x8c], ebx
mov dword [esi + 0x4c], eax
jl 0x2a464df6
lea eax, [ebp - 0x88]
push eax
mov ecx, esi
call fcn.2a46498a
mov ecx, dword [esi + 0x44]
mov edx, dword [ebp - 0x90]
mov dword [ecx + edx*8], eax
mov eax, dword [esi + 0x44]
mov ecx, edx
cmp dword [eax + ecx*8], ebx
je 0x2a464df6
inc dword [ebp - 0xa0]
movzx eax, word [edi]
inc dword [ebp - 0x90]
cmp dword [ebp - 0x90], eax
jl 0x2a464d60
mov ecx, dword [ebp - 0x9c]
cmp ecx, ebx
je 0x2a464e1c
push 1
call fcn.2a4081bd
mov ecx, dword [ebp - 0x94]
cmp ecx, ebx
je 0x2a464e2d
push 1
call fcn.2a407eee
cmp dword [ebp - 0xa0], ebx
je 0x2a464ed9
cmp dword [ebp - 0x8c], ebx
jl 0x2a464ed9
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x94], 1
cmp edi, ebx
je 0x2a464eb7
movzx eax, word [esi + 0x48]
xor edx, edx
cmp eax, ebx
mov dword [ebp - 0x90], ebx
jle 0x2a464eb7
lea eax, [edi + 4]
jmp 0x2a464e6d
xor ebx, ebx
cmp dword [ebp - 0x94], ebx
je 0x2a464ea1
mov ecx, dword [eax]
cmp ecx, edx
jae 0x2a464e81
mov dword [ebp - 0x94], ebx
inc dword [ebp - 0x90]
mov edx, ecx
movzx ecx, word [esi + 0x48]
add eax, 8
cmp dword [ebp - 0x90], ecx
jl 0x2a464e6b
cmp dword [ebp - 0x94], 0
jne 0x2a464eb7
movzx eax, word [esi + 0x48]
push 0x2a4639bb
push 8
push eax
push edi
call dword [sym.imp.msvcrt.dll_qsort]
add esp, 0x10
mov edi, dword [ebp - 0x8c]
mov ecx, esi
mov dword [esi + 0x50], edi
call fcn.2a464a56
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], eax
mov eax, edi
jmp 0x2a464ef4
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x2a464eeb
push eax
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov dword [esi + 0x44], ebx
mov eax, dword [ebp - 0x8c]
mov dword [esi + 0x50], eax
call fcn.2a40cba9
ret 4