Function at 0x44f3ed
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c947
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf4
push edi
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xe8], 0
mov byte [ebp - 0x78], 0
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x77]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0xdc], 0
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0xdb]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x14], 0
push 0x4a207c
push 0x4a2080
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00483c27
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp - 0xe8], 0
jne 0x44f4cc
push 0x4a208c
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0xec]
push edx
call sub.MFC42.DLL_operator_1
mov byte [ebp - 4], 1
push 0x4a2098
lea ecx, [ebp - 0xec]
call fcn.00402e50
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xec]
call sub.MFC42.DLL_CString::CString
cmp dword [ebp - 0xe8], 0
je 0x44f56e
mov eax, 1
test eax, eax
je 0x44f55e
mov ecx, dword [ebp - 0xe8]
push ecx
push 0x64
lea edx, [ebp - 0x78]
push edx
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x44f503
jmp 0x44f55e
push 0x4a209c
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x44f559
mov ecx, dword [ebp - 0x14]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
sub eax, 6
push eax
mov edx, dword [ebp - 0x14]
add edx, 6
push edx
lea eax, [ebp - 0xdc]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 0x4a20a4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0xdc]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x44f55e
jmp 0x44f4d9
mov edx, dword [ebp - 0xe8]
push edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [ebp - 0xe0], 0
jmp 0x44f589
mov eax, dword [ebp - 0xe0]
add eax, 1
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0x64
jge 0x44f5b7
mov ecx, dword [ebp - 0xe0]
movsx edx, byte [ebp + ecx - 0xdc]
cmp edx, 0xa
jne 0x44f5b5
mov eax, dword [ebp - 0xe0]
mov byte [ebp + eax - 0xdc], 0
jmp 0x44f5b7
jmp 0x44f57a
lea ecx, [ebp - 0xdc]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
mov dword [ebp - 0xe4], eax
mov edx, dword [ebp - 0xe4]
movsx eax, byte [ebp + edx - 0xdd]
cmp eax, 0x5c
jne 0x44f5ed
mov ecx, dword [ebp - 0xe4]
mov byte [ebp + ecx - 0xdd], 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xdc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x4a20b8
push 0xff
mov edx, dword [ebp - 0x100]
add edx, 0xf8
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x18
push 0x100
mov eax, dword [ebp - 0x100]
add eax, 0xf8
push eax
call fcn.0044f373
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xdc]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0x4a20c4
push 0xff
mov ecx, dword [ebp - 0x100]
add ecx, 0x1f8
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x18
push 0x100
mov edx, dword [ebp - 0x100]
add edx, 0x1f8
push edx
call fcn.0044f373
add esp, 8
push 0x4a20dc
mov eax, dword [ebp - 0x100]
add eax, 0x1f8
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
je 0x44f86f
mov ecx, 1
test ecx, ecx
je 0x44f85f
mov edx, dword [ebp - 0xe8]
push edx
push 0x64
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x44f6dc
jmp 0x44f85f
push 0x4a20e0
lea ecx, [ebp - 0x78]
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x44f788
lea edx, [ebp - 0x6e]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
push ecx
mov ecx, 0x4a7860
call fcn.00458925
mov edx, dword [ebp - 0xf0]
push edx
push 0x4a20ec
push 0x63
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea ecx, [ebp - 0xf4]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x78]
push ecx
push 0x4a20fc
lea edx, [ebp - 0xf4]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0xf4]
call fcn.00402e50
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xf4]
call sub.MFC42.DLL_CString::CString
jmp 0x44f85a
push 0x4a2114
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
je 0x44f85a
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xf8], 1
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebp - 0xf8], eax
xor eax, eax
cmp dword [ebp - 0xf8], 0
sete al
mov ecx, dword [ebp - 0x100]
mov dword [ecx + 0x2f8], eax
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 0x2f8]
mov dword [edx + 0x2fc], ecx
mov edx, dword [ebp - 0xf8]
push edx
push 0x4a2120
push 0x63
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea ecx, [ebp - 0xfc]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x78]
push ecx
push 0x4a2138
lea edx, [ebp - 0xfc]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0xfc]
call fcn.00402e50
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xfc]
call sub.MFC42.DLL_CString::CString
jmp 0x44f85f
jmp 0x44f6ab
mov eax, dword [ebp - 0xe8]
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 4