Function at 0x1004da50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd80
mov eax, dword [0x10086ba0]
xor eax, ebp
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xe0], 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
mov dword [ebp - 0xdc], 0
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0xdc]
add eax, 1
mov dword [ebp - 0xdc], eax
movzx ecx, byte [0x100a5369]
test ecx, ecx
jne 0x1004db02
cmp dword [ebp - 0xdc], 0x14
jl 0x1004dad7
push 0x640
push 0
lea edx, [ebp - 0xd80]
push edx
call fcn.100139b0
add esp, 0xc
mov dword [ebp - 0x20], 0
jmp 0x1004db2a
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0xd8]
jge 0x1004db4c
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
movsx ax, byte [edx]
mov ecx, dword [ebp - 0x20]
mov word [ebp + ecx*2 - 0xd80], ax
jmp 0x1004db21
push 0x42
push 0
lea edx, [ebp - 0xb0]
push edx
call fcn.100139b0
add esp, 0xc
mov dword [ebp - 0x20], 0
jmp 0x1004db71
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x1c]
jge 0x1004db90
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x20]
movsx ax, byte [edx]
mov ecx, dword [ebp - 0x20]
mov word [ebp + ecx*2 - 0xb0], ax
jmp 0x1004db68
mov dword [ebp - 0x18], 1
lea edx, [ebp - 0xd80]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xd0]
push eax
call fcn.10013640
add esp, 0xc
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0x14], 0
jne 0x1004dbe2
mov dword [ebp - 8], 2
jmp 0x1004dbfb
cmp dword [ebp + 0x14], 1
jne 0x1004dbf1
mov dword [ebp - 8], 1
jmp 0x1004dbfb
mov dword [ebp - 0xfc], 0x57
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xf8], 0x1e
mov dword [ebp - 0xf4], 0
mov edx, dword [ebp - 0xf8]
sub edx, 1
mov dword [ebp - 0xf8], edx
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
push 0
lea eax, [ebp - 0xf0]
push eax
call fcn.100139b0
add esp, 0xc
push 4
lea ecx, [ebp - 0xf0]
push ecx
push 0xff0101bd
push 0
call sub.RtlIhvOid.dll_Ordinal_2
add esp, 0x10
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0
je 0x1004dc80
mov edx, dword [ebp - 0xf0]
shr edx, 8
mov dword [ebp - 0xf0], edx
cmp dword [ebp - 0xf0], 1
jne 0x1004dc9b
cmp dword [ebp - 0xf4], 0
je 0x1004dc9b
cmp dword [ebp - 0xf8], 0
jne 0x1004dc1d
lea eax, [ebp - 0x18]
push eax
call sub.RtlIhvOid.dll_Ordinal_18
add esp, 4
mov dword [ebp - 0xfc], eax
lea ecx, [ebp - 0xe4]
call fcn.10001af0
mov ecx, dword [ebp - 0xfc]
push ecx
push 0x10076ab8
lea edx, [ebp - 0xe4]
push edx
call fcn.100025d0
add esp, 0xc
lea ecx, [ebp - 0xe4]
call fcn.10001ae0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0xe4]
call fcn.10001850
mov ecx, dword [ebp - 0x24]
xor ecx, ebp
call fcn.1001362b
mov esp, ebp
pop ebp
ret