Function at 0x40507d
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x44], 1
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x2c], 0x65
mov ecx, dword [ebp - 0x44]
add ecx, dword [ebp - 0x34]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x68], 1
mov byte [ebp - 0x40], 0x65
mov byte [ebp - 0x2b], 0x72
mov edx, dword [ebp - 0x68]
sub edx, dword [ebp - 0x4c]
mov dword [ebp - 0x64], edx
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x3f], 0x72
mov byte [ebp - 0x29], 0
push 0x14
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x3e], 0x72
mov byte [ebp - 0x3d], 0
cmp dword [ebp - 0x54], 0
jne 0x405106
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x54], 0
je 0x405120
mov edx, dword [ebp - 0x54]
mov byte [edx], 0x61
mov eax, dword [ebp - 0x54]
mov byte [eax + 1], 0x62
mov ecx, dword [ebp - 0x54]
mov byte [ecx + 2], 0
mov byte [ebp - 0x60], 0x65
mov edx, dword [ebp - 0x14]
sub edx, 3
mov dword [ebp - 4], edx
push 0x14
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x405156
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 0x5f], 0x72
mov byte [ebp - 0x10], 0x65
cmp dword [ebp - 0x18], 0
je 0x405178
mov edx, dword [ebp - 0x18]
mov byte [edx], 0x61
mov eax, dword [ebp - 0x18]
mov byte [eax + 1], 0x62
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 2], 0
cmp dword [ebp - 0x18], 0
je 0x405188
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x54], 0
je 0x405198
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x68]
add ecx, dword [ebp - 0x64]
mov dword [ebp - 0x70], ecx
mov byte [ebp - 0x5e], 0x72
mov byte [ebp - 0x5d], 0
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x44]
mov dword [ebp - 0x20], edx
mov byte [ebp - 0xf], 0x72
mov eax, dword [ebp - 0x70]
sub eax, 3
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0xe], 0x72
push 0x14
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 0xd], 0
cmp dword [ebp - 0x48], 0
jne 0x4051f0
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x6c]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x48], 0
je 0x405213
mov ecx, dword [ebp - 0x48]
mov byte [ecx], 0x61
mov edx, dword [ebp - 0x48]
mov byte [edx + 1], 0x62
mov eax, dword [ebp - 0x48]
mov byte [eax + 2], 0
push 0x14
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x30], ecx
call section..text
test eax, eax
jne 0x40536e
mov byte [ebp - 0x7c], 0x65
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x72
mov dword [ebp - 0x84], 1
push 2
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x108], eax
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x90]
mov byte [eax], 0
mov byte [ebp - 0x79], 0
push 0x14
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x88], 0
jmp 0x4052b6
mov edx, dword [ebp - 0x88]
add edx, 1
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x84]
jge 0x4052d3
mov ecx, dword [ebp - 0x90]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4052a7
cmp dword [ebp - 0x80], 0
jne 0x4052e3
lea edx, [ebp - 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x80], 0
je 0x4052fd
mov eax, dword [ebp - 0x80]
mov byte [eax], 0x61
mov ecx, dword [ebp - 0x80]
mov byte [ecx + 1], 0x62
mov edx, dword [ebp - 0x80]
mov byte [edx + 2], 0
cmp dword [ebp - 0x80], 0
je 0x40530d
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x88], ecx
xor eax, eax
jmp 0x405796
cmp dword [ebp - 0x20], 0
je 0x4054f8
mov dword [ebp - 0xa4], 1
push 2
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0
mov byte [ebp - 0x9c], 0x65
mov ecx, dword [ebp - 0xb0]
mov byte [ecx], 0
mov byte [ebp - 0x9b], 0x72
mov dword [ebp - 0xa8], 0
jmp 0x4053da
mov edx, dword [ebp - 0xa8]
add edx, 1
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xa4]
jge 0x4053f7
mov ecx, dword [ebp - 0xb0]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4053cb
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa4]
shl eax, 2
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], 0
jmp 0x405442
mov edx, dword [ebp - 0xa8]
add edx, 1
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0xa4]
jge 0x40547c
mov ecx, dword [ebp - 0xb0]
add ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xac]
mov dl, byte [eax + edx*4]
mov byte [ecx], dl
mov eax, dword [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x405433
mov byte [ebp - 0x9a], 0x72
mov byte [ebp - 0x99], 0
push 0x14
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0xa0], ecx
cmp dword [ebp - 0xa0], 0
jne 0x4054bc
lea edx, [ebp - 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0xa0], 0
je 0x4054e2
mov eax, dword [ebp - 0xa0]
mov byte [eax], 0x61
mov ecx, dword [ebp - 0xa0]
mov byte [ecx + 1], 0x62
mov edx, dword [ebp - 0xa0]
mov byte [edx + 2], 0
cmp dword [ebp - 0xa0], 0
je 0x4054f8
mov eax, dword [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x30], 0
jne 0x405508
lea ecx, [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x30], 0
je 0x405522
mov edx, dword [ebp - 0x30]
mov byte [edx], 0x61
mov eax, dword [ebp - 0x30]
mov byte [eax + 1], 0x62
mov ecx, dword [ebp - 0x30]
mov byte [ecx + 2], 0
call fcn.00404bb1
test eax, eax
jne 0x405664
mov dword [ebp - 0xb4], 1
push 2
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x120], eax
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xc0]
mov byte [eax], 0
mov dword [ebp - 0xb8], 0
jmp 0x405583
mov ecx, dword [ebp - 0xb8]
add ecx, 1
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xb8]
cmp edx, dword [ebp - 0xb4]
jge 0x4055a0
mov eax, dword [ebp - 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x405574
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], ecx
mov byte [ebp - 0xcc], 0x65
mov edx, dword [ebp - 0xb4]
shl edx, 2
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], 0
jmp 0x4055f2
mov ecx, dword [ebp - 0xb8]
add ecx, 1
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xb8]
cmp edx, dword [ebp - 0xb4]
jge 0x40562c
mov eax, dword [ebp - 0xc0]
add eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
mov cl, byte [edx + ecx*4]
mov byte [eax], cl
mov edx, dword [ebp - 0xc0]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4055e3
mov byte [ebp - 0xcb], 0x72
mov byte [ebp - 0xca], 0x72
mov byte [ebp - 0xc9], 0
push 0x14
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xd0], eax
xor eax, eax
jmp 0x405796
cmp dword [ebp - 0x50], 0
je 0x405771
mov dword [ebp - 0xf4], 1
mov byte [ebp - 0xe4], 0x65
mov byte [ebp - 0xe3], 0x72
mov byte [ebp - 0xe2], 0x72
mov byte [ebp - 0xe1], 0
push 0x14
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
jne 0x4056c6
lea ecx, [ebp - 0xe4]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0xd4], 0
cmp dword [ebp - 0xec], 0
je 0x4056f6
mov edx, dword [ebp - 0xec]
mov byte [edx], 0x61
mov eax, dword [ebp - 0xec]
mov byte [eax + 1], 0x62
mov ecx, dword [ebp - 0xec]
mov byte [ecx + 2], 0
mov dword [ebp - 0xe8], 0
cmp dword [ebp - 0xec], 0
je 0x405716
mov edx, dword [ebp - 0xec]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x14
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0xd8], ecx
cmp dword [ebp - 0xd4], 0
jne 0x405764
mov edx, dword [ebp - 0xf0]
mov al, byte [ebp - 0xf4]
mov byte [edx], al
mov ecx, dword [ebp - 0xf0]
mov dl, byte [ebp - 0xe8]
mov byte [ecx + 1], dl
mov eax, dword [ebp - 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x30], 0
je 0x405781
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [ebp - 0x48], 0
je 0x405791
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, 1
mov esp, ebp
pop ebp
ret