Function at 0x508dbb
Capabilities:
Check for time delay via gettickcount
Enumerate pe sections

Disassembly:
push 0xb8
mov eax, 0x586695
call fcn.0055ddbc
mov edi, ecx
xor ecx, ecx
xor eax, eax
cmp dword [edi + 4], ecx
je 0x509b89
cmp dword [edi + 8], ecx
je 0x509b89
inc eax
cmp dword [edi + 0x104], ecx
je 0x508e81
mov ecx, dword [edi + 0x10]
lea esi, [edi + 0x34]
add ecx, dword [ebp + 8]
mov edx, dword [edi + 0xc]
mov ebx, dword [ebp + 0xc]
add edx, ebx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
lea eax, [esi + 1]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x14], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x508e12
mov eax, dword [edi + 0x108]
sub esi, dword [ebp - 0x14]
add esi, 2
mov dword [eax + 0x42], ecx
mov dword [eax + 0x46], edx
mov ecx, dword [edi + 0x108]
call fcn.004ab987
push 0xb4464646
lea eax, [ebp - 0x50]
mov ecx, 0x6a6118
push eax
push esi
lea eax, [edi + 0x34]
push eax
movzx eax, word [edi + 0x71]
push eax
call fcn.004a61a5
mov eax, dword [edi + 0x75]
mov ecx, 0x6a6118
dec dword [ebp - 0x50]
or eax, 0xff000000
dec dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
push esi
lea eax, [edi + 0x34]
push eax
movzx eax, word [edi + 0x71]
push eax
call fcn.004a61a5
xor ecx, ecx
jmp 0x5091a9
lea ebx, [edi + 0x34]
cmp byte [ebx], cl
je 0x5091a6
cmp word [edi + 0xf5], ax
jne 0x50913a
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x508e9e
sub ecx, edx
lea esi, [ecx + 2]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [edi + 0xf7]
jb 0x508f2e
mov eax, dword [edi + 0xff]
mov eax, dword [eax*4 + 0x5ce834]
mov dword [edi + 0x79], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x258
mov dword [edi + 0xf7], eax
mov al, byte [edi + 0x103]
test al, al
jne 0x508eeb
inc dword [edi + 0xff]
jmp 0x508ef1
dec dword [edi + 0xff]
mov ecx, dword [edi + 0xff]
cmp ecx, 0xe
jl 0x508f15
test al, al
jne 0x508f15
xor ecx, ecx
mov dword [edi + 0xff], 0xd
inc ecx
mov byte [edi + 0x103], cl
jmp 0x508f2e
test ecx, ecx
jg 0x508f2e
xor ecx, ecx
inc ecx
cmp al, cl
jne 0x508f2e
xor eax, eax
mov byte [edi + 0x103], al
mov dword [edi + 0xff], eax
mov ecx, dword [ebp + 8]
xor edx, edx
add ecx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
add eax, dword [ebp + 0xc]
inc edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x30], ecx
mov ecx, ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
lea edx, [ecx + 1]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x2c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x508f72
sub ecx, edx
push ecx
push ebx
push 9
mov ecx, 0x6a6118
call fcn.004a6116
cdq
mov ecx, 0x6a6118
sub eax, edx
sar eax, 1
neg eax
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x79]
or eax, 0xff000000
push eax
lea eax, [ebp - 0x30]
push eax
push esi
push ebx
push 9
call fcn.004a61a5
mov eax, dword [edi + 0x79]
mov ecx, 0x6a6118
inc dword [ebp - 0x24]
or eax, 0xff000000
add dword [ebp - 0x28], 2
inc dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
push ebx
push 9
call fcn.004a61a5
mov eax, dword [edi + 0x79]
mov ecx, 0x6a6118
dec dword [ebp - 0x14]
or eax, 0xff000000
dec dword [ebp - 0x18]
dec dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
push ebx
push 9
call fcn.004a61a5
mov eax, dword [edi + 0x79]
mov ecx, 0x6a6118
inc dword [ebp - 0x14]
or eax, 0xff000000
inc dword [ebp - 0x18]
inc dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
push ebx
push 9
call fcn.004a61a5
mov eax, dword [edi + 0x79]
mov ecx, 0x6a6118
dec dword [ebp - 0x20]
or eax, 0xff000000
inc dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x40]
push eax
push esi
push ebx
push 9
call fcn.004a61a5
mov eax, dword [edi + 0x79]
inc dword [ebp - 0x40]
or eax, 0xff000000
push eax
lea eax, [ebp - 0x30]
push eax
push esi
push ebx
push 9
mov ecx, 0x6a6118
call fcn.004a61a5
mov eax, dword [edi + 0x79]
mov ecx, 0x6a6118
sub dword [ebp - 0x24], 2
or eax, 0xff000000
dec dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
push ebx
push 9
call fcn.004a61a5
mov eax, dword [edi + 0x79]
mov ecx, 0x6a6118
inc dword [ebp - 0x14]
or eax, 0xff000000
inc dword [ebp - 0x18]
inc dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
push ebx
push 9
call fcn.004a61a5
mov eax, dword [edi + 0x79]
mov ecx, 0x6a6118
inc dword [ebp - 0x1c]
or eax, 0xff000000
dec dword [ebp - 0x24]
dec dword [ebp - 0x28]
dec dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x30]
push eax
push esi
push ebx
push 9
call fcn.004a61a5
mov eax, dword [edi + 0x79]
mov ecx, 0x6a6118
inc dword [ebp - 0x2c]
or eax, 0xff000000
dec dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
push esi
push ebx
push 9
call fcn.004a61a5
mov eax, dword [edi + 0x79]
mov ecx, 0x6a6118
add dword [ebp - 0x34], 2
or eax, 0xff000000
add dword [ebp - 0x3c], 2
push eax
lea eax, [ebp - 0x40]
push eax
push esi
push ebx
push 9
call fcn.004a61a5
mov eax, dword [edi + 0x79]
mov ecx, 0x6a6118
sub dword [ebp - 0x40], 2
or eax, 0xff000000
sub dword [ebp - 0x3c], 2
push eax
lea eax, [ebp - 0x40]
push eax
push esi
push ebx
push 9
call fcn.004a61a5
push 0xffffffffffffffff
lea eax, [ebp - 0x50]
push eax
push esi
push ebx
push 9
jmp 0x50919a
mov eax, dword [edi + 0x10]
mov esi, ebx
add eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [edi + 0xc]
add eax, dword [ebp + 0xc]
lea ecx, [esi + 1]
mov dword [ebp - 0x4c], eax
xor eax, eax
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x50915a
push 0xb4464646
sub esi, ecx
lea eax, [ebp - 0x50]
push eax
movzx eax, word [edi + 0x71]
add esi, 2
push esi
push ebx
push eax
mov ecx, 0x6a6118
call fcn.004a61a5
dec dword [ebp - 0x50]
mov eax, dword [edi + 0x75]
dec dword [ebp - 0x4c]
or eax, 0xff000000
push eax
lea eax, [ebp - 0x50]
push eax
movzx eax, word [edi + 0x71]
push esi
push ebx
push eax
mov ecx, 0x6a6118
call fcn.004a61a5
xor ecx, ecx
mov ebx, dword [ebp + 0xc]
cmp dword [0x5ce974], 0
jne 0x5092cf
cmp word [edi + 0x10c], cx
je 0x5092cf
mov eax, dword [edi + 0x11a]
test eax, eax
je 0x5092cf
cmp dword [eax + 2], ecx
je 0x50923d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [edi + 0x112]
jb 0x50923d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x50
xor ecx, ecx
mov dword [edi + 0x112], eax
cmp dword [edi + 0x116], ecx
jne 0x509205
inc dword [edi + 0x10e]
jmp 0x509218
movzx eax, word [edi + 0x10c]
mov dword [edi + 0x10e], eax
mov dword [edi + 0x116], ecx
mov eax, dword [edi + 0x11a]
movzx ecx, word [eax + 6]
movzx eax, word [edi + 0x10c]
dec eax
add eax, ecx
cmp dword [edi + 0x10e], eax
jl 0x50923d
xor ecx, ecx
inc ecx
mov dword [edi + 0x116], ecx
lea ecx, [ebp - 0xb0]
call fcn.004a8889
and dword [ebp - 4], 0
lea eax, [ebp - 0xb0]
push 7
push eax
push dword [edi + 0x10e]
mov ecx, 0x6a6820
call fcn.004b124d
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xa8]
mov esi, dword [edi + 0x11a]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esi + 0x12]
sub ecx, eax
add ecx, dword [ebp + 8]
push 0xffffffffffffffff
movd xmm0, ecx
mov ecx, ebx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x18], xmm0
movzx eax, word [esi + 8]
sub ecx, eax
lea eax, [ebp - 0x18]
push eax
push ecx
and dword [esp], 0
lea eax, [esi + 0xa]
movd xmm0, ecx
lea ecx, [ebp - 0xb0]
cvtdq2ps xmm0, xmm0
push 0
push eax
movss dword [ebp - 0x14], xmm0
call fcn.004a88bd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb0]
call fcn.004a8896
xor ecx, ecx
lea ebx, [edi + 0x81]
mov dword [ebp - 0x14], ecx
cmp byte [ebx], cl
je 0x5094b3
xor edx, edx
inc edx
cmp word [edi + 0xf5], dx
jne 0x50943f
mov ecx, ebx
push 0x11
pop eax
mov dword [ebp - 0x14], eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5092fd
mov esi, dword [ebp + 0xc]
sub ecx, edx
xor edx, edx
lea eax, [ecx + 2]
mov ecx, dword [ebp + 8]
add ecx, dword [edi + 0x18]
mov dword [ebp - 0xc4], eax
mov eax, dword [edi + 0x14]
add eax, 0xffffffef
mov dword [ebp - 0x30], ecx
add eax, esi
mov dword [ebp - 0xa0], ecx
inc edx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x40], ecx
mov ecx, ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
lea edx, [ecx + 1]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x3c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x509364
sub ecx, edx
push ecx
push ebx
push 0xe
mov ecx, 0x6a6118
call fcn.004a6116
cdq
mov ecx, 0x6a6118
sub eax, edx
sar eax, 1
neg eax
inc dword [ebp - 0x34]
inc dword [ebp - 0x38]
inc dword [ebp - 0x40]
push 0xb4464646
mov dword [edi + 0x18], eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xc4]
push ebx
push 0xe
call fcn.004a61a5
inc dword [ebp - 0x3c]
lea eax, [ebp - 0x30]
dec dword [ebp - 0x24]
mov ecx, 0x6a6118
dec dword [ebp - 0x28]
dec dword [ebp - 0x30]
push 0xb4464646
push eax
push dword [ebp - 0xc4]
push ebx
push 0xe
call fcn.004a61a5
inc dword [ebp - 0x2c]
lea eax, [ebp - 0x50]
dec dword [ebp - 0x4c]
mov ecx, 0x6a6118
push 0xb4464646
push eax
push dword [ebp - 0xc4]
push ebx
push 0xe
call fcn.004a61a5
add dword [ebp - 0x44], 2
lea eax, [ebp - 0x50]
add dword [ebp - 0x4c], 2
mov ecx, 0x6a6118
push 0xb4464646
push eax
push dword [ebp - 0xc4]
push ebx
push 0xe
call fcn.004a61a5
mov eax, dword [edi + 0x75]
mov ecx, 0x6a6118
or eax, 0xff000000
push eax
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0xc4]
push ebx
push 0xe
call fcn.004a61a5
xor ecx, ecx
jmp 0x5094b6
mov ecx, dword [ebp + 0xc]
mov esi, ebx
push 0x10
pop eax
mov dword [ebp - 0x14], eax
add ecx, 0xfffffff0
mov eax, dword [edi + 0x18]
add eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [edi + 0x14]
add eax, ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], eax
lea ecx, [esi + 1]
mov dword [ebp - 0x44], edx
mov al, byte [esi]
inc esi
test al, al
jne 0x509467
push 0xb4464646
sub esi, ecx
lea eax, [ebp - 0x50]
push eax
movzx eax, word [edi + 0x71]
add esi, 2
push esi
push ebx
push eax
mov ecx, 0x6a6118
call fcn.004a61a5
mov eax, dword [edi + 0x75]
mov ecx, 0x6a6118
dec dword [ebp - 0x50]
or eax, 0xff000000
dec dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
movzx eax, word [edi + 0x71]
push esi
push ebx
push eax
call fcn.004a61a5
xor ecx, ecx
mov esi, dword [ebp + 0xc]
cmp byte [ebx], 0
je 0x5094d7
cmp byte [edi + 0x92], 0
je 0x5094d7
push ecx
push 0x156
push str.OBalloonName.cpp
call fcn.0040f147
add esp, 0xc
mov eax, dword [edi + 0x30]
lea ecx, [edi + 0x92]
add eax, dword [ebp + 8]
mov dword [ebp - 0x90], eax
mov eax, dword [edi + 0x2c]
add eax, esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, dword [0x5a21dc]
cvttss2si eax, xmm0
mov dword [ebp - 0x8c], eax
xor eax, eax
inc eax
cmp byte [ecx], 0
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
je 0x50957f
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x509520
push 0xb4464646
sub esi, edx
lea eax, [ebp - 0x90]
push eax
movzx eax, word [edi + 0x71]
add esi, 2
push esi
push ecx
push eax
mov ecx, 0x6a6118
call fcn.004a61a5
mov eax, dword [edi + 0x75]
mov ecx, 0x6a6118
dec dword [ebp - 0x90]
or eax, 0xff000000
dec dword [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
push eax
push esi
lea eax, [edi + 0x92]
push eax
movzx eax, word [edi + 0x71]
push eax
call fcn.004a61a5
xor eax, eax
inc eax
cmp byte [ebx], 0
mov ebx, dword [ebp - 0x14]
jne 0x50958a
add ebx, 0x10
lea esi, [edi + 0xb3]
cmp byte [esi], 0
je 0x509b84
cmp word [edi + 0xf5], ax
jne 0x5098aa
mov ecx, esi
add ebx, 0x16
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5095ae
sub ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0xc4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [edi + 0xfb]
jb 0x509644
mov eax, dword [edi + 0xff]
mov eax, dword [eax*4 + 0x5ce86c]
mov dword [edi + 0x7d], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x320
mov dword [edi + 0xfb], eax
mov al, byte [edi + 0x103]
test al, al
jne 0x509601
inc dword [edi + 0xff]
jmp 0x509607
dec dword [edi + 0xff]
mov ecx, dword [edi + 0xff]
cmp ecx, 0xf
jl 0x50962b
test al, al
jne 0x50962b
xor ecx, ecx
mov dword [edi + 0xff], 0xe
inc ecx
mov byte [edi + 0x103], cl
jmp 0x509644
test ecx, ecx
jg 0x509644
xor ecx, ecx
inc ecx
cmp al, cl
jne 0x509644
xor eax, eax
mov byte [edi + 0x103], al
mov dword [edi + 0xff], eax
mov ecx, dword [ebp + 8]
xor edx, edx
add ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
sub eax, ebx
mov dword [ebp - 0x30], ecx
add eax, dword [ebp + 0xc]
inc edx
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x20], ecx
mov ecx, esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
lea edx, [ecx + 1]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x509696
sub ecx, edx
push ecx
push esi
push 0xf
mov ecx, 0x6a6118
call fcn.004a6116
cdq
mov ecx, 0x6a6118
sub eax, edx
sar eax, 1
neg eax
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x7d]
or eax, 0xff000000
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
call fcn.004a61a5
mov eax, dword [edi + 0x7d]
mov ecx, 0x6a6118
inc dword [ebp - 0x24]
or eax, 0xff000000
add dword [ebp - 0x28], 2
inc dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
call fcn.004a61a5
mov eax, dword [edi + 0x7d]
mov ecx, 0x6a6118
dec dword [ebp - 0x14]
or eax, 0xff000000
dec dword [ebp - 0x18]
dec dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
call fcn.004a61a5
mov eax, dword [edi + 0x7d]
mov ecx, 0x6a6118
inc dword [ebp - 0x14]
or eax, 0xff000000
inc dword [ebp - 0x18]
inc dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
call fcn.004a61a5
mov eax, dword [edi + 0x7d]
mov ecx, 0x6a6118
dec dword [ebp - 0x20]
or eax, 0xff000000
inc dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
call fcn.004a61a5
mov eax, dword [edi + 0x7d]
inc dword [ebp - 0x40]
or eax, 0xff000000
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
mov ecx, 0x6a6118
call fcn.004a61a5
mov eax, dword [edi + 0x7d]
mov ecx, 0x6a6118
sub dword [ebp - 0x24], 2
or eax, 0xff000000
dec dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
call fcn.004a61a5
mov eax, dword [edi + 0x7d]
mov ecx, 0x6a6118
inc dword [ebp - 0x14]
or eax, 0xff000000
inc dword [ebp - 0x18]
inc dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
call fcn.004a61a5
mov eax, dword [edi + 0x7d]
mov ecx, 0x6a6118
inc dword [ebp - 0x1c]
or eax, 0xff000000
dec dword [ebp - 0x24]
dec dword [ebp - 0x28]
dec dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
call fcn.004a61a5
mov eax, dword [edi + 0x7d]
mov ecx, 0x6a6118
inc dword [ebp - 0x2c]
or eax, 0xff000000
dec dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
call fcn.004a61a5
mov eax, dword [edi + 0x7d]
mov ecx, 0x6a6118
add dword [ebp - 0x34], 2
or eax, 0xff000000
add dword [ebp - 0x3c], 2
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
call fcn.004a61a5
mov eax, dword [edi + 0x7d]
mov ecx, 0x6a6118
sub dword [ebp - 0x40], 2
or eax, 0xff000000
sub dword [ebp - 0x3c], 2
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
call fcn.004a61a5
push 0xffffffffffffffff
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0xc4]
push esi
push 0xf
mov ecx, 0x6a6118
call fcn.004a61a5
cmp byte [esi], 0
je 0x509b84
xor eax, eax
cmp word [edi + 0xf5], ax
jne 0x509b84
mov ecx, esi
add ebx, 0x16
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5098ca
sub ecx, edx
add ecx, 2
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [edi + 0xfb]
jb 0x50995d
mov eax, dword [edi + 0xff]
mov eax, dword [eax*4 + 0x5ce86c]
mov dword [edi + 0x7d], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x320
mov dword [edi + 0xfb], eax
mov al, byte [edi + 0x103]
test al, al
jne 0x50991a
inc dword [edi + 0xff]
jmp 0x509920
dec dword [edi + 0xff]
mov ecx, dword [edi + 0xff]
cmp ecx, 0xf
jl 0x509944
test al, al
jne 0x509944
xor ecx, ecx
mov dword [edi + 0xff], 0xe
inc ecx
mov byte [edi + 0x103], cl
jmp 0x50995d
test ecx, ecx
jg 0x50995d
xor ecx, ecx
inc ecx
cmp al, cl
jne 0x50995d
xor eax, eax
mov byte [edi + 0x103], al
mov dword [edi + 0xff], eax
mov ecx, dword [ebp + 8]
xor edx, edx
add ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
sub eax, ebx
mov dword [ebp - 0x70], ecx
add eax, dword [ebp + 0xc]
inc edx
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x60], ecx
mov ecx, esi
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], edx
lea edx, [ecx + 1]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x5c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5099af
sub ecx, edx
push ecx
push esi
push 0xf
mov ecx, 0x6a6118
call fcn.004a6116
mov ebx, dword [ebp - 0x14]
mov ecx, 0x6a6118
cdq
sub eax, edx
sar eax, 1
neg eax
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x7d]
or eax, 0xff000000
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push esi
push 0xf
call fcn.004a61a5
mov eax, dword [edi + 0x7d]
mov ecx, 0x6a6118
inc dword [ebp - 0x64]
or eax, 0xff000000
add dword [ebp - 0x68], 2
inc dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push esi
push 0xf
call fcn.004a61a5
mov eax, dword [edi + 0x7d]
mov ecx, 0x6a6118
dec dword [ebp - 0x54]
or eax, 0xff000000
dec dword [ebp - 0x58]
dec dword [ebp - 0x60]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push esi
push 0xf
call fcn.004a61a5
mov eax, dword [edi + 0x7d]
mov ecx, 0x6a6118
inc dword [ebp - 0x54]
or eax, 0xff000000
inc dword [ebp - 0x58]
inc dword [ebp - 0x60]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push esi
push 0xf
call fcn.004a61a5
mov eax, dword [edi + 0x7d]
mov ecx, 0x6a6118
dec dword [ebp - 0x60]
or eax, 0xff000000
inc dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push esi
push 0xf
call fcn.004a61a5
mov eax, dword [edi + 0x7d]
inc dword [ebp - 0x80]
or eax, 0xff000000
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push esi
push 0xf
mov ecx, 0x6a6118
call fcn.004a61a5
mov eax, dword [edi + 0x7d]
mov ecx, 0x6a6118
sub dword [ebp - 0x64], 2
or eax, 0xff000000
dec dword [ebp - 0x6c]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push esi
push 0xf
call fcn.004a61a5
mov eax, dword [edi + 0x7d]
mov ecx, 0x6a6118
inc dword [ebp - 0x54]
or eax, 0xff000000
inc dword [ebp - 0x58]
inc dword [ebp - 0x60]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push esi
push 0xf
call fcn.004a61a5
mov eax, dword [edi + 0x7d]
mov ecx, 0x6a6118
inc dword [ebp - 0x5c]
or eax, 0xff000000
dec dword [ebp - 0x64]
dec dword [ebp - 0x68]
dec dword [ebp - 0x70]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push esi
push 0xf
call fcn.004a61a5
mov eax, dword [edi + 0x7d]
mov ecx, 0x6a6118
inc dword [ebp - 0x6c]
or eax, 0xff000000
dec dword [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push esi
push 0xf
call fcn.004a61a5
mov eax, dword [edi + 0x7d]
mov ecx, 0x6a6118
add dword [ebp - 0x74], 2
or eax, 0xff000000
add dword [ebp - 0x7c], 2
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push esi
push 0xf
call fcn.004a61a5
mov eax, dword [edi + 0x7d]
mov edi, 0x6a6118
sub dword [ebp - 0x80], 2
or eax, 0xff000000
sub dword [ebp - 0x7c], 2
mov ecx, edi
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push esi
push 0xf
call fcn.004a61a5
push 0xffffffffffffffff
lea edx, [ebp - 0xc0]
push edx
push ebx
push esi
push 0xf
mov ecx, edi
call fcn.004a61a5
xor ecx, ecx
lea eax, [ecx + 1]
call fcn.0055dd7a
ret 8