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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5f6e
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0xa37210]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 4], 0
jne 0x51687a
xor eax, eax
jmp 0x5178f3
cmp dword [edi + 8], 0
je 0x516873
mov edx, dword [edi + 0x10]
xor ebx, ebx
mov ecx, dword [edi + 0xc]
add edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
add ecx, esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 1
cmp dword [edi + 0x120], ebx
je 0x516904
lea esi, [edi + 0x3c]
lea eax, [esi + 1]
mov dword [ebp - 0x54], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x5168b8
mov eax, dword [edi + 0x124]
sub esi, dword [ebp - 0x54]
add esi, 2
mov dword [eax + 0x3a], edx
mov dword [eax + 0x3e], ecx
mov ecx, dword [edi + 0x124]
call fcn.004aa480
push 0xb4464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
dec dword [ebp - 0x30]
dec dword [ebp - 0x2c]
jmp 0x516b74
cmp byte [edi + 0x3c], bl
je 0x516fc6
mov eax, dword [0xa6a654]
cmp byte [eax + 0x44f], 1
jne 0x516b9d
lea esi, [edi + 0x3c]
lea eax, [esi + 1]
mov dword [ebp - 0x54], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x516928
sub esi, dword [ebp - 0x54]
lea eax, [ebp - 0x30]
push ecx
push edx
push ecx
push edx
push eax
add esi, 2
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
push ecx
push eax
push ecx
inc eax
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
push ecx
push eax
push ecx
inc eax
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
push ecx
push eax
push ecx
dec eax
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
inc eax
push ecx
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + 1]
push eax
mov eax, dword [ebp - 0x30]
push eax
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
push eax
push ecx
dec eax
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
push eax
push ecx
inc eax
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov edx, dword [ebp - 0x2c]
lea eax, [edx + 1]
push eax
mov ecx, dword [ebp - 0x30]
lea eax, [edx - 1]
push ecx
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
lea eax, [edx + 1]
push eax
push ecx
lea eax, [edx - 1]
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
push eax
push ecx
inc eax
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
push ecx
push eax
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [edi + 0x7e]
mov ecx, 0x7e5c40
or eax, 0xff000000
push eax
lea eax, [ebp - 0x30]
push eax
push esi
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov esi, dword [ebp + 0xc]
jmp 0x516fc6
lea ecx, [edi + 0x3c]
lea eax, [ecx + 1]
mov dword [ebp - 0x54], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x516ba6
sub ecx, dword [ebp - 0x54]
cmp word [edi + 0xf6], 1
lea eax, [ecx + 2]
mov dword [ebp - 0x54], eax
jne 0x516d4b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [edi + 0xf8]
jb 0x516d22
push 0x20
call fcn.0057b17d
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x516bf7
mov ecx, eax
call fcn.004a6b80
jmp 0x516bf9
xor eax, eax
push 0
push eax
push 0xe9
mov ecx, 0xa66ad0
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x106], eax
call fcn.004b01a0
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp + 8]
add eax, 0xc
add eax, ecx
push 0xffffffffffffffff
movd xmm0, eax
mov eax, dword [edi + 0xc]
cvtdq2ps xmm0, xmm0
add eax, 0xfffffff5
add eax, esi
movss dword [ebp - 0x64], xmm0
movd xmm0, eax
lea eax, [ebp - 0x64]
push eax
push ecx
mov ecx, dword [edi + 0x106]
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
push 0
push 0
movss dword [ebp - 0x60], xmm0
call fcn.004a6bd0
push 0x20
call fcn.0057b17d
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x516c81
mov ecx, eax
call fcn.004a6b80
jmp 0x516c83
xor eax, eax
push 0
push eax
push 0xea
mov ecx, 0xa66ad0
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x102], eax
call fcn.004b01a0
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp + 8]
add eax, 0xffffffe9
add eax, ecx
push 0xffffffffffffffff
movd xmm0, eax
mov eax, dword [edi + 0xc]
cvtdq2ps xmm0, xmm0
add eax, 0xfffffff5
add eax, esi
movss dword [ebp - 0x18], xmm0
movd xmm0, eax
lea eax, [ebp - 0x18]
push eax
push ecx
mov ecx, dword [edi + 0x102]
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
push 0
push 0
movss dword [ebp - 0x14], xmm0
call fcn.004a6bd0
mov al, byte [edi + 0x100]
test al, al
jne 0x516cfc
inc dword [edi + 0xfc]
jmp 0x516d02
dec dword [edi + 0xfc]
mov ecx, dword [edi + 0xfc]
cmp ecx, 0xa
jl 0x516d2a
test al, al
jne 0x516d2a
mov byte [edi + 0x100], 1
mov dword [edi + 0xfc], 9
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
jmp 0x516d4e
test ecx, ecx
jg 0x516d22
cmp al, 1
jne 0x516d22
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov byte [edi + 0x100], 0
mov dword [edi + 0xfc], 0
jmp 0x516d4e
mov eax, dword [ebp - 0x58]
push eax
push edx
push eax
push edx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push dword [ebp - 0x54]
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
push ecx
push eax
push ecx
inc eax
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push dword [ebp - 0x54]
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
push ecx
push eax
push ecx
inc eax
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push dword [ebp - 0x54]
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
push ecx
push eax
push ecx
dec eax
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push dword [ebp - 0x54]
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
push eax
push ecx
inc eax
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push dword [ebp - 0x54]
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + 1]
push eax
mov eax, dword [ebp - 0x30]
push eax
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push dword [ebp - 0x54]
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
push eax
push ecx
dec eax
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push dword [ebp - 0x54]
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
push eax
push ecx
inc eax
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push dword [ebp - 0x54]
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
lea eax, [edx + 1]
push eax
push ecx
lea eax, [edx - 1]
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push dword [ebp - 0x54]
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
lea eax, [edx + 1]
push eax
push ecx
lea eax, [edx - 1]
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push dword [ebp - 0x54]
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
push eax
push ecx
inc eax
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x30]
mov ecx, 0x7e5c40
push eax
push dword [ebp - 0x54]
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
push ecx
push eax
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [edi + 0x7e]
mov ecx, 0x7e5c40
or eax, 0xff000000
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x54]
lea eax, [edi + 0x3c]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
cmp byte [edi + 0x82], 0
lea eax, [edi + 0x82]
je 0x5172eb
push 0
push 0x200
mov ecx, 0xa68d50
call fcn.004f97f0
test eax, eax
jne 0x5172bf
mov ecx, dword [edi + 0x18]
lea ebx, [eax + 1]
add ecx, dword [ebp + 8]
mov eax, dword [edi + 0x14]
add eax, esi
mov dword [ebp - 0x20], ecx
lea esi, [edi + 0x82]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
movd xmm0, eax
lea eax, [esi + 1]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x58], eax
subss xmm0, dword [0x5b6910]
cvttss2si edx, xmm0
mov dword [ebp - 0x1c], edx
jmp 0x517030
mov al, byte [esi]
inc esi
test al, al
jne 0x517030
sub esi, dword [ebp - 0x58]
lea eax, [ebp - 0x20]
push edx
push ecx
push edx
push ecx
push eax
add esi, 2
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x82]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push ecx
push eax
push ecx
inc eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x82]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push ecx
push eax
push ecx
inc eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x82]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push ecx
push eax
push ecx
dec eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x82]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
inc eax
push ecx
push eax
push ecx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x82]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + 1]
push eax
mov eax, dword [ebp - 0x20]
push eax
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x82]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push ecx
dec eax
push eax
push ecx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x82]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push eax
push ecx
inc eax
push eax
push ecx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x82]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov edx, dword [ebp - 0x1c]
lea eax, [edx + 1]
push eax
mov ecx, dword [ebp - 0x20]
lea eax, [edx - 1]
push ecx
push eax
push ecx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x82]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
lea eax, [edx + 1]
push eax
push ecx
lea eax, [edx - 1]
push eax
push ecx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x82]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push eax
push ecx
inc eax
push eax
push ecx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x82]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push ecx
push eax
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0xff0082
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0x82]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
cmp byte [edi + 0x82], 0
lea eax, [edi + 0x82]
je 0x5172eb
cmp byte [edi + 0x93], 0
je 0x5172eb
push 0
push 0x15c
push str.OBalloonName.cpp
call fcn.00412d00
add esp, 0xc
cmp byte [edi + 0x93], 0
lea esi, [edi + 0x93]
je 0x5173b6
push 0
push 0x200
mov ecx, 0xa68d50
call fcn.004f97f0
test eax, eax
jne 0x5173b6
mov eax, dword [edi + 0x30]
lea ecx, [esi + 1]
add eax, dword [ebp + 8]
inc ebx
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x2c]
add eax, dword [ebp + 0xc]
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 1
movd xmm1, eax
mulss xmm0, dword [0x5b8d68]
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [ebp - 0x1c], eax
lea esp, [esp]
mov al, byte [esi]
inc esi
test al, al
jne 0x517360
push 0xb4464646
sub esi, ecx
lea eax, [ebp - 0x20]
push eax
add esi, 2
lea eax, [edi + 0x93]
push esi
push eax
movzx eax, word [edi + 0x7a]
mov ecx, 0x7e5c40
push eax
call fcn.004a3c90
mov eax, dword [edi + 0x7e]
mov ecx, 0x7e5c40
dec dword [ebp - 0x20]
or eax, 0xff000000
dec dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
lea eax, [edi + 0x93]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
cmp byte [edi + 0xb4], 0
lea esi, [edi + 0xb4]
je 0x5176b4
push 0
push 0x200
mov ecx, 0xa68d50
call fcn.004f97f0
test eax, eax
jne 0x5176b4
mov ecx, dword [edi + 0x1c]
inc ebx
add ecx, dword [ebp + 8]
mov eax, dword [edi + 0x20]
add eax, dword [ebp + 0xc]
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 1
movd xmm1, eax
lea eax, [esi + 1]
mulss xmm0, dword [0x5bc2e0]
mov dword [ebp - 0x58], eax
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
cvttss2si edx, xmm1
mov dword [ebp - 0x1c], edx
mov al, byte [esi]
inc esi
test al, al
jne 0x517427
sub esi, dword [ebp - 0x58]
lea eax, [ebp - 0x20]
push edx
push ecx
push edx
push ecx
push eax
add esi, 2
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0xb4]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push ecx
push eax
push ecx
inc eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0xb4]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push ecx
push eax
push ecx
inc eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0xb4]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push ecx
push eax
push ecx
dec eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0xb4]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
inc eax
push ecx
push eax
push ecx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0xb4]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + 1]
push eax
mov eax, dword [ebp - 0x20]
push eax
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0xb4]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push eax
push ecx
dec eax
push eax
push ecx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0xb4]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push eax
push ecx
inc eax
push eax
push ecx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0xb4]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov edx, dword [ebp - 0x1c]
lea eax, [edx + 1]
push eax
mov ecx, dword [ebp - 0x20]
lea eax, [edx - 1]
push ecx
push eax
push ecx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0xb4]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
lea eax, [edx + 1]
push eax
push ecx
lea eax, [edx - 1]
push eax
push ecx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0xb4]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push eax
push ecx
inc eax
push eax
push ecx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0x464646
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0xb4]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push ecx
push eax
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0xffff0098
lea eax, [ebp - 0x20]
mov ecx, 0x7e5c40
push eax
push esi
lea eax, [edi + 0xb4]
push eax
movzx eax, word [edi + 0x7a]
push eax
call fcn.004a3c90
mov eax, dword [edi + 0x11c]
cmp eax, 0x3e7
jbe 0x5176c8
mov esi, 0x18
jmp 0x5176e3
cmp eax, 0x63
jbe 0x5176d4
mov esi, 0x12
jmp 0x5176e3
mov ecx, 9
cmp ecx, eax
sbb esi, esi
and esi, 6
add esi, 6
mov dl, byte [edi + 0x10a]
lea ecx, [edi + 0x10a]
test dl, dl
je 0x5177b8
mov eax, dword [0x6d1224]
cmp byte [eax + 0xa58eb8], 0
jne 0x51772c
test dl, dl
je 0x5177b8
push 0
push 0x200
mov ecx, 0xa68d50
call fcn.004f97f0
test eax, eax
je 0x5177b8
lea ecx, [edi + 0x10a]
mov eax, dword [edi + 0x38]
inc ebx
sub eax, esi
mov dword [ebp - 0x18], 1
add eax, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x34]
add eax, dword [ebp + 0xc]
movd xmm0, ebx
lea edx, [esi + 1]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x14], 1
movd xmm1, eax
mulss xmm0, dword [0x5bc2e4]
cvtdq2ps xmm1, xmm1
subss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [ebp - 0x1c], eax
mov al, byte [esi]
inc esi
test al, al
jne 0x517772
push 0xb4141414
sub esi, edx
lea eax, [ebp - 0x20]
push eax
add esi, 2
push esi
push ecx
push 0xb
mov ecx, 0x7e5c40
call fcn.004a3c90
dec dword [ebp - 0x20]
lea eax, [ebp - 0x20]
dec dword [ebp - 0x1c]
mov ecx, 0x7e5c40
push 0xffff0000
push eax
push esi
lea eax, [edi + 0x10a]
push eax
push 0xb
call fcn.004a3c90
cmp word [edi + 0x128], 0
je 0x5178ee
cmp dword [0x8c93c4], 0
jne 0x5178ee
mov eax, dword [edi + 0x136]
test eax, eax
je 0x5178ee
cmp dword [eax + 2], 0
je 0x517850
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp eax, dword [edi + 0x12e]
jb 0x517850
call esi
add eax, 0x50
cmp dword [edi + 0x132], 0
mov dword [edi + 0x12e], eax
jne 0x517813
inc dword [edi + 0x12a]
jmp 0x51782a
movzx eax, word [edi + 0x128]
mov dword [edi + 0x12a], eax
mov dword [edi + 0x132], 0
mov eax, dword [edi + 0x136]
movzx ecx, word [eax + 6]
movzx eax, word [edi + 0x128]
dec eax
add eax, ecx
cmp dword [edi + 0x12a], eax
jl 0x517850
mov dword [edi + 0x132], 1
lea ecx, [ebp - 0x50]
call fcn.004a6b80
push 7
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 2
push eax
push dword [edi + 0x12a]
mov ecx, 0xa66ad0
call fcn.004b01a0
mov eax, dword [ebp - 0x40]
inc ebx
sub eax, dword [ebp - 0x48]
mov esi, dword [edi + 0x136]
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, dword [ebp + 0xc]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x5c], xmm0
movzx eax, word [esi + 8]
sub ecx, eax
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
lea eax, [ebp - 0x5c]
push eax
lea eax, [esi + 0xa]
push ecx
movd xmm1, ecx
lea ecx, [ebp - 0x50]
mulss xmm0, dword [0x5b8d68]
mov dword [esp], 0
cvtdq2ps xmm1, xmm1
push 0
push eax
subss xmm1, xmm0
movss dword [ebp - 0x58], xmm1
call fcn.004a6bd0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.004a6b90
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057b964
mov esp, ebp
pop ebp
ret 8