Function at 0x1004d510
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1098
call fcn.1001a2d0
mov eax, dword [0x10086ba0]
xor eax, ebp
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xdc], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xd4], 0
xor edx, edx
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xb4], edx
mov byte [0x100a5369], 0
push 0xfa0
push 0
lea eax, [ebp - 0x1080]
push eax
call fcn.100139b0
add esp, 0xc
mov dword [ebp - 0x20], 0
jmp 0x1004d5b9
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0xd8]
jge 0x1004d5db
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
movsx cx, byte [eax]
mov edx, dword [ebp - 0x20]
mov word [ebp + edx*2 - 0x1080], cx
jmp 0x1004d5b0
lea eax, [ebp - 0x1080]
push eax
call sub.RtlIhvOid.dll_Ordinal_4
add esp, 4
mov dword [ebp - 0xe0], eax
push 0x42
push 0
lea ecx, [ebp - 0xb0]
push ecx
call fcn.100139b0
add esp, 0xc
mov dword [ebp - 0x20], 0
jmp 0x1004d615
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
jge 0x1004d634
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x20]
movsx dx, byte [ecx]
mov eax, dword [ebp - 0x20]
mov word [ebp + eax*2 - 0xb0], dx
jmp 0x1004d60c
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xd0]
push edx
call fcn.10013640
add esp, 0xc
lea eax, [ebp - 0xd4]
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x14], 0
jne 0x1004d686
mov dword [ebp - 8], 2
jmp 0x1004d69f
cmp dword [ebp + 0x14], 1
jne 0x1004d695
mov dword [ebp - 8], 1
jmp 0x1004d69f
mov dword [ebp - 0xe0], 0x57
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1098], 0x1e
mov dword [ebp - 0x1094], 0
mov ecx, dword [ebp - 0x1098]
sub ecx, 1
mov dword [ebp - 0x1098], ecx
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
push 0
lea edx, [ebp - 0x1090]
push edx
call fcn.100139b0
add esp, 0xc
push 4
lea eax, [ebp - 0x1090]
push eax
push 0xff0101bd
push 0
call sub.RtlIhvOid.dll_Ordinal_2
add esp, 0x10
mov dword [ebp - 0x1094], eax
cmp dword [ebp - 0x1094], 0
je 0x1004d724
mov ecx, dword [ebp - 0x1090]
shr ecx, 8
mov dword [ebp - 0x1090], ecx
cmp dword [ebp - 0x1090], 1
jne 0x1004d73f
cmp dword [ebp - 0x1094], 0
je 0x1004d73f
cmp dword [ebp - 0x1098], 0
jne 0x1004d6c1
lea edx, [ebp - 0x18]
push edx
call sub.RtlIhvOid.dll_Ordinal_18
add esp, 4
mov dword [ebp - 0xe0], eax
lea ecx, [ebp - 0x1084]
call fcn.10001af0
mov eax, dword [ebp - 0xe0]
push eax
push 0x10078068
lea ecx, [ebp - 0x1084]
push ecx
call fcn.100025d0
add esp, 0xc
lea ecx, [ebp - 0x1084]
call fcn.10001ae0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x1084]
call fcn.10001850
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.1001362b
mov esp, ebp
pop ebp
ret