Function at 0x4b6fc0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fe660
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5552b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
cmp dword [ebp + 0x18], 0
jne 0x4b703c
push 0x526da8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esi, 8
cmp dword [ebp + 0x1c], esi
jb 0x4b7016
mov eax, dword [ebp + 8]
push eax
call fcn.004e4fab
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], cx
cmp dword [ebp + 0x38], esi
jb 0x4b7271
mov edx, dword [ebp + 0x24]
push edx
jmp 0x4b7269
sub esp, 0x1c
mov edi, esp
xor eax, eax
mov dword [ebp - 0x24], esp
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
lea ecx, [ebp + 8]
mov word [edi], ax
push ecx
or eax, 0xffffffff
lea ebx, [ebp - 0x18]
lea esi, [ebp - 0x10]
call fcn.0048c1d0
mov edi, esi
lea ecx, [ebp - 0x20]
call fcn.004b6e10
add esp, 0x1c
test eax, eax
je 0x4b722b
sub esp, 0x1c
mov edi, esp
xor edx, edx
mov dword [ebp - 0x24], esp
push edx
lea eax, [ebp + 0x24]
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
or eax, 0xffffffff
lea ebx, [ebp - 0x14]
lea esi, [ebp - 0x1c]
mov word [edi], dx
call fcn.0048c1d0
mov edi, esi
lea ecx, [ebp - 0x24]
call fcn.004b6e10
add esp, 0x1c
test eax, eax
je 0x4b722b
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
cmp edi, ebx
jne 0x4b7137
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
cmp eax, esi
jne 0x4b710e
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
jle 0x4b70e6
sub eax, ecx
mov edi, eax
jmp 0x4b70ea
sub ecx, eax
mov edi, ecx
lea esi, [ebp + 8]
call fcn.0048c090
lea esi, [ebp + 0x24]
call fcn.0048c090
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x18]
push eax
mov ecx, edi
call fcn.004b6d30
mov edx, dword [ebp - 0x14]
push esi
mov ecx, ebx
mov edi, eax
call fcn.004b6d30
add esp, 8
cmp edi, eax
jle 0x4b7131
sub edi, eax
jmp 0x4b70ea
sub eax, edi
mov edi, eax
jmp 0x4b70ea
jle 0x4b7156
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
mov eax, edi
mov edi, ebx
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
jmp 0x4b7159
mov esi, dword [ebp - 0x18]
mov ecx, edi
call fcn.004b6ce0
mov ecx, edi
test eax, eax
je 0x4b7178
mov edx, dword [ebp - 0x10]
push edx
mov edx, esi
call fcn.004b6d30
mov esi, 0x16e
jmp 0x4b7188
mov eax, dword [ebp - 0x10]
push eax
mov edx, esi
call fcn.004b6d30
mov esi, 0x16d
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add esp, 4
push ecx
mov ecx, ebx
sub esi, eax
call fcn.004b6d30
inc edi
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], 0
cmp edi, ebx
jge 0x4b71d0
lea ecx, [ecx]
mov ecx, edi
call fcn.004b6ce0
test eax, eax
je 0x4b71c4
add dword [ebp - 0x14], 0x16e
jmp 0x4b71cb
add dword [ebp - 0x14], 0x16d
inc edi
cmp edi, ebx
jl 0x4b71b0
mov edi, dword [ebp - 0x14]
add edi, dword [ebp - 0x24]
add edi, esi
mov esi, 8
cmp dword [ebp + 0x1c], esi
jb 0x4b71ee
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e4fab
add esp, 4
xor edx, edx
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], dx
cmp dword [ebp + 0x38], esi
jb 0x4b70fa
mov eax, dword [ebp + 0x24]
push eax
call fcn.004e4fab
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x526db8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esi, 8
cmp dword [ebp + 0x1c], esi
jb 0x4b724c
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e4fab
add esp, 4
xor edx, edx
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov word [ebp + 8], dx
cmp dword [ebp + 0x38], esi
jb 0x4b7271
mov eax, dword [ebp + 0x24]
push eax
call fcn.004e4fab
add esp, 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret