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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x462898
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x474860]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0
call ebx
cmp eax, 4
ja 0x41053a
sar byte [ebx], cl
add bl, ah
sbb dword [edi + eax + 0x156c1363], eax
das
adc byte [edi - 0x9180e60], cl
loope 0x410526
inc esi
cmp byte [edx + 5], dh
aaa
int3
adc dword [edi], 0xffffffb2
rcr bl, 1
neg byte [edx - 0x75c5ba3e]
cld
mov dl, 0xdd
and dh, cl
fld qword [edx + 0x6af40b]
push 0
push 0x46cfb4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.0040dbb0
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0040faf0
mov ecx, esi
call fcn.0040f680
call ebx
cmp eax, 3
ja 0x4105a0
fidiv dword [ebp + 0x73f29d2d]
and ch, byte [edi - 0x52]
in eax, dx
ljmp 0xccb7
mov eax, dword [esi]
cmp byte [eax + 8], 0
je 0x410641
push ecx
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
call fcn.00411670
mov edi, dword [esi]
mov ebx, eax
add edi, 0x50
cmp edi, ebx
je 0x410624
cmp dword [edi + 0x14], 0x10
jb 0x4105d3
push dword [edi]
call fcn.00447bb4
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [ebx + 0x14], 0x10
jae 0x4105fd
mov eax, dword [ebx + 0x10]
inc eax
je 0x410607
push eax
push ebx
push edi
call fcn.00447c20
add esp, 0xc
jmp 0x410607
mov eax, dword [ebx]
mov dword [edi], eax
mov dword [ebx], 0
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp dword [ebp - 0x30], 0x10
jb 0x410635
push dword [ebp - 0x44]
call fcn.00447bb4
add esp, 4
mov eax, dword [esi]
cmp dword [eax + 0x60], 0
jne 0x4106ca
push ecx
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
call fcn.00413640
mov edi, dword [esi]
mov ebx, eax
add edi, 0x50
cmp edi, ebx
je 0x4106b9
cmp dword [edi + 0x14], 0x10
jb 0x410668
push dword [edi]
call fcn.00447bb4
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [ebx + 0x14], 0x10
jae 0x410692
mov eax, dword [ebx + 0x10]
inc eax
je 0x41069c
push eax
push ebx
push edi
call fcn.00447c20
add esp, 0xc
jmp 0x41069c
mov eax, dword [ebx]
mov dword [edi], eax
mov dword [ebx], 0
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp dword [ebp - 0x30], 0x10
jb 0x4106ca
push dword [ebp - 0x44]
call fcn.00447bb4
add esp, 4
mov eax, dword [esi]
add eax, 0x50
push eax
call fcn.0040fc00
mov eax, dword [esi]
lea ecx, [eax + 0x50]
add eax, 0x140
cmp eax, ecx
je 0x4106ef
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.0040da80
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 3
ja 0x410723
mov dh, 0xbc
in al, 0x30
scasb al, byte es:[edi]
invalid
lea eax, [ebp - 0x44]
push eax
call fcn.004100d0
mov edi, dword [esi]
mov ebx, eax
add edi, 0x68
cmp edi, ebx
je 0x410798
cmp dword [edi + 0x14], 0x10
jb 0x410747
push dword [edi]
call fcn.00447bb4
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [ebx + 0x14], 0x10
jae 0x410771
mov eax, dword [ebx + 0x10]
inc eax
je 0x41077b
push eax
push ebx
push edi
call fcn.00447c20
add esp, 0xc
jmp 0x41077b
mov eax, dword [ebx]
mov dword [edi], eax
mov dword [ebx], 0
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp dword [ebp - 0x30], 0x10
jb 0x4107a9
push dword [ebp - 0x44]
call fcn.00447bb4
add esp, 4
mov eax, dword [esi]
add eax, 0x68
push eax
call fcn.0040fc00
mov eax, dword [esi]
lea edx, [eax + 0x68]
lea ecx, [eax + 0x158]
cmp ecx, edx
je 0x4107cd
push 0xffffffffffffffff
push 0
push edx
call fcn.0040da80
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, 3
ja 0x410801
jmp 0x72ed7622
lea eax, [ebp - 0x44]
push eax
call fcn.004103c0
mov edi, dword [esi]
mov ebx, eax
sub edi, 0xffffff80
cmp edi, ebx
je 0x410876
cmp dword [edi + 0x14], 0x10
jb 0x410825
push dword [edi]
call fcn.00447bb4
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [ebx + 0x14], 0x10
jae 0x41084f
mov eax, dword [ebx + 0x10]
inc eax
je 0x410859
push eax
push ebx
push edi
call fcn.00447c20
add esp, 0xc
jmp 0x410859
mov eax, dword [ebx]
mov dword [edi], eax
mov dword [ebx], 0
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
cmp dword [ebp - 0x30], 0x10
jb 0x410887
push dword [ebp - 0x44]
call fcn.00447bb4
add esp, 4
mov eax, dword [esi]
sub eax, 0xffffff80
push eax
call fcn.0040fc00
mov eax, dword [esi]
lea edx, [eax + 0x80]
lea ecx, [eax + 0x170]
cmp ecx, edx
je 0x4108ae
push 0xffffffffffffffff
push 0
push edx
call fcn.0040da80
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
cmp eax, 3
ja 0x4108e4
xchg ebx, eax
clc
sub dword [ecx], ebp
daa
jmp 0xbc834c0a
call ebx
cmp eax, 3
ja 0x410914
xor bl, byte [ebx]
int1
scasb al, byte es:[edi]
in al, dx
inc ebx
mov bh, 0xe3
int1
or dword [eax + 0x7c], 0xffffff8a
rcl dword [ebp - 0x51]
and al, al
mov ah, 0x4d
push ecx
inc edi
adc dword [ebp - 0x591f3bbc], esp
cmp dword [eax - 0x6b], eax
inc ebx
cmc
sbb byte [ebx + edi*8], bl
or eax, 0xff8e5a73
rol dword [ebx + 0x297703f8], cl
call ebx
cmp eax, 3
ja 0x410944
lodsd eax, dword [esi]
into
ficom dword [edi + 0x528f9e32]
mov ebx, 0xe7ce2119
in eax, dx
fiadd dword [eax + 0x31]
ret
call ebx
cmp eax, 3
ja 0x410974
sub byte [edi], dh
invalid
call ebx
cmp eax, 3
ja 0x4109a4
bound ebx, qword [esi]
inc ebp
insb byte es:[edi], dx
movlps xmm6, qword [esi - 0x27d1c78f]
jmp 0x63ecc102
mov eax, dword [esi]
add eax, 0x50
push eax
call fcn.00410d80
mov eax, dword [esi]
add eax, 0x68
push eax
call fcn.00410d80
mov eax, dword [esi]
sub eax, 0xffffff80
push eax
call fcn.00410d80
mov eax, dword [esi]
add eax, 0x98
push eax
call fcn.00410d80
mov eax, dword [esi]
add eax, 0x38
push eax
call fcn.00410d80
mov eax, dword [esi]
add eax, 0xb0
push eax
call fcn.00410d80
mov eax, dword [esi]
add eax, 0xc8
push eax
call fcn.00410d80
mov eax, dword [esi]
add eax, 0xe0
push eax
call fcn.00410d80
push ecx
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
call fcn.00414730
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040cbf0
cmp dword [ebp - 0x30], 0x10
jb 0x410a2a
push dword [ebp - 0x44]
call fcn.00447bb4
add esp, 4
mov ecx, esi
call fcn.0040fb90
mov ebx, dword [ebp - 0x48]
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.00403910
cmp dword [ebp - 0x18], 0x10
jb 0x410a50
push dword [ebp - 0x2c]
call fcn.00447bb4
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00447bb9
mov esp, ebp
pop ebp
ret 0xc