Function at 0x10008d90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push edi
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x53]
mov byte [ebp - 0x54], 0
mov word [ebp - 0x94], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x92]
push 0x20
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10009114
push ebx
push esi
push eax
call fcn.10021f3d
push eax
call fcn.10021f33
push 0
call fcn.10021f3d
push eax
call fcn.10021f33
mov edi, dword [sym.imp.KERNEL32.dll_GetLocalTime]
add esp, 0x10
lea ecx, [ebp - 0x34]
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x26]
call ebx
mov ecx, dword [0x10001538]
and esi, 0xffff
xor eax, esi
add ecx, eax
mov dword [0x10001538], ecx
mov eax, dword [0x10001538]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x10001538], eax
sar eax, 0x10
and eax, 0x7fff
shl eax, 0x10
mov dword [ebp - 4], eax
mov eax, dword [0x10001538]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x10001538], eax
sar eax, 0x10
and eax, 0x7fff
add dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push 0
mov dword [ebp - 0x34], edx
call fcn.10021f3d
push eax
call fcn.10021f33
add esp, 8
lea eax, [ebp - 0x1c]
push eax
call edi
mov esi, dword [ebp - 0xe]
call ebx
mov ecx, dword [0x10001538]
and esi, 0xffff
xor eax, esi
add ecx, eax
mov dword [0x10001538], ecx
mov eax, dword [0x10001538]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x10001538], eax
sar eax, 0x10
and eax, 0x7fff
shl eax, 0x10
mov dword [ebp - 4], eax
mov eax, dword [0x10001538]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x10001538], eax
sar eax, 0x10
and eax, 0x7fff
add dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push 0
mov dword [ebp - 0x30], ecx
call fcn.10021f3d
push eax
call fcn.10021f33
add esp, 8
lea edx, [ebp - 0x1c]
push edx
call edi
mov esi, dword [ebp - 0xe]
call ebx
mov ecx, dword [0x10001538]
and esi, 0xffff
xor eax, esi
add ecx, eax
mov dword [0x10001538], ecx
mov eax, dword [0x10001538]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x10001538], eax
sar eax, 0x10
and eax, 0x7fff
shl eax, 0x10
mov dword [ebp - 4], eax
mov eax, dword [0x10001538]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x10001538], eax
sar eax, 0x10
and eax, 0x7fff
add dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push 0
mov dword [ebp - 0x2c], eax
call fcn.10021f3d
push eax
call fcn.10021f33
add esp, 8
lea ecx, [ebp - 0x1c]
push ecx
call edi
mov esi, dword [ebp - 0xe]
call ebx
mov ecx, dword [0x10001538]
and esi, 0xffff
xor eax, esi
add ecx, eax
mov dword [0x10001538], ecx
mov eax, dword [0x10001538]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x10001538], eax
sar eax, 0x10
and eax, 0x7fff
shl eax, 0x10
mov dword [ebp - 4], eax
mov eax, dword [0x10001538]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x10001538], eax
sar eax, 0x10
and eax, 0x7fff
add dword [ebp - 4], eax
mov edx, dword [ebp - 4]
lea esi, [ebp - 0x34]
mov dword [ebp - 0x28], edx
mov ecx, 0x10001338
xor eax, eax
mov dword [ebp - 4], 0x10
mov dword [ebp - 8], 0x200
xor edx, edx
mov dl, byte [esi]
add eax, edx
mov dl, byte [ecx]
mov byte [ebp - 0x20], dl
inc esi
mov edx, dword [ebp - 0x20]
and edx, 0xff
add edx, eax
and edx, 0x1ff
mov eax, edx
mov dl, byte [eax + 0x10001338]
mov byte [ecx], dl
mov dl, byte [ebp - 0x20]
mov byte [eax + 0x10001338], dl
mov edx, dword [ebp - 4]
dec edx
mov dword [ebp - 4], edx
jne 0x10009038
mov dword [ebp - 4], 0x10
sub esi, 0x10
mov edx, dword [ebp - 8]
inc ecx
dec edx
mov dword [ebp - 8], edx
jne 0x10008ff5
push 0
call fcn.10021f3d
push eax
call fcn.10021f33
add esp, 8
lea eax, [ebp - 0x1c]
push eax
call edi
mov esi, dword [ebp - 0xe]
call ebx
and esi, 0xffff
xor eax, esi
mov esi, dword [0x10001538]
add esi, eax
mov dword [0x10001538], esi
mov eax, dword [0x10001538]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x10001538], eax
sar eax, 0x10
and eax, 0x7fff
shl eax, 0x10
mov dword [ebp - 8], eax
mov eax, dword [0x10001538]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [0x10001538], eax
sar eax, 0x10
and eax, 0x7fff
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov esi, 0x10001338
and eax, 7
lea edi, [ebp - 0x54]
add eax, 3
push 0x104
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [ebp + eax - 0x54], 0
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x54]
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x94]
push edx
push esi
call fcn.10022019
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 4