Function at 0x1004d7b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2038
call fcn.1001a2d0
mov eax, dword [0x10086ba0]
xor eax, ebp
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xd4], 0
xor eax, eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x20], eax
push 0x42
push 0
lea edx, [ebp - 0xb0]
push edx
call fcn.100139b0
add esp, 0xc
mov dword [ebp - 0x24], 0
jmp 0x1004d835
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x20]
jge 0x1004d854
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x24]
movsx ax, byte [edx]
mov ecx, dword [ebp - 0x24]
mov word [ebp + ecx*2 - 0xb0], ax
jmp 0x1004d82c
push 0
push 0
lea edx, [ebp - 0xd8]
push edx
lea eax, [ebp - 0xb0]
push eax
call sub.RtlIhvOid.dll_Ordinal_7
add esp, 0x10
mov dword [ebp - 0x2038], eax
cmp dword [ebp - 0x2038], 0
je 0x1004d882
jmp 0x1004da39
push 0xfa0
push 0
lea ecx, [ebp - 0x2030]
push ecx
call fcn.100139b0
add esp, 0xc
mov edx, dword [ebp - 0xd8]
push edx
lea eax, [ebp - 0x2030]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [ebp - 0x2030]
push ecx
call fcn.10016e06
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0x1f40
mov edx, dword [ebp - 0xd8]
push edx
call sub.RtlIhvOid.dll_Ordinal_19
add esp, 4
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp - 0xd4]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.10013640
add esp, 0xc
lea edx, [ebp - 0xd4]
mov dword [ebp - 0x14], edx
cmp dword [ebp + 0x14], 0
jne 0x1004d926
mov dword [ebp - 0xc], 2
jmp 0x1004d944
cmp dword [ebp + 0x14], 1
jne 0x1004d935
mov dword [ebp - 0xc], 1
jmp 0x1004d944
mov dword [ebp - 0x2038], 0x57
jmp 0x1004da39
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x2034], 0x1e
mov dword [ebp - 0xec], 0
mov eax, dword [ebp - 0x2034]
sub eax, 1
mov dword [ebp - 0x2034], eax
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
push 0
lea ecx, [ebp - 0xe8]
push ecx
call fcn.100139b0
add esp, 0xc
push 4
lea edx, [ebp - 0xe8]
push edx
push 0xff0101bd
push 0
call sub.RtlIhvOid.dll_Ordinal_2
add esp, 0x10
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
je 0x1004d9c9
mov eax, dword [ebp - 0xe8]
shr eax, 8
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 1
jne 0x1004d9e4
cmp dword [ebp - 0xec], 0
je 0x1004d9e4
cmp dword [ebp - 0x2034], 0
jne 0x1004d966
lea ecx, [ebp - 0x1c]
push ecx
call sub.RtlIhvOid.dll_Ordinal_18
add esp, 4
mov dword [ebp - 0x2038], eax
lea ecx, [ebp - 0xdc]
call fcn.10001af0
mov edx, dword [ebp - 0x2038]
push edx
push 0x10078044
lea eax, [ebp - 0xdc]
push eax
call fcn.100025d0
add esp, 0xc
lea ecx, [ebp - 0xdc]
call fcn.10001ae0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0xdc]
call fcn.10001850
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.1001362b
mov esp, ebp
pop ebp
ret