Function at 0x41b460
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x4c6af0]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov eax, dword [0x4cb118]
sub eax, 4
mov dword [ebp - 0x240], eax
mov dword [ebp - 8], 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, dword [0x4cb118]
push ecx
mov edx, dword [0x4cb110]
push edx
push str._____BT_D2_2P:__d_K_ECC_d
call fcn.00414420
add esp, 0x24
cmp dword [0x4c1218], 0
jne 0x41b4c1
cmp dword [0x4c80ec], 0
je 0x41b4ef
cmp dword [0x4cb160], 0
jne 0x41b4d7
mov eax, dword [0x4ca828]
mov dword [ebp - 0x27c], eax
jmp 0x41b4e3
mov ecx, dword [0x4ca830]
mov dword [ebp - 0x27c], ecx
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0x240], edx
cmp dword [0x4cb0c4], 0
je 0x41b555
cmp dword [0x4cb160], 0
jne 0x41b50d
mov dword [ebp - 0x240], 0x23
jmp 0x41b533
fld qword [0x4b30e8]
fcomp qword [ebp + 0x14]
fnstsw ax
test ah, 1
jne 0x41b529
mov dword [ebp - 0x240], 0x2d
jmp 0x41b533
mov dword [ebp - 0x240], 0x19
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 0x240]
push eax
push str._____Use_UPTool_ECC___d
call fcn.00414420
add esp, 0x24
mov dword [ebp - 0x248], 0
jmp 0x41b570
mov ecx, dword [ebp - 0x248]
add ecx, 1
mov dword [ebp - 0x248], ecx
mov edx, dword [ebp - 0x248]
cmp edx, dword [0x4cb110]
jge 0x41b5a6
movzx eax, word [ebp + 0x10]
mov edx, 1
mov ecx, dword [ebp - 0x248]
shl edx, cl
and eax, edx
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0x248]
mov byte [ebp + ecx - 0x238], al
jmp 0x41b561
push 0x410
push 0
push 0x4cdd90
call fcn.0044fbf0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x26c], eax
cmp dword [0x4c1218], 0
je 0x41b5dd
mov edx, dword [0x4ca7fc]
mov dword [ebp - 0x280], edx
jmp 0x41b5e7
mov dword [ebp - 0x280], 0x40
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x259], 0x81
mov byte [ebp - 0x239], 1
cmp dword [0x4ca87c], 0
jne 0x41b621
mov eax, dword [ebp - 0x240]
imul eax, eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0x284], eax
jmp 0x41b62d
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x284], ecx
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x268], edx
push 0x200
push 0
lea eax, [ebp - 0x220]
push eax
call fcn.0044fbf0
add esp, 0xc
mov dword [ebp - 0x10], 2
call fcn.00419b50
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 1
je 0x41b66f
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
push str._Block_Step_d
call fcn.00414420
add esp, 0x24
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 4]
jle 0x41b69d
mov dword [ebp - 0x10], 2
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00414f50
add esp, 8
cmp dword [0x4cb0c0], 1
jl 0x41b6de
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x26c]
push eax
push 0x4b0888
call fcn.00414420
add esp, 0x24
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x264], 0
mov eax, dword [0x4cb0ec]
cdq
idiv dword [0x4cb0f4]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], 0
jmp 0x41b72b
mov ecx, dword [ebp - 0x224]
add ecx, 1
mov dword [ebp - 0x224], ecx
mov edx, dword [ebp - 0x224]
cmp edx, dword [0x4cb108]
jge 0x41bb7a
mov eax, dword [ebp - 0x264]
cmp eax, dword [0x4ca858]
jge 0x41bb7a
cmp dword [0x4cb160], 0
jne 0x41b76d
mov ecx, dword [ebp - 0x224]
movzx edx, byte [ecx + 0x4cacb0]
test edx, edx
jne 0x41b76b
jmp 0x41b71c
jmp 0x41b77f
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x224]
movzx ecx, byte [eax]
test ecx, ecx
jne 0x41b77f
jmp 0x41b71c
cmp dword [0x4cb0c0], 1
jl 0x41b7aa
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edx, dword [ebp - 0x224]
push edx
push str.Log_Pg:__d
call fcn.00414420
add esp, 0x24
mov eax, dword [ebp - 0x264]
add eax, 1
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x244], 0
jmp 0x41b7d4
mov ecx, dword [ebp - 0x244]
add ecx, 1
mov dword [ebp - 0x244], ecx
mov edx, dword [ebp - 0x244]
cmp edx, dword [0x4cb11c]
jge 0x41bb75
mov eax, dword [ebp - 0x244]
mov ecx, dword [eax*4 + 0x4cb120]
mov dword [ebp - 0x258], ecx
mov dword [ebp - 0x14], 0
jmp 0x41b80b
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x4cb0f4]
jge 0x41bb3e
mov dword [ebp - 0x250], 0
jmp 0x41b835
mov ecx, dword [ebp - 0x250]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0x250]
cmp edx, dword [0x4cb0f0]
jge 0x41bb39
cmp dword [0x4cb928], 0
je 0x41b857
xor eax, eax
jmp 0x41bc08
cmp dword [0x5174a0], 0
jne 0x41b867
xor eax, eax
jmp 0x41bc08
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x228]
add eax, dword [ebp - 0x250]
mov dword [ebp - 0xc], eax
mov ecx, dword [0x4cb0f0]
sub ecx, dword [ebp - 0x250]
mov dword [ebp - 0x254], ecx
mov edx, dword [ebp - 0x254]
cmp edx, dword [ebp - 0x1c]
jle 0x41b8a0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x254], eax
cmp dword [0x4cb0c0], 1
jl 0x41b8d2
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x254]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x258]
push eax
push str.Test_Blk:__d_0x_04X__Len_d
call fcn.00414420
add esp, 0x24
push 0x200
push 0
lea ecx, [ebp - 0x220]
push ecx
call fcn.0044fbf0
add esp, 0xc
mov dword [ebp - 0x18], 0
jmp 0x41b8fa
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x254]
jge 0x41b94c
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jl 0x41b94a
mov eax, dword [ebp - 0x18]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov ecx, dword [ebp - 0x18]
and ecx, 7
mov edx, 1
shl edx, cl
movzx ecx, byte [ebp + eax - 0x220]
or ecx, edx
mov eax, dword [ebp - 0x18]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov byte [ebp + eax - 0x220], cl
jmp 0x41b8f1
movzx edx, byte [ebp - 0x259]
push edx
mov eax, dword [ebp - 0x254]
push eax
lea ecx, [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x224]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x258]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042e990
add esp, 0x1c
test eax, eax
jne 0x41b989
jmp 0x41b826
movzx eax, byte [ebp - 0x239]
push eax
mov ecx, dword [ebp - 0x254]
push ecx
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp - 0x224]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x258]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0042eaf0
add esp, 0x1c
test eax, eax
jne 0x41b9c6
jmp 0x41b826
push 0x4ce1a0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042ee30
add esp, 8
test eax, eax
jne 0x41b9e0
jmp 0x41b826
mov dword [ebp - 0x274], 0x4ce1a0
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x18], 0
jmp 0x41ba18
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x274]
add eax, dword [0x4cb110]
mov dword [ebp - 0x274], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x254]
jge 0x41bb34
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jl 0x41ba38
jmp 0x41b9fd
mov dword [ebp - 0x278], 1
mov dword [ebp - 0x248], 0
jmp 0x41ba5d
mov edx, dword [ebp - 0x248]
add edx, 1
mov dword [ebp - 0x248], edx
mov eax, dword [ebp - 0x248]
cmp eax, dword [0x4cb110]
jge 0x41bad7
mov ecx, dword [ebp - 0x248]
movzx edx, byte [ebp + ecx - 0x238]
test edx, edx
jne 0x41ba7f
jmp 0x41ba4e
mov eax, dword [ebp - 0x274]
add eax, dword [ebp - 0x248]
movzx ecx, byte [eax]
mov dword [ebp - 0x260], ecx
mov edx, dword [ebp - 0x274]
add edx, dword [ebp - 0x248]
movzx eax, byte [edx]
cmp eax, dword [ebp - 0x268]
jle 0x41bab5
mov dword [ebp - 0x278], 0
mov ecx, dword [ebp - 0x260]
mov edx, dword [ecx*4 + 0x4cdd90]
add edx, 1
mov eax, dword [ebp - 0x260]
mov dword [eax*4 + 0x4cdd90], edx
jmp 0x41ba4e
cmp dword [ebp - 0x278], 0
jne 0x41bb17
cmp dword [0x4cb0c0], 1
jl 0x41bb15
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x224]
push ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x258]
push eax
push 0x4b08c0
call fcn.00414420
add esp, 0x24
jmp 0x41bb20
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x24c]
add edx, 1
mov dword [ebp - 0x24c], edx
jmp 0x41b9fd
jmp 0x41b826
jmp 0x41b802
cmp dword [0x4cb0c0], 1
jl 0x41bb70
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x258]
push edx
push str.____CE_d__GoodBlockCount_d__d
call fcn.00414420
add esp, 0x24
jmp 0x41b7c5
jmp 0x41b71c
cmp dword [0x4cb0c0], 1
jl 0x41bbab
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x26c]
push eax
push 0x4b0900
call fcn.00414420
add esp, 0x24
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24c]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0x4b0910
call fcn.00414420
add esp, 0x24
cmp dword [ebp - 0x24c], 0
jne 0x41bbe1
mov dword [ebp - 8], 0
jmp 0x41bc05
mov edx, dword [0x4cb0f0]
imul edx, dword [0x4cb0f4]
imul edx, dword [0x4cb11c]
mov eax, edx
imul eax, dword [ebp - 8]
cdq
idiv dword [ebp - 0x24c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0044e8ae
mov esp, ebp
pop ebp
ret