Function at 0xaa4d3f
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1464
call fcn.00af9320
mov eax, dword [0xc940a0]
xor eax, esp
mov dword [esp + 0x1460], eax
cmp dword [ebp + 0x18], 0
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov dword [esp + 0x10], ebx
mov ebx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x10], ebx
je 0xb4341f
xor bl, bl
lea esi, [esp + 0x18]
push esi
push ecx
lea esi, [esp + 0x70]
push esi
push ecx
lea esi, [esp + 0x478]
push esi
mov esi, dword [ebp + 0x18]
push ecx
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push esi
push dword [esp + 0x34]
push dword [esp + 0x3c]
push edi
push eax
call 0xaa4d3f
test byte [ebp + 0x24], 2
jne 0xaa4d1f
cmp esi, 3
je 0xaa4d36
test esi, esi
je 0xb4343d
mov ecx, dword [esp + 0x146c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00ab3c50
mov esp, ebp
pop ebp
ret 0x20
lea ecx, [esp + 0x18]
call fcn.00b5b5eb
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x28]
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 0x1c]
mov word [ebx], ax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
mov byte [eax], 0
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
sub eax, 0
je 0xb434cd
sub eax, 1
jne 0xb4348b
mov ecx, edi
call fcn.00a4aed2
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0x38]
mov eax, dword [ebp + 0x18]
mov dword [esi], eax
xor eax, eax
mov dword [esi + 4], edi
inc eax
lock xadd dword [0xc96e18], eax
inc eax
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x20]
test eax, eax
jne 0xb434d9
xor eax, eax
mov dword [esi + 0xc], eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov dword [esi + 0x10], eax
lea edi, [esi + 0x2c]
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x4c], eax
xor eax, eax
push 6
pop ecx
mov dword [esi + 0x28], edx
rep stosd dword es:[edi], eax
mov edi, dword [0xc97088]
test edi, edi
je 0xaa4e0c
cmp edi, fcn.00aa4ed0
jne 0xb434e9
call fcn.00aa4ed0
mov edi, dword [0xc95834]
mov dword [esi + 0x44], eax
test edi, edi
je 0xaa4e33
push 0x400
push dword [ebp + 0x30]
push esi
cmp edi, fcn.00aa4eb0
jne 0xb434f8
call fcn.00aa4eb0
mov edi, dword [0xc97148]
test edi, edi
jne 0xb43507
mov edi, dword [0xc97150]
test edi, edi
jne 0xb43517
xor eax, eax
cmp dword [esi + 4], eax
jge 0xb43527
cmp byte [0xc97130], al
jne 0xb43571
mov edi, dword [0xc9712c]
test edi, edi
jne 0xb4353e
call dword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
test eax, eax
jne 0xb43571
xor ecx, ecx
mov eax, ecx
test eax, eax
jne 0xb43571
mov edi, dword [0xc97134]
test edi, edi
jne 0xb43552
cmp byte [0xc97138], 0
jne 0xb435b5
pop edi
pop esi
pop ebx
leave
ret 0x34
test byte [ebp + 0x24], 4
jne 0xaa4cdc
cmp dword [0xc9714c], 0
je 0xaa4cdc
mov bl, 1
jmp 0xaa4cde
test bl, bl
je 0xb4345e
mov esi, dword [0xc9714c]
lea eax, [esp + 0x468]
push eax
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call dword [0xc99200]
call esi
test byte [ebp + 0x24], 4
je 0xb43469
call fcn.00b5aefa
mov esi, dword [0xc95840]
test esi, esi
je 0xaa4d36
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call dword [0xc99200]
call esi
jmp 0xaa4d36
sub eax, 1
je 0xb434a4
sub eax, 1
jne 0xaa4d85
push edi
call fcn.00a7e200
jmp 0xaa4d82
test edi, edi
js 0xb434c1
mov edi, 0x8007029c
push edi
push 2
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00aa4c72
mov ecx, edi
call fcn.00b5a9bd
jmp 0xaa4d82
mov ecx, edi
call fcn.00b5a815
jmp 0xaa4d82
xor ecx, ecx
cmp word [eax], cx
jne 0xaa4dac
jmp 0xaa4daa
mov ecx, edi
call dword [0xc99200]
call edi
jmp 0xaa4e0c
mov ecx, edi
call dword [0xc99200]
call edi
jmp 0xaa4e33
push esi
mov ecx, edi
call dword [0xc99200]
call edi
jmp 0xaa4e41
push esi
mov ecx, edi
call dword [0xc99200]
call edi
jmp 0xaa4e4f
cmp dword [ebp + 0x18], 3
je 0xb43532
call fcn.00b5b6c7
mov dword [esi + 4], 0x8000ffff
jmp 0xaa4e5a
mov ecx, edi
call dword [0xc99200]
call edi
movzx eax, al
xor ecx, ecx
jmp 0xaa4e86
cmp byte [0xc97140], 0
jne 0xaa4e9c
push ecx
push ecx
push esi
mov ecx, edi
call dword [0xc99200]
call edi
jmp 0xaa4e9c
mov edi, dword [0xc97134]
test edi, edi
je 0xb43595
cmp byte [0xc97140], 0
jne 0xb43595
push 0x800
push ebx
push esi
mov ecx, edi
call dword [0xc99200]
call edi
xor eax, eax
cmp word [ebx], ax
jne 0xb435a9
push esi
mov edx, 0x800
mov ecx, ebx
call fcn.00b5a13f
push ebx
call dword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
jmp 0xaa4e9c
mov esi, dword [0xc97084]
test esi, esi
je 0xaa4ea9
mov ecx, esi
call dword [0xc99200]
call esi
jmp 0xaa4ea9