Function at 0x40aa78
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b0
call fcn.0040883f
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40aa96
xor eax, eax
jmp 0x40ae55
mov dword [ebp - 0xc], 0x5199c8
mov eax, dword [0x53a230]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.004089d2
mov dword [ebp - 0x18], eax
xor eax, eax
mov ax, word [0x539af6]
test eax, eax
je 0x40aaf2
push str._RCP____GET_PHONEBOOK___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x18]
push ecx
push 0x5199f8
lea edx, [ebp - 0xa4]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x7d0
call fcn.0044cfec
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x20]
jne 0x40ae40
mov edx, dword [0x53a248]
mov dword [ebp - 0x14], edx
mov eax, dword [0x53a234]
push eax
call fcn.004e8de9
add esp, 4
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x2a8]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
je 0x40ab55
mov edx, dword [0x53a234]
push edx
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.004cf390
add esp, 0xc
jmp 0x40ab79
xor ecx, ecx
mov cx, word [0x539af6]
test ecx, ecx
je 0x40ab6d
push 0x519a10
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.00408962
xor eax, eax
jmp 0x40ae55
mov edx, dword [0x53a238]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00408a86
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov cx, word [0x539af6]
test ecx, ecx
je 0x40abcf
mov edx, dword [ebp - 0x18]
push edx
push 0x519a48
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0044ce83
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [0x53a238]
je 0x40ac09
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x2ac], edx
mov eax, dword [ebp - 0x2ac]
push eax
call fcn.004e8e12
add esp, 4
push 0x519a60
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call fcn.00408962
xor eax, eax
jmp 0x40ae55
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [0x53a234]
sub ecx, dword [0x53a238]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
add eax, dword [0x53a238]
push eax
call fcn.00408a86
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov cx, word [0x539af6]
test ecx, ecx
je 0x40aca2
mov edx, dword [ebp - 8]
push edx
push 0x519a7c
lea eax, [ebp - 0x1a4]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x1a4]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 0x18]
push edx
push 0x519a98
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0044ce83
add esp, 8
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 8]
jne 0x40acb3
mov dword [ebp - 4], 1
jmp 0x40acba
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x40ae28
mov edx, dword [0x53a248]
mov dword [ebp - 0x14], edx
xor eax, eax
mov ax, word [0x539af6]
test eax, eax
je 0x40acff
mov ecx, dword [ebp - 0x14]
push ecx
push 0x519ab0
lea edx, [ebp - 0x2a4]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [0x53a238]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], 0
jmp 0x40ad1a
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jge 0x40ae28
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
xor edx, edx
mov dl, byte [ecx]
shl edx, 8
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp - 0x24]
lea ecx, [eax + edx - 1]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x24], 0
jl 0x40ad6a
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x14]
jle 0x40ad6f
jmp 0x40ae28
mov ecx, dword [ebp - 0x24]
imul ecx, ecx, 0x288
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [0x53a6fc]
mov dl, byte [edx]
mov byte [eax + ecx], dl
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
imul ecx, ecx, 0x288
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov eax, dword [0x53a6fc]
mov dl, byte [edx]
mov byte [eax + ecx + 1], dl
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [0x53a25c]
push ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x24]
imul eax, eax, 0x288
mov ecx, dword [0x53a6fc]
lea edx, [ecx + eax + 2]
push edx
call fcn.004cfe40
add esp, 0xc
mov eax, dword [ebp - 0x10]
add eax, dword [0x53a25c]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x53a260]
push ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x24]
imul eax, eax, 0x288
mov ecx, dword [0x53a6fc]
lea edx, [ecx + eax + 0x82]
push edx
call fcn.004cfe40
add esp, 0xc
mov eax, dword [ebp - 0x10]
add eax, dword [0x53a260]
mov dword [ebp - 0x10], eax
jmp 0x40ad11
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x2b0], ecx
mov edx, dword [ebp - 0x2b0]
push edx
call fcn.004e8e12
add esp, 4
call fcn.00408962
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40ae52
xor eax, eax
jmp 0x40ae55
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret