Function at 0x5814d225
Capabilities:
Check for time delay via gettickcount
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8134
call fcn.58191480
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov eax, dword [str.lHeX]
push str.CRDATA
push 0x384
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x5814d54a
push eax
mov eax, dword [str.lHeX]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x5814d54a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
je 0x5814d54a
push edi
push esi
lea ecx, [ebp - 0x8134]
mov dl, byte [eax]
xor dl, 0x45
cmp dl, 0x7e
je 0x5814d2bc
mov byte [ecx], dl
inc ecx
lea edx, [ebp - 0x8133]
inc eax
cmp ecx, edx
jbe 0x5814d28d
cmp byte [ecx - 1], 0x4f
jne 0x5814d28d
cmp byte [ecx - 2], 0x48
lea edx, [ecx - 2]
jne 0x5814d28d
mov ecx, edx
mov byte [ecx], 0x4f
inc ecx
jmp 0x5814d28d
mov esi, dword [ebp + 0x10]
mov byte [ecx], 0x7e
cmp esi, 0x2d0
jle 0x5814d2db
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, 0xf0
mov dword [ebp + 0x10], eax
mov esi, eax
push ebx
push dword [ebp + 8]
call fcn.5816a6a0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
cdq
pop ecx
sub eax, edx
pop ecx
mov dword [ebp - 8], esi
push 1
lea ecx, [esi - 0x1e0]
sar eax, 1
pop edi
mov dword [ebp - 0x1c], eax
add eax, 0xfffffec0
push 0xffffff
push dword [ebp - 4]
mov dword [ebp - 0x2c], eax
add eax, 0x280
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
call fcn.5816ae87
pop ecx
pop ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SetBkColor]
push dword [ebp + 8]
lea esi, [ebp - 0x8133]
mov dword [0x581b4210], edi
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp esi, ebx
je 0x5814d4b6
cmp byte [esi], 0x40
jne 0x5814d3b7
inc esi
mov edi, esi
cmp byte [esi], 0x25
jne 0x5814d36a
lea edi, [esi + 1]
mov dword [ebp - 0xc], 1
mov esi, edi
jmp 0x5814d36d
mov dword [ebp - 0xc], ebx
cmp byte [edi], 0x21
jne 0x5814d37d
inc edi
mov dword [ebp + 0xc], 1
inc esi
jmp 0x5814d380
mov dword [ebp + 0xc], ebx
cmp byte [edi], 0x23
je 0x5814d388
inc edi
jmp 0x5814d380
push esi
mov byte [edi], bl
call fcn.581911a0
cmp dword [ebp - 0x10], ebx
pop ecx
mov byte [edi], 0x23
jne 0x5814d39f
lea ecx, [ebp - 0x10]
push ecx
jmp 0x5814d3a0
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0xc]
push eax
push dword [ebp - 4]
call fcn.5814d183
add esp, 0x14
mov dword [ebp + 0xc], eax
jmp 0x5814d3ef
cmp esi, ebx
je 0x5814d4b6
cmp byte [esi], 0x2a
jne 0x5814d3f7
inc esi
mov edi, esi
cmp byte [esi], 0x23
je 0x5814d3d2
inc edi
cmp byte [edi], 0x23
jne 0x5814d3cc
push esi
mov byte [edi], bl
call fcn.581911a0
pop ecx
mov byte [edi], 0x23
push dword [eax*4 + 0x581aab10]
push dword [ebp - 4]
call fcn.5816ae87
pop ecx
pop ecx
lea esi, [edi + 1]
jmp 0x5814d347
cmp esi, ebx
je 0x5814d4b6
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jle 0x5814d4b6
xor edi, edi
cmp byte [esi], 0x23
je 0x5814d44c
mov al, byte [esi]
cmp al, 0x5e
jne 0x5814d441
lea eax, [ebp - 0x134]
push str.juliapa__DEBUG_
push eax
inc esi
mov byte [ebp + edi - 0x134], bl
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push str.juliapa__DEBUG_
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add edi, eax
jmp 0x5814d40d
mov byte [ebp + edi - 0x134], al
inc edi
inc esi
jmp 0x5814d40d
inc esi
mov byte [ebp + edi - 0x134], bl
cmp byte [esi], 0x7e
jne 0x5814d45b
xor esi, esi
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x1c]
cdq
sub eax, edx
push ebx
sar eax, 1
sub edi, eax
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x134]
push eax
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0xc]
push ebx
push ebx
push eax
push edi
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_ExtTextOutA]
mov dword [ebp - 8], ebx
push 6
push ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
push ebx
push 0xffffffffffffffff
push ebx
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ScrollWindowEx]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
call fcn.5816b1d2
test eax, eax
pop ecx
jne 0x5814d51c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, dword [ebp - 0x18]
mov ecx, edi
sub ecx, eax
cmp ecx, 0x30
jae 0x5814d500
sub eax, edi
add eax, 0x30
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 8]
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x10]
jne 0x5814d511
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x14], ebx
jne 0x5814d347
jmp 0x5814d521
call fcn.5816b197
push ebx
push 3
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.5816a565
add esp, 0x10
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.5816a895
add esp, 0xc
pop esi
pop edi
pop ebx
leave
ret