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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x58b36c
push eax
mov dword fs:[0], esp
sub esp, 0xe0
cmp dword [0x6d3b74], 0
push edi
mov edi, ecx
je 0x5050cd
xor eax, eax
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 8], 0
je 0x5050ba
cmp dword [edi + 0xc], 0
je 0x5050ba
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
add ecx, dword [ebp + 8]
add edx, dword [ebp + 0xc]
push ebx
xor ebx, ebx
mov dword [ebp - 0x38], ecx
push esi
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 1
cmp dword [edi + 0x10c], ebx
je 0x50513c
lea eax, [edi + 0x38]
mov esi, eax
mov dword [ebp - 0x6c], eax
lea eax, [esi + 1]
mov dword [ebp - 0x24], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x505113
mov eax, dword [edi + 0x110]
sub esi, dword [ebp - 0x24]
add esi, 2
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], edx
mov ecx, dword [edi + 0x110]
call fcn.00452970
jmp 0x5052ac
lea esi, [edi + 0x38]
mov dword [ebp - 0x6c], esi
cmp byte [esi], bl
je 0x5052f0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [edi + 0x100]
jb 0x5051a6
mov ecx, dword [edi + 0x104]
mov eax, dword [ecx*4 + 0x6af7a4]
mov dword [edi + 0x80], eax
mov eax, dword [ecx*4 + 0x6af7a0]
mov dword [edi + 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x140
mov dword [edi + 0x100], eax
cmp byte [edi + 0x108], bl
jne 0x505197
inc dword [edi + 0x104]
cmp dword [edi + 0x104], 8
jl 0x5051a6
mov dword [edi + 0x104], ebx
mov eax, dword [0x6d9f74]
cmp byte [eax + 0x471], 1
jne 0x5051c3
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5051b7
jmp 0x5052a7
movzx eax, word [edi + 0xfc]
dec eax
cmp eax, 3
ja case.default.0x5051d4
jmp dword [eax*4 + 0x505efc]
mov edx, dword [edi + 0x14]
mov ecx, esi
mov eax, dword [edi + 0x10]
sub edx, 4
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ecx + 1]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x24], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x505200
mov eax, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x24]
dec eax
add edx, dword [ebp + 8]
add ecx, 2
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x84]
or eax, 0xff000000
mov dword [ebp - 0x20], edx
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x20]
push eax
push ecx
push esi
push 7
mov ecx, 0x6d30c8
call fcn.0044b540
jmp 0x5052f0
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x505242
sub esi, ecx
mov ecx, edi
push 1
push esi
push 0
call fcn.005064e0
jmp 0x5052f0
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x505260
sub esi, ecx
mov ecx, edi
push 1
push esi
push 2
call fcn.005064e0
jmp 0x5052f0
lea ecx, [esi + 1]
lea ebx, [ebx]
mov al, byte [esi]
inc esi
test al, al
jne 0x505280
sub esi, ecx
mov ecx, edi
push 1
push esi
push 1
call fcn.005064e0
jmp 0x5052f0
lea ecx, [esi + 1]
lea ebx, [ebx]
mov al, byte [esi]
inc esi
test al, al
jne 0x5052a0
sub esi, ecx
add esi, 2
push 0xb4464646
lea eax, [ebp - 0x38]
mov ecx, 0x6d30c8
push eax
push esi
lea eax, [edi + 0x38]
push eax
movzx eax, word [edi + 0x78]
push eax
call fcn.0044b460
mov eax, dword [edi + 0x7c]
mov ecx, 0x6d30c8
dec dword [ebp - 0x38]
or eax, 0xff000000
dec dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
push esi
lea eax, [edi + 0x38]
push eax
movzx eax, word [edi + 0x78]
push eax
call fcn.0044b460
mov eax, dword [edi + 0x1c]
lea ecx, [edi + 0x88]
mov esi, dword [ebp + 8]
add eax, esi
mov edx, dword [ebp + 0xc]
movss xmm1, dword [0x5981b0]
mov dword [ebp - 0x9c], eax
mov eax, dword [edi + 0x18]
add eax, edx
mov dword [ebp - 0x94], 1
mov dword [ebp - 0x90], 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 0x98], eax
cmp byte [ecx], bl
je 0x5053b5
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x505346
push 0xb4464646
sub esi, edx
lea eax, [ebp - 0x9c]
push eax
movzx eax, word [edi + 0x78]
add esi, 2
push esi
push ecx
push eax
mov ecx, 0x6d30c8
call fcn.0044b460
mov eax, dword [edi + 0x7c]
mov ecx, 0x6d30c8
dec dword [ebp - 0x9c]
or eax, 0xff000000
dec dword [ebp - 0x98]
push eax
lea eax, [ebp - 0x9c]
push eax
push esi
lea eax, [edi + 0x88]
push eax
movzx eax, word [edi + 0x78]
push eax
call fcn.0044b460
movss xmm1, dword [0x5981b0]
mov ebx, 0xf
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [edi + 0x34]
lea ecx, [edi + 0x99]
add eax, esi
mov dword [ebp - 0xb4], 1
mov dword [ebp - 0xbc], eax
mov eax, dword [edi + 0x30]
add eax, edx
mov dword [ebp - 0xb0], 1
cmp byte [ecx], 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 0xb8], eax
je 0x505462
mov esi, ecx
lea edx, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x505400
push 0xb4464646
sub esi, edx
lea eax, [ebp - 0xbc]
push eax
movzx eax, word [edi + 0x78]
add esi, 2
push esi
push ecx
push eax
mov ecx, 0x6d30c8
call fcn.0044b460
mov eax, dword [edi + 0x7c]
mov ecx, 0x6d30c8
dec dword [ebp - 0xbc]
or eax, 0xff000000
dec dword [ebp - 0xb8]
push eax
lea eax, [ebp - 0xbc]
push eax
push esi
lea eax, [edi + 0x99]
push eax
movzx eax, word [edi + 0x78]
push eax
call fcn.0044b460
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp byte [edi + 0xba], 0
lea ecx, [edi + 0xba]
je 0x5054f0
mov eax, dword [edi + 0x20]
add ebx, 0xf
add eax, esi
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x20], eax
mov esi, ecx
mov eax, dword [edi + 0x24]
sub eax, ebx
mov dword [ebp - 0x14], 1
add eax, edx
mov dword [ebp - 0x1c], eax
lea edx, [esi + 1]
lea ecx, [ecx]
mov al, byte [esi]
inc esi
test al, al
jne 0x5054a0
push 0xb4ff00ff
sub esi, edx
lea eax, [ebp - 0x20]
push eax
movzx eax, word [edi + 0x78]
add esi, 2
push esi
push ecx
push eax
mov ecx, 0x6d30c8
call fcn.0044b460
mov eax, dword [edi + 0x7c]
mov ecx, 0x6d30c8
dec dword [ebp - 0x20]
or eax, 0xff000000
dec dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
lea eax, [edi + 0xba]
push eax
movzx eax, word [edi + 0x78]
push eax
call fcn.0044b460
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0xdb]
mov edx, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xac], eax
mov eax, dword [edi + 0x2c]
sub eax, ebx
mov dword [ebp - 0xa4], 1
add eax, dword [ebp + 0xc]
cmp byte [ecx], 0
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa0], 1
je 0x505592
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x505530
push 0xb4d86028
sub esi, edx
lea eax, [ebp - 0xac]
push eax
movzx eax, word [edi + 0x78]
add esi, 2
push esi
push ecx
push eax
mov ecx, 0x6d30c8
call fcn.0044b460
mov eax, dword [edi + 0x7c]
mov ecx, 0x6d30c8
dec dword [ebp - 0xac]
or eax, 0xff000000
dec dword [ebp - 0xa8]
push eax
lea eax, [ebp - 0xac]
push eax
push esi
lea eax, [edi + 0xdb]
push eax
movzx eax, word [edi + 0x78]
push eax
call fcn.0044b460
mov edx, dword [ebp + 8]
add ebx, 0xf
cmp byte [edi + 0x1e8], 0
je 0x50560d
mov esi, dword [edi + 0x1e4]
lea ecx, [edi + 0x1e8]
add esi, edx
mov dword [ebp - 0x18], 1
mov edx, dword [edi + 0x1e0]
lea eax, [ecx + 1]
add ebx, 0xf
mov dword [ebp - 0x14], 1
sub edx, ebx
mov dword [ebp - 0x24], eax
dec edx
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5055d0
mov eax, dword [edi + 0x80]
dec esi
sub ecx, dword [ebp - 0x24]
or eax, 0xff000000
add edx, dword [ebp + 0xc]
add ecx, 2
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], esi
push eax
push ecx
lea eax, [edi + 0x1e8]
mov dword [ebp - 0x1c], edx
push eax
push 9
mov ecx, 0x6d30c8
call fcn.0044b540
cmp byte [edi + 0x15c], 0
lea ecx, [edi + 0x15c]
je 0x505939
push ecx
lea ecx, [ebp - 0xe4]
add ebx, 5
call fcn.00408d60
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 4], 0
test eax, eax
je 0x505921
xor esi, esi
cmp esi, eax
jae 0x505921
push 1
push esi
lea eax, [ebp - 0x10]
mov byte [ebp - 0x10], 0x40
push eax
lea ecx, [ebp - 0xe4]
call fcn.004415d0
push 1
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0xe4]
push esi
lea eax, [ebp - 0x10]
mov byte [ebp - 0x10], 0x26
push eax
call fcn.004415d0
cmp dword [ebp - 0x28], 0
mov dword [ebp - 0x24], eax
jl 0x5057d2
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0xe4]
push 3
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0044b110
push esi
push 0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xe4]
call fcn.0044b110
cmp dword [ebp - 0x3c], 0x10
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.MSVCR120.dll_atoi]
add esp, 4
test eax, eax
je 0x505790
cmp eax, 7
ja 0x505790
push 8
push dword [edi + 0x180]
inc eax
mov dword [ebp - 0xc0], 0x3f800000
push eax
mov ecx, 0x6d38a0
mov dword [ebp - 0xc4], 0x3f800000
call fcn.004583a0
mov ecx, dword [edi + 0x180]
movd xmm1, dword [ebp + 8]
cvtdq2ps xmm1, xmm1
push 0xffffffffffffffff
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
add eax, 0xfffffffb
add ebx, eax
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 8]
subss xmm1, dword [0x598510]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
mov eax, dword [edi + 0x158]
cvtdq2ps xmm0, xmm0
sub eax, ebx
add eax, dword [ebp + 0xc]
movss dword [ebp - 0xec], xmm0
movd xmm0, eax
lea eax, [ebp - 0xec]
push eax
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
lea eax, [ebp - 0xc4]
push 0
push eax
movss dword [ebp - 0xe8], xmm0
call fcn.0044e530
add esi, 2
cmp dword [ebp - 0x70], 0x10
jb 0x5057a7
push dword [ebp - 0x84]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x3c], 0x10
mov dword [ebp - 0x70], 0xf
mov dword [ebp - 0x74], 0
mov byte [ebp - 0x84], 0
mov byte [ebp - 4], 0
jb 0x505912
push dword [ebp - 0x50]
jmp 0x50590a
test eax, eax
js 0x505912
push 3
inc eax
lea ecx, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0044b110
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x50]
push esi
push 0
push eax
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 3
call fcn.0044b110
cmp dword [ebp - 0x70], 0x10
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.MSVCR120.dll_atoi]
add esp, 4
test eax, eax
je 0x5058d4
cmp eax, 7
ja 0x5058d4
push 8
push dword [edi + 0x180]
add eax, 8
mov dword [ebp - 0x14], 0x3f800000
push eax
mov ecx, 0x6d38a0
mov dword [ebp - 0x18], 0x3f800000
call fcn.004583a0
mov ecx, dword [edi + 0x180]
movd xmm1, dword [ebp + 8]
cvtdq2ps xmm1, xmm1
push 0xffffffffffffffff
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
add eax, 0xfffffffb
add ebx, eax
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 8]
subss xmm1, dword [0x598510]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
mov eax, dword [edi + 0x158]
cvtdq2ps xmm0, xmm0
sub eax, ebx
add eax, dword [ebp + 0xc]
movss dword [ebp - 0x60], xmm0
movd xmm0, eax
lea eax, [ebp - 0x60]
push eax
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
lea eax, [ebp - 0x18]
push 0
push eax
movss dword [ebp - 0x5c], xmm0
call fcn.0044e530
add esi, 2
cmp dword [ebp - 0x3c], 0x10
jb 0x5058e8
push dword [ebp - 0x50]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [ebp - 0x70], 0x10
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
mov byte [ebp - 0x50], 0
mov byte [ebp - 4], 0
jb 0x505912
push dword [ebp - 0x84]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
test esi, esi
js 0x505921
mov eax, dword [ebp - 0xd4]
jmp 0x505646
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], 0xffffffff
call fcn.0052cf60
lea ecx, [edi + 0x15c]
cmp byte [edi + 0x130], 0
je 0x5059bb
cmp byte [ecx], 0
jne 0x50594c
add ebx, 0xe
jmp 0x50594f
add ebx, 7
mov edx, dword [edi + 0x12c]
lea ecx, [edi + 0x130]
mov esi, dword [edi + 0x128]
lea eax, [ecx + 1]
sub edx, ebx
mov dword [ebp - 0x18], 1
dec esi
mov dword [ebp - 0x14], 1
dec edx
mov dword [ebp - 0x24], eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x505980
sub ecx, dword [ebp - 0x24]
add esi, dword [ebp + 8]
add edx, dword [ebp + 0xc]
push 0xff0a0a0a
lea eax, [ecx + 2]
mov dword [ebp - 0x20], esi
push 0xf0fafafa
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x1c], edx
push ecx
push eax
lea eax, [edi + 0x130]
mov ecx, 0x6d30c8
push eax
push 0xe
call fcn.0044b540
cmp byte [edi + 0x1b4], 0
lea ecx, [edi + 0x1b4]
je 0x505a54
mov eax, dword [edi + 0x1ac]
add ebx, 9
add eax, dword [ebp + 8]
mov esi, ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
add edx, 0xfffffffe
mov eax, dword [edi + 0x1b0]
sub eax, ebx
mov dword [ebp - 0x18], 1
add eax, edx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x1c], eax
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x505a03
push 0xb4464646
sub esi, edx
lea eax, [ebp - 0x20]
push eax
movzx eax, word [edi + 0x78]
add esi, 2
push esi
push ecx
push eax
mov ecx, 0x6d30c8
call fcn.0044b460
dec dword [ebp - 0x20]
lea eax, [ebp - 0x20]
dec dword [ebp - 0x1c]
mov ecx, 0x6d30c8
push 0xb4ffffff
push eax
push esi
lea eax, [edi + 0x1b4]
push eax
movzx eax, word [edi + 0x78]
push eax
call fcn.0044b460
add ebx, 5
jmp 0x505a57
add ebx, 2
cmp dword [edi + 4], 0
je 0x505cf0
lea ecx, [ebp - 0x58]
inc ebx
call fcn.0044e4b0
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 5
mov dword [ebp - 0x54], 0
call fcn.0044e4b0
xor eax, eax
mov byte [ebp - 4], 6
xorps xmm0, xmm0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x24], eax
movdqu xmmword [ebp - 0xcc], xmm0
cmp dword [edi + 0x184], eax
je 0x505ac8
push 8
lea eax, [ebp - 0x58]
mov ecx, 0x6d38a0
push eax
push 0x1d
call fcn.004583a0
push 8
lea eax, [ebp - 0x8c]
push eax
push 0x6b
jmp 0x505aea
cmp dword [edi + 0x188], eax
je 0x505ada
push 8
lea eax, [ebp - 0x58]
push eax
push 0x1e
jmp 0x505aea
cmp dword [edi + 0x18c], eax
je 0x505af4
push 8
lea eax, [ebp - 0x58]
push eax
push 0x1f
mov ecx, 0x6d38a0
call fcn.004583a0
lea eax, [edi + 0x190]
xor esi, esi
mov dword [ebp - 0x28], eax
nop
cmp dword [eax], 0
je 0x505b3a
push 8
lea eax, [ebp - 0x58]
mov dword [ebp - 0x24], 1
push eax
push 0x20
mov ecx, 0x6d38a0
call fcn.004583a0
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0xcc]
push 0x5948a8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp - 0x28]
add esp, 0xc
inc esi
add eax, 4
mov dword [ebp - 0x28], eax
cmp esi, 5
jl 0x505b00
cmp dword [ebp - 0x54], 0
mov esi, dword [ebp + 0xc]
je 0x505bb7
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x4c]
mov ecx, dword [ebp + 8]
add eax, 0xfffffffe
add ebx, eax
mov dword [ebp - 0x5c], 0x3f800000
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
cdq
sub eax, edx
mov dword [ebp - 0x60], 0x3f800000
sar eax, 1
sub ecx, eax
mov eax, dword [edi + 0x1a8]
dec ecx
sub eax, ebx
add eax, esi
push 0xffffffffffffffff
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x18], xmm0
movd xmm0, eax
lea eax, [ebp - 0x18]
push eax
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
lea eax, [ebp - 0x60]
push 0
push eax
lea ecx, [ebp - 0x58]
movss dword [ebp - 0x14], xmm0
call fcn.0044e530
cmp dword [ebp - 0x88], 0
je 0x505c2c
mov eax, dword [ebp - 0x78]
sub eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 8]
dec eax
add ebx, eax
mov dword [ebp - 0x5c], 0x3f800000
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x84]
cdq
sub eax, edx
mov dword [ebp - 0x60], 0x3f800000
sar eax, 1
sub ecx, eax
mov eax, dword [edi + 0x1a8]
dec ecx
sub eax, ebx
add eax, esi
push 0xffffffffffffffff
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x18], xmm0
movd xmm0, eax
lea eax, [ebp - 0x18]
push eax
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
lea eax, [ebp - 0x60]
push 0
push eax
lea ecx, [ebp - 0x8c]
movss dword [ebp - 0x14], xmm0
call fcn.0044e530
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x505cd2
mov eax, dword [edi + 0x1d8]
add esi, 3
add eax, dword [ebp + 8]
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x5a3664]
cvttss2si eax, xmm0
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x1dc]
sub eax, ebx
add eax, esi
lea esi, [ebp - 0xcc]
mov dword [ebp - 0x1c], eax
lea ecx, [esi + 1]
lea ecx, [ecx]
mov al, byte [esi]
inc esi
test al, al
jne 0x505c80
push 0xb4464646
sub esi, ecx
lea eax, [ebp - 0x20]
push eax
add esi, 2
lea eax, [ebp - 0xcc]
push esi
push eax
movzx eax, word [edi + 0x78]
mov ecx, 0x6d30c8
push eax
call fcn.0044b460
dec dword [ebp - 0x20]
lea eax, [ebp - 0x20]
dec dword [ebp - 0x1c]
mov ecx, 0x6d30c8
push 0xb4ffffff
push eax
push esi
lea eax, [ebp - 0xcc]
push eax
movzx eax, word [edi + 0x78]
push eax
call fcn.0044b460
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 5
call fcn.0044e4e0
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.0044e4e0
cmp dword [0x6e9820], 0
jne 0x505e2d
cmp word [edi + 0x114], 0
je 0x505ee3
mov eax, dword [0x6d9f74]
mov al, byte [eax + 0x518]
test al, al
jne 0x505ee3
mov eax, dword [edi + 0x124]
add ebx, 0x14
test eax, eax
je 0x505ee3
cmp dword [eax + 4], 1
jle 0x505d9d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [edi + 0x11c]
jb 0x505d9d
mov esi, dword [edi + 0x124]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x14]
add ecx, 0x1e
add eax, ecx
mov ecx, dword [edi + 0x118]
mov dword [edi + 0x11c], eax
mov eax, dword [esi + 4]
dec eax
cmp ecx, eax
jl 0x505d75
mov dword [edi + 0x120], 1
cmp dword [edi + 0x120], 0
jne 0x505d89
lea eax, [ecx + 1]
mov dword [edi + 0x118], eax
jmp 0x505d9d
mov dword [edi + 0x118], 0
mov dword [edi + 0x120], 0
lea ecx, [ebp - 0x58]
call fcn.0044e4b0
push 0
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 7
push eax
mov eax, dword [edi + 0x124]
mov ecx, 0x6d38a0
mov eax, dword [eax + 8]
add eax, dword [edi + 0x118]
push eax
call fcn.004583a0
mov ecx, dword [edi + 0x124]
push 0xffffffffffffffff
mov eax, dword [ecx + 0xc]
cdq
sub eax, edx
mov edx, dword [ebp + 8]
sar eax, 1
sub edx, eax
mov eax, dword [ebp + 0xc]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x18], xmm0
sub eax, dword [ecx + 0x10]
sub eax, ebx
movd xmm0, eax
lea eax, [ebp - 0x18]
push eax
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
lea ecx, [ebp - 0x58]
push 0
push 0
movss dword [ebp - 0x14], xmm0
call fcn.0044e530
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.0044e4e0
jmp 0x505ee3
cmp byte [edi + 0x204], 0
lea esi, [edi + 0x204]
je 0x505ee3
mov edx, dword [edi + 0x200]
mov ecx, esi
mov eax, dword [edi + 0x1fc]
dec edx
mov edi, dword [ebp + 0xc]
sub eax, ebx
add edi, 0xffffffc8
mov dword [ebp - 0x60], 1
add edi, eax
mov dword [ebp - 0x5c], 1
lea ebx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x505e70
add edx, dword [ebp + 8]
sub ecx, ebx
mov eax, dword [0x6d9f74]
mov dword [ebp - 0x68], edx
add eax, 0x13d
mov dword [ebp - 0x64], edi
lea ebx, [ecx + 2]
mov ecx, dword [ebp - 0x6c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x505eb2
test dl, dl
je 0x505eae
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x505eb2
add ecx, 2
add eax, 2
test dl, dl
jne 0x505e92
xor ecx, ecx
jmp 0x505eb7
sbb ecx, ecx
or ecx, 1
test ecx, ecx
mov edx, 0xff0000
push 0xb40a0a0a
mov eax, 0xffffff
mov ecx, 0x6d30c8
cmove eax, edx
or eax, 0xc8000000
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push esi
push 3
call fcn.0044b540
mov ecx, dword [ebp - 0xc]
mov eax, 1
pop esi
pop ebx
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8