Function at 0x5905fc20
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x591554d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov ebx, ecx
push ebp
push esi
push edi
lea eax, [ebx + 0x58]
push 1
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], ebx
call fcn.590b48a0
mov edx, dword [esp + 0x44]
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x18], ecx
mov eax, dword [edx + 4]
cmp eax, ecx
jle 0x5905fe55
mov dword [esp + 0x10], ecx
mov eax, dword [ebx + 0x7c]
dec eax
test eax, eax
jl 0x5905fcd5
mov ecx, dword [esp + 0x44]
lea ebp, [ebx + 0x78]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x10]
lea edx, [ecx + edx + 0x98]
mov ecx, dword [ebp]
mov dword [esp + 0x1c], edx
lea edx, [eax + eax*4]
shl edx, 3
sub edx, eax
mov dword [esp + 0x20], ecx
lea esi, [ecx + edx*8 + 0x98]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x1c]
mov ecx, 4
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x5905fccc
mov esi, dword [esp + 0x14]
dec eax
sub esi, 0x138
test eax, eax
mov dword [esp + 0x14], esi
jge 0x5905fca8
jmp 0x5905fcd5
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x5905fd0d
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x10]
mov esi, edi
add esi, dword [ebp]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x130], eax
mov esi, dword [ebp]
mov ecx, dword [ebx + 0x7c]
mov eax, edi
lea ebp, [ebx + 0x78]
add eax, esi
push eax
push ecx
mov ecx, ebp
call fcn.59060850
mov esi, dword [ebx + 0x7c]
dec esi
jmp 0x5905fdd3
lea ebx, [eax + eax*4]
shl ebx, 3
sub ebx, eax
shl ebx, 3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
mov dword [ecx + ebx + 0x130], eax
mov eax, dword [esp + 0x44]
mov edx, dword [ebp]
mov ecx, dword [eax]
mov eax, dword [ebx + edx + 0x128]
lea esi, [ebx + edx]
mov edx, dword [edi + ecx + 0x12c]
add edx, dword [esi + 0x12c]
push edx
push eax
call fcn.5908a3a2
mov ecx, dword [esp + 0x4c]
mov dword [esi + 0x128], eax
mov edx, dword [ecx]
mov ecx, dword [ebp]
mov esi, dword [edi + edx + 0x128]
lea eax, [edi + edx]
mov edi, dword [ebx + ecx + 0x12c]
lea edx, [ebx + ecx]
mov ecx, dword [eax + 0x12c]
mov eax, dword [edx + 0x128]
mov edx, ecx
add edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
mov esi, dword [ebx + eax + 0x12c]
lea ebx, [ebx + eax + 0x12c]
mov eax, dword [esp + 0x18]
mov edx, dword [eax + edx + 0x12c]
add esi, edx
mov dword [ebx], esi
mov ecx, dword [ecx]
mov edx, dword [eax + ecx + 0x128]
push edx
call fcn.59087a86
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [ebp]
lea edi, [esi + esi*4]
shl edi, 3
sub edi, esi
shl edi, 3
add eax, edi
mov ecx, dword [eax + 0x12c]
mov edx, dword [eax + 0x84]
cmp ecx, edx
jl 0x5905fe2f
push eax
mov ecx, ebx
call fcn.5905f5c0
mov eax, dword [ebp + 4]
sub eax, esi
dec eax
je 0x5905fe2c
lea edx, [eax + eax*4]
mov ecx, dword [ebp]
shl edx, 3
sub edx, eax
lea eax, [esi + 1]
shl edx, 3
push edx
lea edx, [eax + eax*4]
shl edx, 3
sub edx, eax
lea eax, [ecx + edx*8]
add ecx, edi
push eax
push ecx
call fcn.59088c50
add esp, 0xc
dec dword [ebp + 4]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
inc eax
mov edx, dword [ecx + 4]
add esi, 0x138
cmp eax, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
jl 0x5905fc6e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, eax
mov eax, dword [ebx + 0x7c]
lea edi, [eax - 1]
test edi, edi
jl 0x5905febc
lea esi, [edi + edi*4]
shl esi, 3
sub esi, edi
shl esi, 3
mov edx, dword [ebx + 0x78]
mov eax, ebp
sub eax, dword [esi + edx + 0x130]
cmp eax, 0x1b7740
jb 0x5905feb1
mov eax, dword [ebx + 0x7c]
sub eax, edi
dec eax
je 0x5905feae
mov ecx, edx
lea edx, [eax + eax*4]
shl edx, 3
sub edx, eax
lea eax, [esi + ecx + 0x138]
shl edx, 3
push edx
add ecx, esi
push eax
push ecx
call fcn.59088c50
add esp, 0xc
dec dword [ebx + 0x7c]
dec edi
sub esi, 0x138
test edi, edi
jge 0x5905fe72
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
call fcn.590b4900
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4