Function at 0x4bb060
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fea20
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5322a8]
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 0x4bb0dc
push 0x527810
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esi, 8
cmp dword [ebp + 0x1c], esi
jb 0x4bb0b6
mov eax, dword [ebp + 8]
push eax
call fcn.004e41ab
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 0x4bb311
mov edx, dword [ebp + 0x24]
push edx
jmp 0x4bb309
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.0048ce90
mov edi, esi
lea ecx, [ebp - 0x20]
call fcn.004baeb0
add esp, 0x1c
test eax, eax
je 0x4bb2cb
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.0048ce90
mov edi, esi
lea ecx, [ebp - 0x24]
call fcn.004baeb0
add esp, 0x1c
test eax, eax
je 0x4bb2cb
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
cmp edi, ebx
jne 0x4bb1d7
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
cmp eax, esi
jne 0x4bb1ae
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
jle 0x4bb186
sub eax, ecx
mov edi, eax
jmp 0x4bb18a
sub ecx, eax
mov edi, ecx
lea esi, [ebp + 8]
call fcn.0048cd50
lea esi, [ebp + 0x24]
call fcn.0048cd50
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.004badd0
mov edx, dword [ebp - 0x14]
push esi
mov ecx, ebx
mov edi, eax
call fcn.004badd0
add esp, 8
cmp edi, eax
jle 0x4bb1d1
sub edi, eax
jmp 0x4bb18a
sub eax, edi
mov edi, eax
jmp 0x4bb18a
jle 0x4bb1f6
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 0x4bb1f9
mov esi, dword [ebp - 0x18]
mov ecx, edi
call fcn.004bad80
mov ecx, edi
test eax, eax
je 0x4bb218
mov edx, dword [ebp - 0x10]
push edx
mov edx, esi
call fcn.004badd0
mov esi, 0x16e
jmp 0x4bb228
mov eax, dword [ebp - 0x10]
push eax
mov edx, esi
call fcn.004badd0
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.004badd0
inc edi
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], 0
cmp edi, ebx
jge 0x4bb270
lea ecx, [ecx]
mov ecx, edi
call fcn.004bad80
test eax, eax
je 0x4bb264
add dword [ebp - 0x14], 0x16e
jmp 0x4bb26b
add dword [ebp - 0x14], 0x16d
inc edi
cmp edi, ebx
jl 0x4bb250
mov edi, dword [ebp - 0x14]
add edi, dword [ebp - 0x24]
add edi, esi
mov esi, 8
cmp dword [ebp + 0x1c], esi
jb 0x4bb28e
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e41ab
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 0x4bb19a
mov eax, dword [ebp + 0x24]
push eax
call fcn.004e41ab
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 0x527820
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esi, 8
cmp dword [ebp + 0x1c], esi
jb 0x4bb2ec
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e41ab
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 0x4bb311
mov eax, dword [ebp + 0x24]
push eax
call fcn.004e41ab
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